American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – AI/ML – Darin

May 20 @ 7:00 pm - 8:00 pm

Today’s Activities:

  1. Finished the Single Digit Classifier project.

Homework:

For Rexford, choose the dataset for your project (has to be multiclass, and catch up the below)

HW 1:

Choosing what you want to classify — Can be anything in real life, the only thing is you have to make sure the data exists on Kaggle.

The project has to be able to classify at least 5 different categories.

What we did last week:

  1. Set up the labelling function
  2. Verify Dataloader works with .show_batch() (reference old code for how to do this, it will depend on how you extract labels, whether its via path or filename)
  3. Run training with a vision_learner.

What you have to do next week:

  1. Use the proper imports (fast ai 2.7.19)
  2. Use lr.find() to get the proper learning rate, then run finetuning with the discovered value (you must only call fine_tune once!)

    Add the following into the vision learner to ensure lr_find works!:
    path=Path(“/kaggle/working”),
    model_dir=”models”,

  3. Export the file as a .pt file onto your computer!

HW 2:

Download the following CSV file: https://drive.google.com/file/d/1kP6A9y0UBssOg3Exunv9Mnmilb0657Sh/view

Then do the following in a new notebook called WED-7PM-PandasHW1:

  1. Load the data 
  2. Show only the Channel and Subscribers columns 
  3. Find channels with more than 2000 subscribers
    For this you can use something like this: 

    df[df[“Math”] > 80],but of course for this data.

     

  4. Add a new column Subs_per_Video 
  5. Answer the question in Markdown, which channel is the most efficient?

Notes:

You can reach me at ddjapri@ayclogic.com.

All class notes can be found here.

Details

Date:
May 20
Time:
7:00 pm - 8:00 pm
Event Categories:
,