Ad

Tuesday, March 21, 2017

Udacity Machine Learning Nanodegree - Projects Step by Step Walkthrough High Level Cheat Sheet

High level steps to solve Udacity Machine Learning Nanodegree projects:

  • Import dependencies: numpy, pandas, sklearn, matplotlib
  • Data cleaning:
    • Replace all data with numeric value such as binaries 0 and 1 or scale down to between -1 to 1, or 0 to 1 (normalization). 
    • Replace yes/no binary answers with 1,0
    • Replace categorical data A, B, C with dummy columns |A|B|C| use 1 if true, 0 if false
  • Split data into features and target aka label
  • Perform initial exploration, turns data CSV into Pandas.DataFrame
    • Computer summary stats: mean, counts etc.
  • from sklearn import model
  • clf = sklearnmodel.model() #specify the classifier
  • clf.fit( ... ) #fit the model wither parameters
  • clf.predict() #make predictions
  • Metrics:
    • R^2 R squared - great for linear regression 0 to 1, 1 being the best
  • Errors:
  • This list is under construction

Sklearn machine learning model cheat sheet
What are the best algorithms to use for each machine learning problem?
Classification versus regression
Supervised versus unsupervised

5 comments:

  1. Regarding rv solar panels some others, this challenge of unsecured debt will not be their mistake, yet can come because of the redundancy, disorder, et https://royalcbd.com/how-to-make-cbd-gummies-at-home/

    ReplyDelete
  2. Spider Car Rental is one stop for Luxury Cars & Limousine Services in Dubai where a customer can select the car, pay online and get it delivered within one hour anywhere in Dubai. Luxury Car Rental

    ReplyDelete
  3. That article takes a closer look at psychological aspects of people's gaming motivation. It considers what basic human needs can be transferred in the area of virtual mobile games and satisfied there. find discord servers

    ReplyDelete
  4. There are few business credit building companies out there, however, those that are out there are taking advantage of the lack of knowledge from the general public regarding business credit and how to get a business loan. DON'T LET THEM RIP YOU OFF! account bookkeeping

    ReplyDelete
  5. Stop waiting to get those dents and dings removed from your car. Paintless dent removal is the answer to your problems! https://www.redhotauto.net/

    ReplyDelete

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid