Giter Club home page Giter Club logo

ud120-projects-py3-jupyter's Introduction

Udacity ud120 Projects v2: python3 + jupyter + conda env

The aim of this fork is to improve original starter project code for students taking Intro to Machine Learning on Udacity with python 3.8, conda managing and jupyter notebooks.

Mini-Projects

Important Notes

Lesson 3: SVM

In this repo newer version of scikit-learn is used. Thus, to get the results expected by the course grader you need to use SVC with gamma='auto', since the default value of gamma changed, see sklearn.svm.SVC docs:

Changed in version 0.22: The default value of gamma changed from 'auto' to 'scale'.

For example:

clf = SVC(kernel='linear', gamma='auto')

Lesson 7: Regressions

To get the correct (acceptable by grader) results set sort_keys='../utils/python2_lesson06_keys.pkl' for feature_format function:

...
data = feature_format(dictionary, features_list, remove_any_zeroes=True, sort_keys='../utils/python2_lesson06_keys.pkl')
...

[...] This will open up a file in the tools folder with the Python 2 key order.

See this for detailed explanation.

Initial Setup

1. Clone the repo

$ git clone https://github.com/trsvchn/ud120-projects-py3-jupyter.git
$ cd ud120-projects-v2

2. Set up conda environment

2.1. Download and install anaconda

link

2.2. Create environment

$ conda env create -f environment.yml

2.3. Activate environment via

$ conda activate ud120

3. Run starter script to check env and download required data

$ python ./utils/starter.py

ud120-projects-py3-jupyter's People

Stargazers

 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.