Course content for the elective Artificial Intelligence I, covering foundational AI concepts and applied exercises.
Check the required knowledge and set up your programming environment to be ready for this module.
Learn core Python programming concepts essential for data analysis and AI.
- Python Basics: Understand fundamental data types (integers, floats, strings, booleans) and basic operations in Python.
- Data Structures: Work with lists, tuples, dictionaries, and sets to organise and process data.
- Control Flow: Use if-else statements, loops, and list comprehensions for program logic.
- Object Orientation: Define classes and objects to structure your code efficiently.
- Additionals: earn map, filter, reduce, decorators, context managers, ... to write cleaner and more efficient Python code.
Learn to handle, analyse, and visualise data using powerful Python libraries essential for AI and data science.
- Numpy: Learn to create and manipulate arrays and perform efficient numerical operations.
- Pandas: Work with DataFrames to analyse, filter, and aggregate tabular data easily.
- Matpltlib: Create basic plots like line graphs, histograms, and scatter plots for data visualisation.
- Seaborn: Generate advanced and aesthetically pleasing statistical plots to explore data insights quickly.
- Preprocessing: Clean and prepare data for analysis or machine learning by handling missing values, encoding categories, and transforming features with Pandas.
- Additional Libraries and Tools: Explore other useful libraries and tools (e.g. Dask, DuckDB).
Learn the fundamentals of building, training, and evaluating machine learning models using scikit-learn.
- Data Preparation: Prepare data for machine learning by cleaning, encoding, and splitting datasets effectively.
- Machine Learning: Build and train models using scikit-learn to make predictions and uncover patterns in data.
- Evaluation: Assess model performance with appropriate metrics to understand and improve results.
Apply your knowledge in practical assessments to demonstrate your skills in data analysis, visualisation, preprocessing, and machine learning.
- Assessment 1: Use Numpy and Pandas to analyse and preprocess data, then create clear visualisations with Matplotlib and Seaborn to demonstrate your understanding of data handling workflows.
- Assessment 2: Apply scikit-learn to build, train, and evaluate machine learning models, showcasing your ability to implement a complete ML pipeline on real datasets.
Note
Use the included dev container to automatically install all the necessary dev tools and dependencies. To use this you first need to install docker under Linux or WSL2 under windows.
-
Clone the repository:
git clone https://github.com/Paul-B98/python-project-template.git cd python-project-template
-
Open the project in Visual Studio Code:
code .
-
Reopen in container:
- Press
F1
to open the command palette. - Type
Remote-Containers: Reopen in Container
and select it. - VS Code will build the Docker container defined in the
.devcontainer
folder and open the project inside the container.
- Press
- Contributing: A guide on how to contribute to this project, including commit conventions and best practices.