Giter Club home page Giter Club logo

cs4641-unsupervised-learning's Introduction

The code can be found at https://github.com/sgadgil6/CS4641-Unsupervised-Learning


WEKA was used to perform the dimensionality reduction and python's scikit-learn, a machine learning library for Python, was used to run the neural network learner. I used a repository to obtain the code for running the neural network. The GitHub link to the repo is  https://github.com/qliuan/CS4641-Machine-Learning/tree/master/3/qliu359/repo

Installation:

WEKA
1. Install Java 8 
2. Install WEKA from https://www.cs.waikato.ac.nz/ml/weka/downloading.html
3. Run the algorithms using WEKA

Python scripts
This project requires numpy and sklearn to be installed.

Dataset:

The datasets used are located in the /data directory. The MNIST dataset is stored in a csv file called MNIST_data.csv. The Breast Cancer Dataset is stored in a file called breastCancer_data.csv

Folder Structure:

The main folder contains all the python files and the shell scripts needed for running the code. The /data directory contains the original datasets, the clustered datasets for breast cancer, the arff files generated by WEKA, and the excel files used for analysis. 

File Structure:

In the /data directory the datasets obtained by dimensionality reduction are named as breastCancer_algorithm.csv. For example breastCancer_ica.csv referes to the projected data produced by ICA. For the clustered datasets, file names used are breastCancer_algorithm_clu_new.csv

Running the python scripts:

All the code can be run by using the shell scripts provided in the main directory. To run a shell script, open a terminal and type ./<script_name>.sh

run_clu_nn.sh script runs the neural network learner on the dataset with clustering features. run_nn.sh script runs the neural network on the dimensionally reduced dataset. 

cs4641-unsupervised-learning's People

Contributors

sgadgil6 avatar

Watchers

James Cloos avatar  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.