Level · 10 challengesLive
Beginner
Ten gentle challenges — 5 machine learning, 5 AI — to get the core loop under your fingers.
- Challenge 1Train your first classifierBeginnerFit a k-nearest-neighbours model on the Iris flowers and score it on unseen data.→
- Challenge 2Split the dataBeginnerHold out a quarter of the data for testing using train_test_split.→
- Challenge 3Measure accuracyBeginnerScore predictions against the true labels with accuracy_score.→
- Challenge 4Predict a new flowerBeginnerUse a trained model to predict the class of a brand-new measurement.→
- Challenge 5Try a decision treeBeginnerSwap in a decision tree classifier on the Wine dataset and score it.→
- Challenge 6Say hello to AIBeginnerSend your first prompt to a real model with the chat() helper.→
- Challenge 7One-word answersBeginnerUse a system prompt to force a tight yes/no answer.→
- Challenge 8Translate a phraseBeginnerAsk the model to translate a phrase into Spanish.→
- Challenge 9Classify sentimentBeginnerConstrain the model to a fixed label set with a system prompt.→
- Challenge 10Summarize in one lineBeginnerUse a system prompt to constrain summary length.→