American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – AI/ML – Darin

April 1 @ 7:00 pm - 8:00 pm

Today’s Activities:

  1. Continued the first project on Cat vs Dog classification, doing deployment outside of Kaggle.

Homework:

Part 1

In your pycharm project, do the following:

# hw: 
# deploy the streamlit application

For the above, use this code: link

Part 2

Set up a github account.

  1. Create an account at https://github.com/ if you haven’t already.
  2. Go to the top right on your avatar icon, and click on repositories.
  3. Click new at the top right.
  4. Create a new repository called AYCLOGIC_WED7PM_AI_ML. Leave all other settings at default, but make sure the visibility is set to public.
  5. Then go to the avatar icon once more, and this time click on settings.
  6. Inside settings, scroll to the very bottom and on the menu bar you should select “Developer Settings“.
  7. Once in Developer Settings, click on Personal Access Tokens (Tokens Classic).
  8. Then click on “Generate New Token (classic)”.
  9. Set expiration to 90 days, and tick “admin:org” and “write:packages“.
  10. Save the newly generated token but don’t share it!
  11. Then go back to your pycharm and go to the terminal and follow these instructions:
    git init
    
    git add .
    
    git commit -m "Initial Commit"
    
    git remote add origin https://github.com/<your username>/AYCLOGIC_WED7PM_AI_ML.git
    
    git branch -M main
    
    git push -u origin main
    
    #######################################################
    
    Note that for the above, you plug in the github username you created before.
    
    Upon executing the commands, you will be asked to login:
    1. For username, you can type in your github username
    2. For password, copy and paste in your personal access token.
    
    Note: When typing in the username and password, you won't see any characters typed out which is actually a security feature, but it is there
    
    Extra note: If you get an error saying git is unavailable, you will need to install it. Email me if this is the case

Notes:

You can reach me at ddjapri@ayclogic.com.

All class notes can be found here.

Details

Date:
April 1
Time:
7:00 pm - 8:00 pm
Event Categories:
,