Update dbscan.py with annotation for dict1

This commit is contained in:
tkgowtham 2024-10-02 20:12:01 +05:30 committed by GitHub
parent 3fa1d18426
commit 94caecf36e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,7 +124,7 @@ class DbScan:
else:
data = pd.DataFrame(list(self.file))
e = self.radius
dict1 = {}
dict1: dict[int, list[int]] = {}
for i in range(len(data)):
for j in range(len(data)):
dist = math.sqrt(