apple / turicreate

Turi Create simplifies the development of custom machine learning models.
BSD 3-Clause "New" or "Revised" License
11.2k stars 1.14k forks source link

Feature request: dbscan has no predict() or classify() method #1896

Open dbickson opened 5 years ago

dbickson commented 5 years ago

It seems we can build a dbscan.create() model on training data but there is no way to classify test data into the precomputed clusters. It will be nice to have a classify() method, that for each point in the test data returns either the closest core cluster, or a boundary condition where the point is between core clusters, or a noise indication that the point is anomalous not near any core cluster.

TobyRoseman commented 4 years ago

At the very least DBSCANModel should have a predict method (like KmeansModel). Without a predict method, the usefulness of our dbscan toolkit seems very limited.