Introduction to AI and Machine Learning with Go (Golang) (Udemy.com)
Learn the fundamentals of Artificial Intelligence and Machine Learning and apply them to your Go programs.
Created by: Trevor Sawler
Last updated September 2025
What you will learn
- 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
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 96 / 100
Course Description
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!
Instructor Details
- 4.8 Rating
133 Reviews
Trevor Sawler
I have twenty years of experience in professional software development, and twenty years of experience as a University professor.
As an entrepreneur, I have worked with a broad range of clients, including Thomson Nelson, Hewlett Packard, the Royal Bank of Canada, Keybank, Sprint, and many, many others. I also have extensive management and project management experience. I have led teams of fifty developers and artists on multi-million dollar projects, and much smaller teams on much smaller projects.
As a professor, I have taught in a wide variety of course areas, including Computer Science, English, Irish, and American literature, and a number of "crossover" courses that bridge the liberal arts and technological fields.
I have won regional, national, and international awards for my work in the IT field, and have also won awards for my teaching and research as a University professor.
More courses by Trevor Sawler
Building Modern Web Applications with Go (Golang) (2022)
4.6 (5,848 Reviews)
Provider: Udemy
Time: 29.6h
$84.99
Working with Microservices in Go (Golang) (2024)
4.6 (3,184 Reviews)
Provider: Udemy
Time: 11.6h
$89.99
Working with Concurrency in Go (Golang) (2024)
4.7 (1,862 Reviews)
Provider: Udemy
Time: 9.7h
$79.99
Building Web Applications with Go - Intermediate Level (2025)
4.8 (597 Reviews)
Provider: Udemy
Time: 18.7h
$84.99
More Software Development courses
Build Web Apps with Nuxt.js 3: Master TypeScript & API [New] (2026)
4.9 (635 Reviews)
Provider: Udemy
Time: 6.7h
$19.99
70+ JavaScript Challenges: Data Structures & Algorithms (2023)
4.8 (748 Reviews)
Provider: Udemy
Time: 12.5h
$19.99
AI Agents Crash Course: Build with Python & OpenAI (2025)
4.8 (652 Reviews)
Provider: Udemy
Time: 3.4h
$19.99
Elasticsearch 9 & Spring Boot: Search Engine Masterclass (2026)
4.8 (225 Reviews)
Provider: Udemy
Time: 14.3h
$19.99
Blockchain Basics and Solidity Programming (2024)
4.8 (101 Reviews)
Provider: Udemy
Time: 4.8h
$59.99
Reviews
By Chikoti Vaishali on 7/14/2026
i have learnt how to train models evaluate them and build them using different ai algorithms learnt how to build and code different algorithms
By Lakshmi M on 6/10/2026
coding teaching is excellent. Examples of player engagement coding is very interesting.,
By Cetin Erdem on 2/21/2026
Dude that is so cool I actually understand such hard topics and algorithms but of course ı will need to go back and re-do everything maybe couple of times so it will stick
By Eric Maibach on 1/23/2026
As always, very good
By Robert Goodall on 1/22/2026
An excellent introduction to AI and Machine Learning!
By Daly Barron on 1/17/2026
all I've seen so far is the instructor talking about themselves and what they are gonna teach it's kinda hard to critique at this point. You should move this review thingy later on.
By James McBean on 1/7/2026
A very good, concise, introduction to AI. The projects are useful and practical.
By Frédéric Laugier on 9/27/2025
Docteur Sawler est toujours limpide dans ses explications, il nous guide vraiment pas à pas, et son anglais est extrêmement clair à comprendre même pour un étranger.
By Anton Prokopenko on 9/17/2025
So far everything is on point. Thank you.
By Brad Wilson on 9/16/2025
Like all the instructors courses, this is excellent.







![Build Web Apps with Nuxt.js 3: Master TypeScript & API [New]](/programming/software-development/images/6457785_5adc_4.jpg?v=1789443959)




