/intro-to-machine-learning

๐Ÿค– Codes and notes from Udacity Intro to Machine Learning course.

Primary LanguagePythonOtherNOASSERTION

Intro to Machine Learning

Codes and notes from Udacity Intro to Machine Learning course.

Requirements

In order to run the sample codes, you'll need the following packages:

Installation

If you don't have Python installed, heads up to the Python Download Page. All the codes are tested using Python version 2.7.

Run the following command to install all of the required dependencies:

$ pip install -U numpy scipy matplotlib scikit-learn nltk

This project is also use the Enron dataset. To download the dataset run the following commands:

# Go to the project directory.
$ cd /path/to/intro-to-machine-learning

# RUn the startup script.
$ python tools/startup.py

The startup script will also check for all of the required modules. The Enron dataset is around 400 MB, so it may take a while to complete. You should get the similar output on your terminal:

โœ… nltk is installed.
โœ… numpy is installed.
โœ… scipy is installed.
โœ… sklearn is installed.
โœ… matplotlib is installed.
โณ Downloading the Enron dataset, this may take a while...
โœ… Enron dataset is downloaded: /path/to/intro-to-machine-learning/data/enron_mail_20150507.tar.gz
โณ Unzipping Enron dataset, this may take a while...
โœ… Enron dataset is extracted to: /path/to/intro-to-machine-learning/data
๐ŸŽ‰ You're ready to go!

Chapters

New Things I Learned

License

CC BY-NC-ND 4.0 ยท Risan Bagja Pradana

Legal

This repository is in no way affiliated with, authorized, maintained, sponsored or endorsed by Udacity or any of its affiliates or subsidiaries. This is an independent and unofficial library.