aboutsummaryrefslogtreecommitdiff
path: root/Fundamentals_of_Accelerated_Data_Science/3-03_dbscan.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Fundamentals_of_Accelerated_Data_Science/3-03_dbscan.ipynb')
-rw-r--r--Fundamentals_of_Accelerated_Data_Science/3-03_dbscan.ipynb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Fundamentals_of_Accelerated_Data_Science/3-03_dbscan.ipynb b/Fundamentals_of_Accelerated_Data_Science/3-03_dbscan.ipynb
index e27f31e..73ba070 100644
--- a/Fundamentals_of_Accelerated_Data_Science/3-03_dbscan.ipynb
+++ b/Fundamentals_of_Accelerated_Data_Science/3-03_dbscan.ipynb
@@ -131,7 +131,7 @@
"metadata": {},
"outputs": [],
"source": [
- "dbscan = cuml.DBSCAN(<<<<FIXME>>>>)"
+ "dbscan = cuml.DBSCAN(eps=10000)"
]
},
{
@@ -141,7 +141,7 @@
"outputs": [],
"source": [
"infected_df = gdf[gdf['infected'] == 1].reset_index()\n",
- "infected_df['cluster'] = dbscan.<<<<FIXME>>>>(infected_df[['northing', 'easting']])\n",
+ "infected_df['cluster'] = dbscan.fit_predict(infected_df[['northing', 'easting']])\n",
"infected_df['cluster'].nunique()"
]
},