Machine learning in Python with scikit-learn
22 Apr 2024
25 Apr 2024
This hands-on workshop will provide you with the basics of machine learning using Python.
Machine learning is the field devoted to methods and algorithms that ‘learn’ from data. It can be applied to a vast range of different domains, from linguistics to physics and from medical imaging to history.
This workshop covers the basics of machine learning in a practical and hands-on manner, so that upon completion, you will be able to train your first machine learning models and understand what next steps to take to improve them.
We start with data exploration and prepare the data so that it is suitable for machine learning. Then we learn how to train a model on the data using scikit-learn. We learn how to select the best model from the trained models and how to use different machine learning models (like linear regression, logistic regression, and decision tree models). Finally, we discuss some of the best practices when starting your own machine learning project.
The workshop is based on the teaching style of the Carpentries, and learners will follow along while the instructors write the code on screen. More information can be found on the workshop website (will be activated once registration is live, usually 3 weeks before the start of the workshop).
Cancellation and No-Show Policy
Please be advised that by signing up, you agree to our Cancellation and No-Show Policy, which states that cancellations made less than 2 workings days prior to the event will incur a no-show fee. Please read the full policy here for more details.
The workshop is aimed at PhD candidates and other researchers or research software engineers. We offer tickets for researchers who are affiliated with Dutch research institutions. We offer separate tickets for researchers working in industry. We do not accept registrations by undergraduate students. If you are affiliated to a foreign research institution or if you are not sure which ticket applies to you, please send us an email.
Ticket prices are as follows:
- For participants affiliated with Dutch research institutions: €175,00
- For participants from industry: €525,00
The course aims to be accessible without a strong technical background.
This course is for you if:
- You have basic knowledge of Python programming: defining variables, writing functions, importing modules. Some prior experience with the NumPy, pandas and Matplotlib libraries is recommended but not required.
- You want to learn how to setup a full machine learning pipeline in Python for various machine learning tasks.
- You want to get an intuition of basic machine learning concepts, such as train-test data splits, model training and evaluation, different machine learning algorithms, overfitting/underfitting, bias-variance trade-off.
This course is not for you if:
- You already have experience with machine learning or its concepts, this is really an introduction for people that have never done machine learning or only just started but need more guidance.
- You want to get a solid mathematical understanding of machine learning theory. This course aims to quickly get participants comfortable applying machine learning in practice, we therefore only cover the basis of theoretical concepts without going into depth.
- You want to learn about deep learning – You want to learn about more advanced data preprocessing, like data cleaning, handling missing values etcetera. We only cover the basics of data preprocessing that are needed to setup a machine learning pipeline.
Also have a look at the syllabus to see what topics we will cover.
If you are uncertain whether this course is for you, please send us an email.
Machine learning concepts
- What is machine learning?
- Different types of machine learning
- Big picture of machine learning models
- General pipeline
The predictive modeling pipeline
- Tabular data exploration
- Fitting a scikit-learn model on numerical data
- Handling categorical data
Selecting the best model
- Overfitting and underfitting
- Validation and learning curves
- Bias versus variance trade-off
Machine learning algorithms
- Intuitions on linear models
- Intuitions on tree-based models
Machine learning best practices
- Data hygiene
- Correct evaluation
- How to keep your machine learning project organised
This training will take place online. The instructors will provide you with the information you will need to connect to this meeting.