Giter VIP home page Giter VIP logo

k_means_with_mllib's Introduction

K-means Clustering with MLlib

K-means clustering is a very popular algorithm used for clustering data. This extension uses the PySpark MLlib implementation of this algorithm. In order to run K-means clustering, you need to specify the number of clusters you want. This can be determined using domain knowledge about your dataset or through trial and error of evaluating different cluster parameters.

Learn more about this implementation from the MLlib Documentation

Stream


Requirements

More information here: IBM Predictive Extensions


Installation Instructions

Initial one-time set-up for PySpark Extensions

If using v18.0 of SPSS Modeler, navigate to the options.cfg file (Windows default path: C:\Program Files\IBM\SPSS\Modeler\18.0\config). Open this file in a text editor and paste the following text at the bottom of the document:

eas_pyspark_python_path, "C:/Users/IBM_ADMIN/Anaconda/python.exe"

  • The italicized path should be replaced with the path to your python.exe from your Anaconda installation.

Extension Hub Installation

  1. Go to the Extension menu in Modeler and click "Extension Hub"
  2. In the search bar, type the name of this extension and press enter
  3. Check the box next to "Get extension" and click OK at the bottom of the screen
  4. The extension will install and a pop-up will show what palette it was installed to

Manual Installation

  1. Save the .mpe file to your computer
  2. In Modeler, click the Extensions menu, then click Install Local Extension Bundle
  3. Navigate to where the .mpe was saved and click open
  4. The extension will install and a pop-up will show what palette it was installed

License

Apache 2.0


Contributors

k_means_with_mllib's People

Contributors

gfilla avatar wenpei avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.