AI Lab OS/Smart Fruit Sorter
๐ŸŽ๐ŸŒ

Smart Fruit Sorter

A real AI classification experiment. Students train, test, improve and explain.

CBSE Class 7CISCE Class 935โ€“45 minBrowser MLNo installation

About the results shown here: Smart Fruit Sorter produces real ML results that vary between runs. Results are not pre-scripted. Each student gets their own actual accuracy values based on their real training run. Accuracy figures shown anywhere on this page are illustrative examples only.

The Experiment, Step by Step

Every student runs the same structured sequence, but sees their own real results.

01

Inspect the Dataset

Examine real labelled fruit photographs. Count apple vs banana examples. Note that images come from multiple varieties.

What students see: actual images, counts, source attribution.

02

Understand Labels

Learn what a label tells the AI. Each training image is labelled Apple or Banana. The model learns from these labels.

Key concept: a label is the correct category for an example.

03

Train Version 1

Click Train. Real ML training runs in the browser using MobileNet and TensorFlow.js. Takes ~15โ€“60 seconds depending on the device.

No cloud. No internet required for ML. Each student gets their own result.

04

Test on Unseen Images

The classifier is evaluated on photographs it has never seen before. Accuracy and per-class recognition rates are displayed.

Results vary between runs. This is accurate โ€” ML is not deterministic.

05

Inspect Errors

Students observe that banana recognition is typically lower than apple recognition. They are asked: why might this be?

No cause is revealed yet. Students must observe and form a hypothesis.

06

Discover Data Representation

Students learn that Version 1 training used only one banana variety. The model has not seen different-looking bananas.

Key concept: representation โ€” variety in training data matters, not just count.

07

Improve the Dataset

More banana examples from multiple varieties are added to the training set. Students see the new images.

Students understand the intervention they are making.

08

Train Version 2

A new model trains on the improved dataset. ML runs again in the browser.

Same architecture, more varied data.

09

Compare V1 vs V2

Side-by-side comparison of Version 1 and Version 2 accuracy, per-class recognition, and dataset counts.

Values are real runtime results โ€” not pre-scripted scores.

10

Reflect and Explain

Students answer three reflection questions in their own words about what they observed, what they changed, and what evidence they have.

No AI-generated answers. AI Tutor guides but does not write for the student.

11

Teacher Reviews Evidence

Teacher opens the evidence in a central review. They see exact V1/V2 metrics, banana recognition rates, and the student's reflection.

Teacher marks EVIDENCE_SUFFICIENT or NEEDS_FOLLOW_UP with an optional note.

Key AI Concepts Covered

Classification

Sorting inputs into named categories โ€” the most common form of supervised ML.

Training data

The labelled examples a model learns from.

Labels

The correct categories assigned to training examples.

Evaluation

Testing a model on data it has never seen to measure real-world performance.

Data representation

Whether training data reflects the full range of real-world variation.

Dataset improvement

Deliberately adding varied examples to close a representation gap.

These concepts are designed around relevant CBSE Class 7 AI learning objectives. The experiment does not claim to cover the full CBSE syllabus independently.

Try Smart Fruit Sorter now

The full experiment is live in your browser. No login required.