BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-ORIGINAL-URL:https://www.ayclogic.com
X-WR-CALDESC:Events for American Young Coder
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-Robots-Tag:noindex
X-PUBLISHED-TTL:PT1H
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20260308T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20261101T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20260603T190000
DTEND;TZID=America/Los_Angeles:20260603T200000
DTSTAMP:20260604T143808
CREATED:20260604T034205Z
LAST-MODIFIED:20260604T034205Z
UID:33749-1780513200-1780516800@www.ayclogic.com
SUMMARY:7 PM – AI/ML – Darin
DESCRIPTION:Today’s Activities:\n\n\n\nFinished the Single Digit Classifier project.\n\nHomework:\n\nChoosing 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. \nThe project has to be able to classify at least 5 different categories. \nWhat we did last week: \n\nSet up the labelling function\nVerify 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)\nRun training with a vision_learner.\nUse the proper imports (fast ai 2.7.19)\nUse 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!:\npath=Path(“/kaggle/working”)\,\nmodel_dir=”models”\,\nExport the file as a .pkl file onto your computer!\n\nWhat you have to do next week: \n\nMake sure training used the proper installs and library versions!\nRerun exporting the .pt file and save it from the outputs on the right of the kaggle page\nUse your exported .pt file on streamlit and deploy on the website https://streamlit.io/\nDetails are as follows below:\n\n\n\nDetails on how to deploy on streamlit:\n\nSet up a github account. \n❌ means skip unless you lost it\, ✅ means do \n\nCreate an account at https://github.com/ if you haven’t already. ❌\nGo to the top right on your avatar icon\, and click on repositories. ✅\nClick new at the top right. ✅\nCreate a new repository called AYCLOGIC_WED7PM_AI_ML_FINAL_PROJECT. Leave all other settings at default\, but make sure the visibility is set to public. ✅\nThen go to the avatar icon once more\, and this time click on settings. \nInside settings\, scroll to the very bottom and on the menu bar you should select “Developer Settings“. ❌\nOnce in Developer Settings\, click on Personal Access Tokens (Tokens Classic). ❌\nThen click on “Generate New Token (classic)”. ❌\nSet expiration to 90 days\, and tick “admin:org” and “write:packages“.\nSave the newly generated token but don’t share it! ❌\nThen go back to your pycharm and go to the terminal and follow these instructions: ✅\n\ngit init\n\ngit add .\n\ngit commit -m "Initial Commit"\n\ngit remote add origin https://github.com/<your username>/AYCLOGIC_WED7PM_AI_ML_FINAL_PROJECT.git\n\ngit branch -M main\n\ngit push -u origin main\n\n#######################################################\n\nNote that for the above\, you plug in the github username you created before.\n\nUpon executing the commands\, you will be asked to login:\n1. For username\, you can type in your github username\n2. For password\, copy and paste in your personal access token.\n\nNote: 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\n\nExtra note: If you get an error saying git is unavailable\, you will need to install it. Email me if this is the case\nFinally after all this you should be able to go to streamlit.io -> top right -> free -> login with github -> choosing your own github repository -> modifying the settings to do python 3.12 -> deploy \n\n\n\n\nNotes:\nYou can reach me at ddjapri@ayclogic.com. \nAll class notes can be found here.
URL:https://www.ayclogic.com/event/7-pm-ai-ml-darin-30/
CATEGORIES:AI/ML,Python Class
END:VEVENT
END:VCALENDAR