Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ramcode/ClusteringAlgorithms-DataMining

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClusteringAlgorithms-DataMining Project2

Step to run Project Components

Part-1: Running Clustering Algorithms

  1. Extract project2.jar from Project.zip to any location on your system.
  2. create data folder in same directory as project2.jar and add data files you want to run(ex cho.txt, iyer.txt)
  3. Give the following commands to run specific clustering algorithm
    1. KMeans java -cp project2.jar com.ub.cse601.project2.run.RunKMeans
    2. Hierarchical Clustering java -cp project2.jar com.ub.cse601.project2.run.RunHierarchialClustering
    3. DBScan java -cp project2.jar com.ub.cse601.project2.run.RunDBScan

Part-2: Running KMeans Map Reduce

  1. Follow steps 1 and 2 from part1.
  2. create two new folders input and centroids inside data folder created in above step.
  3. Give the following commands to run KMeans MR java -cp project2.jar com.ub.cse601.project2.run.RunKMeansMR
  4. Once MR Jobs are successful, Centroids folder contains inital centroid file used for MR(centroids_0.txt) as well as all intermediate centroid files used in each iteration of MR job(centroid_1.txt, centroid_2.txt, ....). The last centroid file generated is the final converged centroid file.
  5. Finally, output folder contains final output generated from MR jobs, which contains final centroids and their respective cluster data points assigned to.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.