Course Overview
Are you a Go developer ready to explore the exciting world of AI and machine learning? This course is your comprehensive guide, designed specifically for Gophers who want to add powerful AI skills to their toolkit.
Much of the code in this course is written in Go, but some of it is written in Python, where it makes sense to do so, and this means that before taking this course you should have a basic understanding of both languages.
We'll start with fundamental AI concepts, building a strong foundation with practical, hands-on projects. Then, we'll dive into the world of machine learning, tackling everything from classic regression models to modern neural networks. You'll learn how to leverage Go for high-performance AI applications, and discover how to integrate it with Python and cutting-edge tools like Hugging Face and LLMs for state-of-the-art solutions.
What You'll Learn
Search Algorithms & Intelligent Agents: Master core AI search algorithms like A* and Dijkstra's by solving mazes and building a robot vacuum.
Propositional Logic & Model Checking: knowledge based AI agents often need to make decisions based on available information in the world they operate in. Propositional logic and model checking are two different approaches to solving this problem.
Uncertainty: Learn how AI agents handle randomness by creating a Battleship AI and a card-counting Blackjack player.
Machine Learning Fundamentals: Get a practical understanding of linear regression by building models in both Python and Go to predict housing prices.
Deep Learning & Neural Networks: Build a neural network from scratch for housing price prediction and a Convolutional Neural Network (CNN) for image classification.
Natural Language Processing (NLP): Discover the power of NLP by creating an extractive summarization program in Go. You'll also learn to interface with external models from Hugging Face and harness the power of Large Language Models (LLMs) to create hybrid summarization systems.
Large Language Models (LLMs): Learn how to connect your Go programs to Large Language Models like ChatGPT. We'll use a locally hosted LLM using Ollama, but the code we write will be 100% compatible with OpenAI, which is used to connect to most LLMs.
Course Requirements
This course is for intermediate to advanced Go developers. You should be comfortable with Go syntax and core concepts. A basic understanding of data structures like graphs and trees is also helpful, but not required. You should also have a basic understanding of Python.
All you need is a computer running Windows, macOS, or Linux. While a GPU will speed up certain deep learning tasks, it is not essential; everything will run on a CPU.
Why This Course?
This isn't just another machine learning course; it's tailored for Go programmers. You'll learn how to build production-ready AI and machine learning applications that leverage Go's performance and concurrency. By the end, you'll have a portfolio of projects and the skills to confidently build your own intelligent applications.
Ready to build the future of AI with Go? Enroll now and start your journey!
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 5 bài · 17 phút
- Introduction Học thử 10:00
- A bit about me Học thử 1:01
- Installing Go Học thử 1:31
- Installing an IDE Học thử 2:01
-
Setting up VS Code for Python 2:29
Chương 2 Search and Artificial Intelligence Part I 18 bài · 4 giờ 5 phút
-
What we'll cover in this section 3:39
- Defining a maze Học thử 3:21
- Loading the maze from disk Học thử 22:52
-
Uninformed Search 2:36
- Getting started with Depth First Search (DFS) Học thử 43:22
-
Trying out our DFS algorithm 13:09
-
Adding image output to our project 33:58
-
Producing an animation of the maze solving process 17:51
-
Implementing Breadth First Search (BFS) 23:54
-
Implementing Dijkstra's Search 24:29
-
Adding the Manhattan Cost to our generated images 5:37
-
Informed Search 1:29
-
Implementing Greedy Best First Search (GBFS) 10:58
-
A* Search: an Overview 3:20
-
Implementing A* Search 18:24
-
Adding obstructions to our maze 8:02
-
Calculating cost with obstructions 4:57
-
Summary 3:15
Chương 3 Search and Artificial Intelligence - Part II 29 bài · 4 giờ 33 phút
-
What we'll cover in this section 3:07
-
Getting started with our robot vacuum 13:34
-
Loading the Room configuration 13:03
-
Getting started printing the room to the terminal 13:25
-
Finishing up printing the room to the terminal 13:32
-
Loading furniture and obstacles 3:21
-
The Random Walk algorithm overview 3:09
-
Setting up functions that every cleaning algorithm will need 8:16
-
Implementing A* for the Random Walk algorithm 28:45
-
Getting started with the Random Walk algorithm 7:18
-
Bresenham's line algorithm and moving along a line until obstructed 15:14
-
Finishing up the CleanRandomWalk function 18:38
-
Trying out our code with CleanRandomWalk 2:49
-
The SLAM algorithm 7:10
-
Getting started with the SLAM algorithm 11:06
-
Adding neighbors to the frontier 4:55
-
Continuing with the SLAM algorith 8:45
-
Adding a thorough frontier check and checking for sufficient coverage 7:38
-
Finishing up and trying our SLAM algorithm 8:08
-
The Spiral Algorithm 1:03
-
Getting started with the Spiral algorithm 4:53
-
Finding the room center and creating a spiral pattern 17:38
-
Finishing up the Spiral alogorithm 8:34
-
The Snaking (or Boustrophedon path) algorithm 1:07
-
Getting started with the Snaking algorithm 8:44
-
Finishing up the Snaking algorithm 7:24
-
Adding obstacle recognition 5:13
-
Complicating matters with a Cat 16:40
-
Finishing up the Cat logic 9:36
Chương 4 Knowledge Based Agents: Propositional Logic 9 bài · 1 giờ 42 phút
-
What we'll cover in this section 7:41
-
Getting started with multiple rooms 18:46
-
Getting the code working for multiple rooms, but without logic 5:02
-
Defining our truth table and rules for propositional logic 3:36
-
Getting started with our logical world 10:37
-
Finishing up the methods for our logical world 13:35
-
Getting started with our logic enabled robot 17:19
-
Trying out our new logic aware robot and world 17:12
-
Finishing up the propositional logic robot 7:51
Chương 5 Knowledge Based Agents: Model Checking 6 bài · 1 giờ 23 phút
-
What we'll build in this section 2:18
-
Getting started with our code 10:24
-
Loading applicants from the CSV file 26:09
-
Setting up the fairness property 18:29
-
Setting up the risk property 8:52
-
Finishing up our model checking logic and trying things out 17:08
Chương 6 Artificial Intelligence and Uncertainty I 14 bài · 3 giờ 9 phút
-
What we'll cover in this section 1:55
-
Getting started with our Battleship game 9:18
-
Setting up the Human player 10:52
-
Setting up the AI player 10:51
-
Placing the AI player's ships 24:50
-
Placing the Human player's ships 29:08
-
Letting the Human player take a turn 20:12
-
Getting started with letting the AI player take a turn 22:25
-
Setting up huntModeBoosts 16:17
-
Finishing up letting the AI player take a turn 19:43
-
Displaying the heat map and trying things out 5:35
-
Improving our heatmap functionality 3:55
-
Sinking ships 10:12
-
Trying out the finished game 3:56
Chương 7 Artificial Intelligence and Uncertainty II 11 bài · 2 giờ 5 phút
-
What we'll cover in this section 2:06
-
Getting started with our Blackjack game 3:55
-
Clearing the screen, creating a deck of cards, and shuffling them 16:49
-
The strategy our card counter will use 1:57
-
Card counting abilties for our AI player 25:27
-
Checking if the deck needs re-shuffled and creating players 9:07
-
Dealing cards to all three players and calculating scores 6:44
-
Displaying the players' hands 5:07
-
Playing a round for the Human player 18:16
-
Playing a round for the AI player 20:27
-
Playing a round for the Dealer and trying things out 15:15
Chương 8 Machine Learning in Python (supervised): Linear & Multiple Linear Regression 16 bài · 4 giờ 22 phút
-
What we'll cover in this section 5:36
-
Getting started with our program: loading and pre-processing the data 35:05
-
Prepare data for modeling, split data, and train the model 10:48
-
Evaluating our model 8:32
-
Print the results of our training to the console 13:16
-
Display a visualization of the data 19:15
-
Predict a house's price based on data outside our dataset 8:03
-
Getting started with Multiple Linear Regression in Python 15:01
-
Implement data processing capabilities 21:44
-
Develop the model operations - Part I 14:53
-
Develop the model operations - Part II 19:58
-
Trying out the code we've written so far 28:57
-
Visualization: Display Results 12:41
-
Creating data for visualizations 12:34
-
Creating a 2d visualization 19:49
-
Creating a 3d visualization 16:11
Chương 9 Machine Learning in Go (supervised): Linear & Multiple Linear Regression 20 bài · 3 giờ 56 phút
-
What we'll cover in this section 1:49
-
Getting started with our program: parsing command line flags 18:42
-
Setting up types, and loading and validating data 24:04
-
Setting up the Linear Regression Type, and persisting model data 16:18
-
Loading data and printing summary info 17:03
-
Setting up a Model handler and trying out loading data 7:05
-
Normalize Features 9:53
-
Training the model 29:41
-
Displaying trained model information 8:58
-
Trying out training a model 4:01
-
Saving and Loading a trained model 4:48
-
Setting up a Predict method on the LinearRegression type 10:32
-
Setting up the handlePrediction function 10:48
-
Displaying Predictions 8:44
-
Installing a sidecar application to create a visualization of the data (plot) 2:33
-
Writing the Go code to call the sidecar application: Part I 19:54
-
Writing the Go code to call the sidecar application: Part II 19:17
-
Trying out our plotting functionality 2:51
-
Updating our Python app to save to JSON format 16:39
-
Loading a model trained in Python in our Go application 2:29
Chương 10 Machine Learning: Neural Networks 24 bài · 5 giờ 9 phút
-
What we'll cover in this section 5:33
-
Setting up a Python project for a Neural Network 10:24
-
Loading and preprocessing our data 20:35
-
Trying out loading data 2:15
-
Setting up the rest of our command line flags 7:27
-
Getting started with training our neural network 9:01
-
Setting up the training loop 23:12
-
Trying out the training loop 3:34
-
Saving the trained model 11:13
-
Loading a saved ONNX file and making predictions 16:06
-
Trying out our prediction function 3:29
-
Cats vs Dogs: Convolutional Neural Networks 4:06
-
Getting started with our CNN 26:55
-
Setting up GPUs, if available 4:15
-
Getting started with training our model: loading data 27:39
-
Defining our neural network 24:23
-
Setting up the forward pass for our network 9:46
-
Setting up the loss function, optimizer, and learning rate scheduler 11:17
-
Setting up the train_model function 26:46
-
Implementing early stopping 10:14
-
Best model restoration 5:21
-
Saving model state 11:03
-
Setting up inference 21:48
-
Trying things out 12:17
Chương 11 Natural Language Processing: Extractive Summarization 20 bài · 3 giờ 48 phút
-
What we'll cover in this section 5:35
-
Getting started with our text summarization package 1:51
-
Setting up a simple application 27:18
-
Getting started with the summarizer module 18:23
-
Configuring our summarizer 10:06
-
Getting started with extractive summarization 31:21
-
Getting Named Entities 5:29
-
Calculate sentence position weights 5:12
-
Create a map of sentences containing important entities 4:09
-
Find title keywords if available 4:36
-
Create a graph representation for TextRank-like algorithm 16:04
-
Analyze sentence relationships 19:03
-
Named entity scoring 4:54
-
Title keyword overlap 3:35
-
Textrank-like score using similarity matrix 4:25
-
Cohesion score, sentence scoring, and taking top-ranked sentences 19:47
-
Extracting keywords 6:55
-
Implementing GetResponse 9:55
-
Setting up the web app 15:55
-
Calling the summarizer package from the web app 13:22
Chương 12 Natural Language Processing: Interfacing with Hugging Face 7 bài · 53 phút
-
Getting a Hugging Face API key 1:41
-
Setting up a Taskfile 5:46
-
Setting up Hugging Face in the summarizer package 13:40
-
Setting up the summarizer function for Hugging Face 22:00
-
Updating GenerateSummary for Hugging Face 3:16
-
Setting up Hugging Face in the web app 3:33
-
Trying things out 2:51
Chương 13 Natural Language Processing: Summarizing text using LLMs 5 bài · 30 phút
-
Installing and configuring Ollama 6:51
-
Setting up OpenAI in the summarizer package 15:58
-
Updating GenerateSummary for OpenAI 1:58
-
Update the web app for OpenAI 2:14
-
Trying things out 3:19
Chương 14 Natural Language Processing: Hybrid Summarization 4 bài · 20 phút
-
Setting up hybrid summarization in the summarizer package 9:21
-
Updating GenerateSummary for Hybrid summaries 2:33
-
Update the web app for Hybrid summaries 4:08
-
Implementing CLI mode 3:47
Requirment
-
A basic understanding of the Go programming knowledge
-
A basic understanding of the Python programming language
-
Ideally, a computer with a GPU (helpful, but not strictly necessary)
Outcomes
-
Learn the basic principles of artificial intelligence
-
Learn AI search algorithms (BFS, DFS, GBFS, Dijkstra & A* Search)
-
Learn the basic principles behind machine learning
-
Learn about creating worlds with rules for artificial intelligence
-
Learn how to manage probability with artificial intelligence
-
Learn how to train a model using linear regression and multiple linear regression
-
Learn how to implement and use a neural network
-
Learn how to connect to and use remote models on services like Hugging Face
-
Learn how to integrate a Go application with LLMs like ChatGPT, and locally hosted LLMs
0 Student
9 Courses
0 review