Learn data science: 18 free interactive lessons
3 to 5 minute lessons where you build real workflows: load data, clean it, visualize it, train models and measure the result. Everything runs right here in the browser, on real data.
Do it in the browser: a real data science tool, a short mission and instant feedback. No install. Optional certificate at the end of the course.
Open the courseLessons
- Your first workflowIn Orange, an analysis is a workflow. Each circle is a widget that does a single job, and each line carries data from one widget to the…
- Types of variablesEach column is a variable. Numeric ones hold measurements (petal length in cm). Categorical ones hold labels (the flower's species).
- DistributionsA histogram splits the values into ranges and counts how many rows fall into each. When we color the bars by class, we can see whether a…
- Scatter plotIn a scatter plot, each point is a row of the data. Two numeric axes show the relationship between two variables and color shows the class.
- Choosing columnsNot every variable helps. Select Columns lets only the ones you choose through. The target always moves on.
- Missing valuesReal spreadsheets have holes. Orange shows each missing value as ?. Many models cannot handle them.
- NormalizationIn the wine dataset, Proline ranges from 278 to 1680 while Hue stays near 1. For methods that measure distance, the larger column…
- Your first model: kNNA classifier learns from labeled examples and predicts the label of new ones. kNN looks at the k most similar examples and takes a vote.
- Decision treeA decision tree asks questions in sequence: "Proline > 755?", "Flavanoids ≤ 1.4?". Each leaf gives a class.
- Comparing modelsThere is no model that is best at everything. The practice is to put several in the same Test and Score and compare them on the same folds.
- Confusion matrixAccuracy hides where the model errs. The confusion matrix crosses the actual class (rows) with the predicted one (columns). The diagonal…
- k-MeansUnsupervised learning does not use the target. k-Means splits the data into k groups of nearby points and creates the Cluster column.
- How many clusters? SilhouetteWithout labels, how do you choose k? The silhouette measures, for each point, how much closer it is to its own group than to the…
- Logistic regressionDespite the name, logistic regression is a classifier. It adds up the variables with weights (coefficients) and turns the result into a…
- Random ForestA single tree is unstable: changing a few rows changes the rules. A Random Forest trains many trees, each on a sample drawn with…
- Overfitting in practiceA model that memorizes the training data looks great and fails on new data. That is overfitting.
- ROC curve and AUCA probabilistic classifier says "73% chance of churning". Where do you cut? Each threshold trades hits for false alarms.
- Feature selection with RankInformation gain measures how much knowing a variable's value reduces uncertainty about the target.