Class 10 AI Unit 4: Statistical Data & No-Code AI with Orange – Notes | CBSE Code 417

Class 10 · AI (417) · Part B · Unit 4
Statistical Data & No-Code AI

What statistical data is, no-code vs low-code AI, and a full walkthrough of the Palmer Penguins project in Orange and Excel.

Practical-only unit28 hrs PracticalPractical Exam + Viva
๐Ÿ“Œ How this unit is tested

Unit 4 has no theory marks. It is assessed in your practical exam and viva. So focus on doing it hands-on in Orange and Excel, and on explaining what each step does.

In this chapter
  1. What is statistical data?
  2. No-code vs low-code AI
  3. Orange Data Mining tool: install, screen, widgets, Test and Score, add-ons
  4. Case study: Palmer Penguins
  5. Quick analysis in MS Excel
๐Ÿ“– Cricket is statistics

Strike rate, economy, average, run rate — every IPL broadcast is full of statistics. Commentators predict "this team needs 11 an over" by crunching numbers. When an AI does the same thing with tables of numbers, it's working with statistical data. And in this unit, you'll build such an AI without writing a single line of code.

1. What is Statistical Data?

๐Ÿ”‘ Definition

Statistical data is data that is collected, organised and analysed using numbers and statistics to find patterns, trends and relationships. It is usually stored in tables with rows (records) and columns (features).

Examples: census data, weather records, school results, cricket scores, hospital patient records, shop sales.

Data Science is the AI domain that uses statistical data to make predictions and decisions, like price comparison sites, weather forecasting and sales prediction.

2. No-Code vs Low-Code AI

๐Ÿงฉ

No-Code AI

Build AI models using drag-and-drop blocks and visual interfaces. No programming at all.
Examples: Orange Data Mining, Teachable Machine, Lobe.

๐Ÿ”ง

Low-Code AI

Mostly visual tools, but you can add a little code to customise.
Examples: Azure Machine Learning designer, Google AutoML.

PointNo-CodeLow-Code
Coding neededNoneA little
Who uses itBeginners, teachers, business usersUsers with some programming knowledge
FlexibilityLimited to built-in featuresMore control and customisation
SpeedVery fast to buildFast, but takes a bit longer

3. Orange Data Mining: Your No-Code AI Lab

๐Ÿ“– Think of LEGO blocks

With LEGO, you don't make bricks — you just snap ready-made bricks together to build a house. Orange works the same way. Each "brick" is called a widget (load data, draw a chart, train a model). You snap widgets together with lines, and data flows through them. The finished model is called a workflow. No typing code at all.

What is Orange?

  • A free, open-source tool for data visualisation, machine learning and data mining.
  • Developed by the Bioinformatics Laboratory, University of Ljubljana (Slovenia). It is built on Python.
  • Works on Windows, macOS and Linux.
  • Uses visual programming: you build models by dragging and connecting widgets instead of writing code.
  • Used in CBSE AI for Unit 4 (Statistical Data), Unit 5 (Image Analytics) and Unit 6 (Sentiment Analysis).

Why is it great for students?

๐Ÿงฉ

No coding

Focus on AI concepts, not syntax errors.

๐Ÿ‘€

Instant visuals

Change one setting and see charts and results update immediately.

๐Ÿ”

Follows the AI Project Cycle

Load → explore → model → evaluate → predict, all on one screen.

๐Ÿ“ฆ

Add-ons

Extra widget packs for text, images, time series and more.

Installing Orange

  1. Go to orangedatamining.com/download.
  2. Windows: download the standalone installer (.exe) and install it. It works without admin rights. A portable .zip version is also available for school lab computers.
  3. Mac: download the .dmg for your chip (Apple Silicon or Intel).
  4. With Anaconda: conda install orange3 (after adding the conda-forge channel), then run python -m Orange.canvas.
  5. Add-ons (needed for Units 5 and 6): open Orange → Options → Add-ons → tick Text Mining and Image Analytics → OK → restart Orange.

The Orange screen

๐ŸŠ Orange — Untitled.ows WIDGET TOOLBOX ๐Ÿ“ Data ๐Ÿ”ง Transform ๐Ÿ“Š Visualize ๐Ÿง  Model ๐ŸŽฏ Evaluate ๐Ÿซง Unsupervised CANVAS (build your workflow here) File Tree Test &Score Drag a widget from the left → drop on canvas → drag from its right edge to the next widget to connect
The two main parts of Orange: the widget toolbox (left) and the canvas (right).

Widget categories you'll use

CategoryWhat it's forWidgets for your practical
๐Ÿ“ DataLoad and view dataFile, Datasets, Data Table, Data Info
๐Ÿ”ง TransformClean and prepare dataSelect Columns, Select Rows, Impute (fill missing values), Data Sampler
๐Ÿ“Š VisualizeExplore data with chartsDistributions, Scatter Plot, Box Plot, Bar Plot
๐Ÿง  ModelMachine learning algorithmskNN, Tree, Logistic Regression, Naive Bayes, Random Forest
๐ŸŽฏ EvaluateCheck how good the model isTest and Score, Confusion Matrix, Predictions
๐Ÿซง UnsupervisedFind groups without labelsk-Means, Hierarchical Clustering, Distance Matrix

A typical workflow

๐Ÿ“ File Data Table Scatter Plot kNN / Tree Test & Score Confusion Matrix Explore the data Train + evaluate
A typical Orange workflow for a classification project. The moving lines show data flowing between widgets.

Step by step: build the Penguins workflow

  1. Load data: drag a File widget onto the canvas, double-click it and browse to the penguins CSV. In the columns list, make sure species has role target.
  2. Look at it: connect File → Data Table. Check the number of rows and spot missing values ("?").
  3. Clean it: add Impute (or Select Rows) to handle missing values.
  4. Explore: connect Distributions and Scatter Plot. Try flipper length vs body mass and colour points by species.
  5. Choose models: drag kNN, Tree and Logistic Regression onto the canvas.
  6. Train and evaluate: connect the data and all three models to Test and Score.
  7. See the mistakes: connect Test and Score → Confusion Matrix.
  8. Predict: connect a model and new data to Predictions.
  9. Save: File → Save As. Orange workflows are saved as .ows files. Take screenshots for your practical file.

Understanding Test and Score

This widget trains each model and tests it for you. You choose how to split the data:

Sampling methodMeaning (simple words)
Cross-validationSplits data into folds (usually 5 or 10). Each fold takes a turn as test data. Most reliable.
Random samplingRandomly splits into training and testing sets in a chosen ratio, e.g., 80:20 (the train-test split from Unit 3).
Leave-one-outTests on one row at a time. Very thorough but slow.
Test on train dataTests on the same data it learned from. Scores look too good, so don't trust it.
Test on test dataUses a separate test file you provide.

The results table shows scores like CA (Classification Accuracy), AUC (Area under ROC), F1, Precision and Recall — the same metrics you learned in Unit 3. The model with the highest scores is usually the best choice.

๐Ÿ”‘ Reading the Confusion Matrix widget

Rows show the actual species and columns show the predicted species. Numbers on the diagonal are correct predictions; numbers off the diagonal are mistakes. If Adelie is often predicted as Chinstrap, those two species are being confused.

Add-ons for other units

๐Ÿ–ผ️

Image Analytics (Unit 5)

Import Images → Image Embedding → Test and Score. Used for the coral bleaching project.

๐Ÿ’ฌ

Text Mining (Unit 6)

Corpus → Preprocess Text → Sentiment Analysis → Word Cloud. Used for the sentiment analysis project.

✅ Handy tips
  • Double-click any widget to open its settings and results.
  • Right-click on an empty part of the canvas to search for a widget by name.
  • A widget with a warning or error sign usually means data isn't connected or the target isn't set.
  • Explore the built-in example workflows from the Welcome screen to practise.

4. Case Study: Palmer Penguins ๐Ÿง

๐Ÿ“– The problem

Scientists in Antarctica study three species of penguins: Adelie, Chinstrap and Gentoo. Identifying them by eye takes an expert. Can an AI identify the species just from body measurements? Let's follow the AI Project Cycle.

AI Project Cycle stageWhat we do in the penguin project
Problem ScopingResearchers need a quick way to identify the species of a penguin from its measurements.
Data AcquisitionLoad the Palmer Penguins dataset (about 344 penguins) using the File widget. Features: island, bill length, bill depth, flipper length, body mass, sex. Label: species.
Data ExplorationUse Data Table, Distributions and Scatter Plot. You'll see Gentoo penguins are heavier and have longer flippers. Also handle missing values.
ModellingIt's a classification problem (output = species). Connect models like kNN, Tree, Logistic Regression.
EvaluationUse Test & Score to compare classification accuracy (CA), precision, recall, F1. Use Confusion Matrix to see which species get mixed up.
DeploymentUse the Predictions widget to predict the species of new penguins.
Flipper length → Body mass → AdelieChinstrapGentoo
Illustration of the pattern you'll see in Orange: Gentoo penguins form a separate group, so the model can separate them easily.

5. Quick Analysis in MS Excel

Before Orange, the handbook also asks you to explore the data in Excel. Useful functions:

FunctionWhat it findsExample
=AVERAGE(D2:D345)MeanAverage flipper length
=MEDIAN(D2:D345)Middle valueMedian body mass
=MODE(C2:C345)Most frequent valueMost common bill depth
=MAX() / =MIN()Largest / smallestHeaviest penguin
=COUNTIF(A2:A345,"Gentoo")Counts matching rowsNumber of Gentoo penguins

Then use Insert → Chart (column, scatter, pie) to visualise it.

๐Ÿงช
Do it yourself: download Orange from orangedatamining.com. Load the Palmer Penguins CSV your teacher shares into the File widget, and build the workflow shown above. Take screenshots for your practical file.
⚠️ Viva traps

1) Species is the target/label, not a feature. 2) This is classification, not regression, because the output is a category. 3) CA in Test & Score means Classification Accuracy.

Viva Practice

Q1. What is a widget in Orange?

A building block that performs one task, like loading data or training a model.

Q2. Name the target variable in the Palmer Penguins dataset.

Species (Adelie, Chinstrap, Gentoo).

Q3. Which widget compares the performance of different models?

Test & Score.

Q4. Give two differences between no-code and low-code AI.

No-code needs no programming and is less flexible; low-code needs some coding and gives more customisation.

Q5. Who developed Orange and what is a workflow file saved as?

Bioinformatics Laboratory, University of Ljubljana; saved as .ows.

Q6. Which sampling method in Test and Score is most reliable?

Cross-validation.

Q7. How do you install the Text Mining add-on?

Options → Add-ons → tick Text Mining → OK → restart Orange.

⚡ One-minute revision

  • Statistical data = numerical data analysed to find patterns.
  • No-code: no programming (Orange, Teachable Machine, Lobe). Low-code: a little coding.
  • Orange = free, open-source, visual programming (Univ. of Ljubljana). Widgets + workflow (.ows): File → Data Table/Scatter Plot → Model → Test and Score → Confusion Matrix → Predictions.
  • Widget groups: Data, Transform, Visualize, Model, Evaluate, Unsupervised. Add-ons: Text Mining, Image Analytics.
  • Palmer Penguins: classify Adelie, Chinstrap, Gentoo from bill, flipper and body mass.
  • Excel: AVERAGE, MEDIAN, MODE, MAX, MIN, COUNTIF + charts.

Done reading? Test yourself on AI Unit 4 in board-exam style.

๐Ÿ“ Take the Practice PaperNext: AI Unit 5 ›๐Ÿ  Class 10 Hub

Comments

๐Ÿงญ Explore AI Topics

Keep learning with our topic guides for CBSE AI (Classes 6–12).

๐Ÿ”„ AI Project Cycle๐Ÿ Python for AI๐Ÿค– Machine Learning๐Ÿ’ฌ NLP๐Ÿ‘️ Computer Vision⚖️ AI Ethics