Comments (1)
This is a test case:
double[][] pts = new double[][] {
{39.3747, -120.032},
{32.2699, -110.9853},
{39.5111, -119.9575},
{32.2699, -110.9853},
{39.4725, -119.9981},
{32.2699, -110.9853},
{39.3885, -120.0248},
{32.2699, -110.9853},
{39.4725, -119.9984},
{32.2699, -110.9853},
{39.4731, -119.9977},
{32.2699, -110.9853},
{39.3769, -120.071},
{32.2699, -110.9853},
{39.389, -120.0248}
};
Array2DRowRealMatrix matrix = new Array2DRowRealMatrix(pts);
new HDBSCANParameters(2).setMinClustSize(2).fitNewModel(matrix).getLabels
throws:
java.lang.NullPointerException
at com.clust4j.algo.HDBSCAN.doLabeling(HDBSCAN.java:1327)
at com.clust4j.algo.HDBSCAN.getLabels(HDBSCAN.java:1602)
at com.clust4j.algo.HDBSCAN.treeToLabels(HDBSCAN.java:1653)
at com.clust4j.algo.HDBSCAN.fit(HDBSCAN.java:1366)
at com.clust4j.algo.HDBSCANParameters.fitNewModel(HDBSCANParameters.java:50)
from clust4j.
Related Issues (17)
- KMedoids kernel support HOT 1
- Automate javadoc hosting with gh-pages
- changing Distance has no effect HOT 1
- ImageJ plugin using clust4j
- New function add question in algorithm HDBSCAN: allow_single_cluster=True
- Why is this repository so great?
- the haversine distance is no use for DBScan when Dimension <= 15000
- Hey I need help in one of the statements
- 2d data
- Weigh points
- cashed when i try a data set with 80k features HOT 6
- Boolean dissimilarity bug HOT 1
- LabelEncoder for noisey clustering algos HOT 1
- Laplacian issue
- Is this library available in Maven Central or Bintray JCenter HOT 4
- Is there anyway by which I can pass my own distance matrix ? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clust4j.