What Is an Agent in Reinforcement Learning?
What is an agent in reinforcement learning? Learn how agents observe states, choose actions, follow policies, and learn from rewards, with a maze example and runnable Python code.
What is an agent in reinforcement learning? Learn how agents observe states, choose actions, follow policies, and learn from rewards, with a maze example and runnable Python code.
Understand K-means clustering: centroids, assignment, initialization, the elbow method, silhouette score, limits, and full Python code from scratch.
Build a local AI agent with an open-weight LLM. Learn tool calling, the agent loop, error handling, safety limits, and how to test your agent’s behavior.
Build a local RAG system with Ollama and Chroma. Learn embeddings, chunking, retrieval, and generation, plus how to test retrieval and answer quality.
Follow this Ollama API Python tutorial to install Ollama, send requests, stream replies, handle errors, and build a working app with structured JSON output.