American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – AI / Machine Learning – Gamas

February 18 @ 7:00 pm - 8:00 pm

Today We Did
  1. We continued with the Titanic Survivorship
  2. We were able to load test.csv and create panda dataframe and fast.ai data loader
Homework
  1. Go through the prediction result from test_dls and go through row by row to produce something like below.
  2. You have to loop through each element inside predictions[0] and compare if the first element is bigger than the 2nd element, then print <row>. Not Survived <probability>%.
  3. If the first element is smaller than the 2nd element then print <row>. Survived <probability>%
  4. 0. Not Survived 87.18848419189453%.
    1. Not Survived 78.96119689941406%.
    2. Not Survived 84.08621215820312%.
    3. Not Survived 80.73690795898438%.
    4. Not Survived 60.991275787353516%.
    5. Not Survived 88.77079772949219%.
    6. Survived 74.59135437011719%.
    7. Not Survived 67.33382415771484%.
    8. Survived 65.89361572265625%.
    9. Not Survived 90.43904113769531%.
    10. Not Survived 88.4970932006836%.
    ....
    411. Survived 97.65119934082031%.
    412. Survived 74.2665023803711%.
    413. Not Survived 88.44790649414062%.
    414. Survived 98.83213806152344%.
    415. Not Survived 91.81370544433594%.
    416. Not Survived 88.44790649414062%.
    417. Not Survived 80.0470199584961%.

Details

Date:
February 18
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights