Giter Site home page Giter Site logo

ml_dim_red's Introduction

These python scripts requires python3, matplotlib, scikit and numpy to run.

Clustering
==========

The "clustering" folder contains 2 scripts: kmeans.py and em.py.
The first script applies the k-Means algorithm on the datasets. The following parameters are modifiable:
DATASET : The dataset to use "digits" or "phoneme"
N_CLUSTERS : The number of cluster to look for

The second script applies the EM algorithm and has the same parameters

Dimensionality Reduction
========================

The "dim" folder contains 4 scripts: PCA.py, ICA.py, RP.py and FA.py.
Each script applies the corresponding algorithm on the dataset.

The PCA.py file has the following modifiable parameters:
DATASET : The dataset to use "digits" or "phoneme"
N_COMPONENTS : The number of components to keep
N_CLUSTERS : The number of cluster to look for
MODE : The experiment to do using the script 'learning', 'compute_time' or 'reconstruction'
LEARNING_RATE : The neural network initial learning rate
TOLERANCE : The neural network solver tolerance
TOPOLOGY : The neural network nodes topology (hidden layers and node count)

The ICA.py file has the following modifiable parameters:
DATASET : The dataset to use "digits" or "phoneme"
N_COMPONENTS : The number of components to keep
N_CLUSTERS : The number of cluster to look for
MODE : The experiment to do using the script 'learning', 'compute_time' or 'reconstruction'
LEARNING_RATE : The neural network initial learning rate
TOLERANCE : The neural network solver tolerance
TOPOLOGY : The neural network nodes topology (hidden layers and node count)

The RP.py file has the following modifiable parameters:
DATASET : The dataset to use "digits" or "phoneme"
N_FEATURES : The number of different labels for the current dataset
N_COMPONENTS : The number of components to keep
N_CLUSTERS : The number of cluster to look for
MODE : The experiment to do using the script 'learning', 'compute_time' or 'compare'
LEARNING_RATE : The neural network initial learning rate
TOLERANCE : The neural network solver tolerance
TOPOLOGY : The neural network nodes topology (hidden layers and node count)

The FA.py file has the following modifiable parameters:
DATASET : The dataset to use "digits" or "phoneme"
N_FEATURES : The number of different labels for the current dataset
N_COMPONENTS : The number of components to keep
N_CLUSTERS : The number of cluster to look for
MODE : The experiment to do using the script 'learning', 'compute_time' or 'compare'
LEARNING_RATE : The neural network initial learning rate
TOLERANCE : The neural network solver tolerance
TOPOLOGY : The neural network nodes topology (hidden layers and node count)

Other
=====

The "plot" folder contains the script used to visualize one of the dataset projected on the 3 first features.

ml_dim_red's People

Contributors

corendos avatar

Watchers

 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.