The k-means clustering method is an unsupervised machine learning technique used to identify clusters of data objects in a dataset. There are many different types of clustering methods, but k-means is one of the oldest and most approachable. These ...
You know how LLMs work, and you may already use AI agents to help you write code. However, an agent isn't an LLM, and an LLM isn't an agent. What sits between them is the agentic loop. In this video course, you'll build an AI agent from scratch in ...
From the previous tutorials in this series, you now have quite a bit of Python code under your belt. Everything you have seen so far has consisted of sequential execution, in which statements are always performed one after the next, in exactly the ...
In this quiz, you'll test your understanding of Plotting Declarative Charts With Altair. By working through this quiz, you'll revisit the difference between declarative and imperative charts, the data, mark, and encoding components of an Altair chart ...
Test your understanding of Python conditional statements. Take this quiz after reading our Conditional Statements in Python tutorial. [ Improve Your Python With Python Tricks - Get a short & sweet Python Trick delivered to your inbox every couple of ...
Want your Python traceback to look nice? Use Rich: Now your tracebacks will be colorized and highlighted, with local variables clearly displayed and set apart (thanks to show_locals=True).