Fruit Classification Game

Explore colourful fruit data, train smart classifiers, test predictions, compare models, inspect mistakes, and master machine learning through playful interactive challenges at your pace.

Configure a round, study the fruit features, then classify the mystery sample.
Score0
Best: 0
Accuracy0%
0 correct
Streak0
Best: 0
Round1
Level 1
30s
Mystery fruit features

Choose a fruit
Prediction confidence
Decision explanation
A prediction explanation will appear here.
Active fruit classes
Generated fruit dataset
ClassColourWeightLengthWidthShapeTexture
Feature selection
Dataset summary
Confusion matrix
Prediction history
RoundActualPlayerModelConfidencePoints
Achievements

How classification works

A classifier learns patterns linking fruit features to labels. It estimates which known class best matches a new sample.

Training examples build the model. Testing examples measure whether those patterns generalise beyond memorised records.

Features and targets

Colour, weight, shape, size, and texture are input features. The fruit name is the target label.

Useful features separate classes consistently. Weak or noisy features can reduce confidence and increase errors.

Confidence and unknowns

Confidence represents model certainty, not guaranteed truth. Similar fruits may receive close probabilities.

The confidence threshold enables an unknown prediction. This prevents forced guesses when evidence is weak.

Evaluation guide

Accuracy measures total correctness. Precision and recall examine class-specific errors from different perspectives.

The confusion matrix reveals repeated mix-ups. Feature importance estimates which measurements influenced decisions most strongly.

Model descriptions

K-nearest neighbours

Finds similar training samples and lets nearby labels vote.

Decision tree

Uses readable feature rules and branching thresholds.

Naive Bayes

Combines feature likelihoods with class frequencies.

Logistic regression

Builds weighted class scores from numerical features.

Random forest

Averages many noisy rule-based trees.

Neural network

Uses layered weighted transformations and nonlinear activations.

Related Calculators

Spam Email ClassifierWeather Type PredictorCustomer Churn ChallengeDisease Risk ClassifierLoan Approval SimulatorAnimal Species ClassifierSentiment Classification GameHandwritten Digit Challenge

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.