zhihuawang / dbscan Goto Github PK
View Code? Open in Web Editor NEWThis project forked from siddharth-agrawal/dbscan
This project forked from siddharth-agrawal/dbscan
You will have to compile the DBSCAN.c file to get the executable. The DBSCAN.h header file contains all the parameters that you need to define i.e. no. of features, dataset size, epsilon and minimum points. For reduced computation time, I have taken epsilon to be the squared distance, and thus depending on your dataset you may have to change the datatype of 'distance' to long long int wherever I have used it locally. While running the code, mention the data filename as an argument. Also the format in which I have assumed the data to be in is as follows: point1(n features separated by spaces) point2(...) . . . . pointm(...) On running the code the output will be in a file called "prediction.txt". There will be dataset_size no. of values in the file. A value of 0 says that the corresponding point in your dataset does not belong to a cluster, whereas any positive value mentions the cluster no. to which it belongs. I have attached an example input file called "data.txt" and also the corresponding output.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.