{"id":24518341,"url":"https://github.com/schafeld/python-ai-stuff","last_synced_at":"2026-05-10T00:44:33.009Z","repository":{"id":73840667,"uuid":"183284274","full_name":"schafeld/python-ai-stuff","owner":"schafeld","description":"Python Basics for Data Science/ Machine Learning/ Artificial Intelligence","archived":false,"fork":false,"pushed_at":"2019-06-10T11:07:34.000Z","size":2169,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T16:47:35.917Z","etag":null,"topics":["artificial-intelligence","machine-learning","python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schafeld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-24T18:22:02.000Z","updated_at":"2019-06-10T11:07:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"35fff3c5-7b1b-4208-856b-0a5594402dfd","html_url":"https://github.com/schafeld/python-ai-stuff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schafeld%2Fpython-ai-stuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schafeld%2Fpython-ai-stuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schafeld%2Fpython-ai-stuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schafeld%2Fpython-ai-stuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schafeld","download_url":"https://codeload.github.com/schafeld/python-ai-stuff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719398,"owners_count":20336607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","machine-learning","python","tensorflow"],"created_at":"2025-01-22T01:41:59.397Z","updated_at":"2026-05-10T00:44:32.952Z","avatar_url":"https://github.com/schafeld.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python ❤︎ AI\n## Doodles in Artificial Intelligence and Machine Learning\n\nSome course work for edX's [IBM PY0101EN Python Basics for Data Science](https://courses.edx.org/courses/course-v1:IBM+PY0101EN+1T2019/course/) and Coursera's [Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning](https://www.coursera.org/learn/introduction-tensorflow) and code variantions on Tutsplus's [\"Learn Machine Learning With Google TensorFlow](https://code.tutsplus.com/courses/learn-machine-learning-with-google-tensorflow/lessons/why-use-tensorflow).\n\n...and/or some Python doodles may be found in this repository. These are my notes as I work on some AI courses, you'll probably not find this stuff very usefull (yet). I do however recommend the original courses for learning about ML and Tensorflow.\n\n\n#### Notes for *Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning*\n\nCheck if you have Tensorflow installed (I use Python 3 so I'm using ```pip3```)\n\n    pip3 show tensorflow\n\nIf you don't have it already, install it\n\n    pip3 install tensorflow\n\n[Start](https://jupyter-notebook.readthedocs.io/en/latest/notebook.html#notebook-user-interface) your first Jupyter notebook (courtesy Coursera Introduction to AI course)\n\n    cd intro_T4AI_ML_DL\n    jupyter notebook notebook.ipynb\n\nor run the first exercise (house price estimation):\n\n    jupyter notebook Exercise_1_House_Prices_Question.ipynb\n\nIn case you have converted the Jupyter notebook into regular Python code (which is easily done with the Visual Studio Code [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) for instance) you can execute it from the terminal as well:\n\n    python3 Exercise_1_House_Prices_Question.py\n\nYou can set up a project environment restricted to a current user's terminal workspace with Python's [virtualenv](https://virtualenv.pypa.io/en/stable/userguide/#usage) command:\n\n    pip3 virtualenv\n    virtualenv virtualenv_ollis_tensorflow\n    cd virtualenv_ollis_tensorflow\n    source bin/activate\n    pip3 install tensorflow\n    pip3 install h5py\n    pip3 install pandas\n\nThe virtual environment has to be activated as shown above in every new terminal session.\nWrite installed Python modules into requrements file:\n\n    pip3 freeze \u003e ../reqirements.txt\n\nFrom that file you could also install modules after you've cloned this repo ([tip source](https://code.tutsplus.com/courses/build-a-web-app-with-the-flask-microframework-for-python/lessons/setting-up-the-environment)):\n\n    pip3 install reqirements.txt\n\n\n\n\n#### Content\nCode listed 'in order of appearance', i.e. in the order I played with it.\n\n##### Coursera's [\"Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning\"](https://www.coursera.org/learn/introduction-tensorflow)\nFolder: intro_T4AI_ML_DL/\n- notebook.ipynb (HelloWorld doodle)\n- Exercise_1_House_Prices_Question.ipynb\n- Course_1_Part_4_Lesson_2_Notebook.ipynb\n- Course_1_Part_4_Lesson_4_Notebook.ipynb\n- Course_1_Part_6_Lesson_2_Notebook.ipynb\n- Convolutions_Sidebar.ipynb\n- Exercise_3_Question.ipynb (exercise week 3 [teacher solution](https://colab.research.google.com/github/lmoroney/dlaicourse/blob/master/Exercises/Exercise%203%20-%20Convolutions/Exercise%203%20-%20Answer.ipynb))\n- Horse_or_Human_NoValidation.ipynb (Note to self: Starting point for project Picturefoods? Doesn't run on my localhost, works on [remote colab](https://colab.research.google.com/github/lmoroney/dlaicourse/blob/master/Course%201%20-%20Part%208%20-%20Lesson%202%20-%20Notebook.ipynb#scrollTo=RXZT2UsyIVe_) however)\n- Course_2_Part_2_Lesson_3_Notebook.ipynb\n- Exercise4_Answer.ipynb\n\n##### Tutsplus's [\"Learn Machine Learning With Google TensorFlow](https://code.tutsplus.com/courses/learn-machine-learning-with-google-tensorflow/lessons/why-use-tensorflow)\n\nFolder: learn_ML_Tensorflow/\n- neural_net_meal_suggestions.py\n- neural_net_zoo_animals.py\n- neural_net_fruits.py\n  Note: I had to ```pip3 install pillow``` because I got an error \"ImportError: Could not import PIL.Image. The use of 'array_to_img' requires PIL.\" (PIL ≙ pillow)\n\nData sources used (Kaggle grants [Database: Open Database, Contents: Database Contents](https://opendatacommons.org/licenses/dbcl/1.0/) license, see their website for details):\n\n- [Zoo animal classification](https://www.kaggle.com/uciml/zoo-animal-classification)\n- [Fruits 360 dataset](https://www.kaggle.com/moltean/fruits/downloads/fruits.zip/49) (not included in repo, download from Kaggle)\n\n\n#### Acknowledgement\n- Notebooks for \"[Coursera's Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning](https://www.coursera.org/learn/introduction-tensorflow)\" can be found on [Github](https://github.com/lmoroney/dlaicourse).\n\n☞ If you're a fellow Coursera or edX student please keep in mind that you pledged to respect the honor code. Don't copy other people's course work – your future self will be grateful to you.\n\nto be continued...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschafeld%2Fpython-ai-stuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschafeld%2Fpython-ai-stuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschafeld%2Fpython-ai-stuff/lists"}