Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Udacity ud120 Mini-Projects: Jupyter Notebooks, Python 3.8, Conda

NotificationsYou must be signed in to change notification settings

trsvchn/ud120-projects-py3-jupyter

 
 

Repository files navigation

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

Mini-Projects

Important Notes

Lesson 3: SVM

In this repo newer version ofscikit-learn is used. Thus, to get the results expected by the course graderyou need to useSVC withgamma='auto', since the default value of gamma changed, seesklearn.svm.SVCdocs:

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 setsort_keys='../utils/python2_lesson06_keys.pkl' forfeature_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.

Seethis 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

About

Udacity ud120 Mini-Projects: Jupyter Notebooks, Python 3.8, Conda

Topics

Resources

Stars

Watchers

Forks

Languages

  • Jupyter Notebook69.4%
  • Python30.6%

[8]ページ先頭

©2009-2025 Movatter.jp