Home

Awesome

(Just one of the things I'm learning. https://github.com/hchiam/learning)

(even more ML stuff: https://github.com/hchiam/learning-ml)

machineLearning:

Simple test code for machine learning / neural networks / artificial intelligence (ML/NN/AI) in the Python programming language. And some live JavaScript examples too, like this one: https://codepen.io/hchiam/full/QGOyaE (for best results, open in Chrome).

No need to install a ton of things to import (more sophisticated code further down do need installations). Just read some commented code and get it running quickly to gather some intuitions.

You can have it even simpler and just run code in your browser without installing anything: here.

simple net

layered net

sim net simulation

machine learning web app:

You can try out the following web app live on CodePen: https://codepen.io/hchiam/full/rrwQRa.

webApp

Under "webApp_MachineLearning_Gesture" folder:

neurons flashing

Markov Word Generator - create words with the same "feel":

https://github.com/hchiam/word_gen

Notes and Code from Udacity course AI for Robotics:

https://github.com/hchiam/ai_for_robotics

Genetic Algorithm - applied to one of my linguistics projects:

https://github.com/hchiam/cogLang-geneticAlgo

Extra installation required but still pretty simple:

Google Developers:

The next few code samples are based on "Machine Learning Recipes with Josh Gordon" at: https://www.youtube.com/playlist?list=PLOU2XLYxmsIIuiBfYad6rFYQU_jL2ryal, which is also listed in the Google Developers YouTube channel.

machinelearningmastery.com:

https://github.com/hchiam/machineLearning/blob/main/machinelearningmastery

Sirajology "Learn Python for Data Science" Challenges:

  1. https://github.com/hchiam/gender_classification_challenge

Natural Evolution Strategies (NES) Example:

nes.py. See https://blog.openai.com/evolution-strategies/

Keras

https://github.com/hchiam/learning-keras

Synaptic.js

A JavaScript neural network library. My example codepen:

https://codepen.io/hchiam/pen/gWydZd?editors=1010

ml5.js web-friendly machine learning, built on TensorFlow.js

https://codepen.io/hchiam/pen/LrJVPQ

NLP with spaCy and textacy

https://github.com/hchiam/nlp_spacy_textacy

Learn more with freeCodeCamp:

For example, here's a video I found helpful for understanding RNNs and LSTM: https://www.freecodecamp.org/learn/machine-learning-with-python/how-neural-networks-work/recurrent-neural-networks-rnn-and-long-short-term-memory-lstm

LSTM: forget gate to forget irrelevant, input gate to remember relevant, and output gate to update new info

Then later reading up on attention and Transformers makes more sense.

Crash Course AI:

https://github.com/hchiam/crash-course-ai-labs

AutoML:

https://github.com/hchiam/learning-automl

Keep up to date:

https://www.youtube.com/@statquest - like this clear explanation of ROC and AUC or of transformers

https://www.youtube.com/@TwoMinutePapers

https://www.youtube.com/@twimlai - hear about things like AI-GAs, Quality-Diversity algorithms, jailbreaking, filters, adversarial training, pre-training, and more.

Links to more:

https://github.com/hchiam/learning-ml