Python AI Tutorials
A practical path through building AI in Python — from setting up an environment to shipping real projects. Start with data access and the OpenAI API, then work through generative-AI apps (a voice bot, a knowledge-base assistant, a news bot) and end-to-end machine-learning projects such as recommenders and forecasting.
Guides & tutorials
- Getting Started with the Anaconda Python Environment for Machine LearningGet started with Python Machine Learning and set up the Anaconda Python Environment and Python packages, incl. Jupyter Notebooks.
- Using Pandas DataReader to Access Online Data Sources in PythonThe Python library Pandas is a useful package that makes it easy to access a variety of popular data sources on the Internet.
- Accessing Remote Data Sources via REST APIs in PythonThis article shows how to access remote data sources via REST APIs in Python. Two examples are given: Using Pandas Webreader and Requests.
- Unleashing the Power of ChatGPT and Other OpenAI GPT Language Models in Python A Guide to Using APIsUnleash the power of AI with OpenAI's models: A comprehensive guide on how to interact with ChatGPT, and other language models via the OpenAI API in Python.
- Generating Detailed Images with OpenAI DALL-E and ChatGPT in Python: A Step-By-Step API TutorialIn this step-by-step tutorial, we show how to generate detailed OpenAI DALL-E prompts using ChatGPT in Python.
- How to Automatize your Twitter News Account with OpenAI ChatGPT and NewsAPI in PythonThis tutorial guides you through creating an intelligent bot fetching and sharing relevant news updates on Twitter.
- Building a Conversational Voice Bot with Azure OpenAI and Python: The Future of Human and Machine InteractionLearn how to build a conversational voice bot in Python with the latest models from Azure OpenAI and Azure AI Speech Services.
- Building "Chat with your Data" Apps using Embeddings, ChatGPT, and Cosmos DB for Mongo DB vCoreUse OpenAI to enable users to chat with your business data by learning how to build a custom ChatGPT using Cosmos Mongo DB vCore and Python.
- Build a High-Performing Movie Recommender System using Collaborative Filtering in PythonThis article shows how to build a recommender system for movies with python. The approach used is based on collaborative filtering.
- Create a Personalized Movie Recommendation Engine using Content-based Filtering in PythonThis article shows how to employ a bag of words model and cosine similarities to create a content-based movie recommender with Python.
- Stock Market Prediction using Multivariate Time Series and Recurrent Neural Networks in PythonThis tutorial shows how to model a multivariate time series using a recurrent neural network to forecast the stock market.
- Predictive Policing: Preventing Crime in San Francisco using XGBoost and PythonThis article predicts crime types in San Francisco with the XGboost classifier in Python and displays them on a crime map of SF
- Leveraging Distributed Computing for Weather Analytics with PySparkThis tutorial teaches the basics of Big Data analytics with Pyspark, based on the ingestion, processing, and analysis of Zurich weather data.
- Geographic Heat Maps with GeoPandas: Visualizing COVID-19 Data in PythonGeographic heat maps are powerful to visualize spatial data. Learn to use heat maps with Python and GeoPandas to visualize COVID-19 data
Looking for real-world examples?
Open AIUseCaseHub →Browse 3,000+ source-linked enterprise AI implementations on AIUseCaseHub.