Skip to content

Latest commit

 

History

History

09_data

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

What are data?

Data Collection

Objectives:

  • Review the full story of building a ML model for classification or regression.
  • Understand how data is formatted and downloaded including CSV and JSON.
  • Review the terminology of the training process
    • Training
    • Learning Rate
    • Epochs
    • Batch size
    • Loss
  • Consider how to frame the problem and collect data.
    • Understand critical questions to ask (e.g. Who is this for? What’s the context?)
    • Understand the questions to ask about sourcing and collecting data.
    • Learn how to prepare a data set, including how to normalize and properly format it.

Tutorials

Color Classifier

More about Data from Lydia Jessup

  • Data Wrangling slides
  • Feminist Data Set by Caroline Sinders
  • Gender Shades: How well do IBM, Microsoft, and Face++ AI services guess the gender of a face? by Joy Buolamwini and Timnit Gebru
  • Data Research Questions
    • Who collected and compiled it?
    • Why was it collected?
    • How was it collected?
    • Describe the data: What are the dimensions? What are the variables and their data types?
    • Is there missing, incorrect, or otherwise problematic data?
    • For whom is this data accurate or useful? What is this data unrepresentative of? (Who is missing and left out of the data?)
    • Knowing what you know now about machine learning, what will a model trained on this data help you do? Are there are alternative (non-machine learning) uses of this data?

ml5.js examples

Assignment

For this assignment it's up to you to select an exercise building off of the multiple data collection and model training scenarios we've examined in past a few Here are three scenarios to choose from to help you get started. (To be clear, just pick one or combine into one assignment, do not do all three!)

1: Interactive Real-Time Gesture Data

Continue working on your sketch from Assignment 8. What are your next steps? Maybe try breaking it into multiple sketches for saving / loading the trained model? Or try a regression model instead of classification?

2: Working with Quick Draw, DoodleNet

Build off of one of the code examples (or invent your own) to develop you own creative use of Quick, Draw data.

3: Other Data Sources

Try loading JSON or tabular data into a p5.js sketch and train a model. Some suggestions:

  • Augment Lydia Jessup's 311 Calls ml5.js example. You could add an additional input field, customize the interface, or change other parameters of ml5.neuralNetwork().
  • Train a machine learning model in ml5.js with the dataset you picked for part 1 of the assignment.

Complete a blog post with your dataset report and code exercise. Link from the homework wiki.