Back to your course / CR1-S05
Computing and Robotics · 1.º ESO · Learn
Data and artificial intelligence
Across nine paired sessions you will turn a question into a table, chart and classification investigation. Learn what data represents, reserve new examples and explain errors. An impressive demonstration does not replace a comparison stating sample, conditions and limits.
Your mission
Create ‘A classifier that recognizes classroom objects’: a table and chart of twenty non-personal readings, five for each zone A, B, C and D, plus a two-class object classifier. Prepare twenty different training images per class and reserve ten new tests, five per class. Calculate accuracy with its denominator, improve and compare using another new series. Explain two limits and responsible use.

Read the explanation, study the diagram and try the activity in each section. You can choose another version at any time.
Your tools
Use Google Docs for written explanations and diagrams.net for diagrams. Save the editable file as well as the evidence requested in each task.
5.1. A question gives data meaning
Learn · theory and practice
A datum is a recorded value, such as a category, date or reading. It becomes useful information when we know what it represents and which question it serves. ‘Do readings differ between zones of a model?’ requires zone, reading and conditions, not participant names. The question guides what to collect and omit. Many numbers without provenance can prevent comparison even when the table looks extensive. Define the observation and recorded features beforehand.
A sample is the collection of observations we use. Its results describe those cases, not automatically the entire school. Distinguish supplied teaching data from actual measurements. The task can use the classroom sample or twenty collected readings, five in each fictional zone A, B, C and D, with their origin recorded. For micro:bit light, the scale remains 0–255 rather than lux. Keeping orientation and procedure comparable helps investigate zones without confusing their effects with other simultaneous changes.
- Question
- Defined observation
- Necessary data
- Sample
- Limited conclusion
A table gives a location a reading of 40 without sensor, scale or conditions. We cannot interpret a comparison. The team adds provenance and discovers that one series was teaching data and another measured in class. Both can support learning, but they must be identified before drawing a conclusion about the real model.
- In Google Docs write a comparison question and define observation, necessary features and personal information you do not need to collect.
- Open Google Sheets and prepare twenty rows for the specified sample, five per zone, with documented origin and conditions.
- If collecting micro:bit readings, follow the prepared procedure and state scale 0–255; label supplied teaching data accordingly.
What besides the number is needed to interpret a reading, and why do twenty cases not automatically represent the whole school?
5.2. Tables, types and record quality
Learn · theory and practice
A table organizes observations in rows and features in columns. Each column needs a name and stable meaning. Zone is a grouping category; reading is a comparable quantity within its scale; id identifies a record. A numerical code is not necessarily a magnitude: summing identifiers does not describe light. A short dictionary explains each column, permitted values and its scale or unit. Another person can then understand the table without an oral explanation.
Checking quality means finding inconsistencies, duplicates and missing values without altering data to obtain a desired result. Do not automatically replace a missing reading with zero: zero is a value that could change the mean. Nor should an unusual value be deleted merely because it differs. Check for transcription error or different conditions and document the decision. In Sheets verify numeric recognition and consistent scales. Preserve the original sample and record changes. A tidy table helps analysis, but appearance does not guarantee the observations answer the question.
- Original record
- Type and meaning
- Review
- Documented decision
- Interpretable table
A trial copy contains two rows with the same id and an empty cell. The pair checks whether a record was duplicated or different observations were mislabeled. It does not fill the gap with zero to complete the table. It records the absence and its analytical effect. This creates traceability rather than merely visual uniformity.
- In Google Sheets organize id, zone and reading, and add a column dictionary with scale, origin and conditions.
- Review numeric values, duplicates, missing and unusual values; preserve the original and document any correction and reason in Google Docs.
- In a copy introduce a missing value and duplicate labeled as practice; explain how to detect them without inventing measurements.
Why is a numeric id not averaged like a reading, and how does a missing value differ from zero?
5.3. Summarize with means and charts
Learn · theory and practice
The arithmetic mean summarizes a series with a value obtained by adding its quantities and dividing by the number of observations used. It allows comparisons between groups, but does not by itself describe how their data varies. Two series can have the same mean and contain very different individual values. Keeping the table lets us examine minima, maxima and distribution to interpret that summary. The mean is useful when we know which observations it comes from and which question the comparison should answer.
In Google Sheets, PROMEDIO or AVERAGE calculates this value according to the language settings. The formula works with cells in the selected range, so we need to check which cells it includes and whether their readings are recognized as numbers. Text can be excluded from the calculation. The task calls for five values per zone; reviewing the range and checking one group through manual addition and division verifies that the result matches the data we intended to summarize.
A bar or column chart presents the comparison between categories visually. If each bar represents a mean per zone, the title must explain this and the axes must identify categories and numerical scale. For micro:bit light, we retain reading 0–255. Because lengths are being compared, starting at zero helps avoid exaggerating differences. Stating whether the data is supplied or measured and adding a written explanation completes the representation. The chart compares the sample studied; it neither establishes uninvestigated causes nor turns those cases into a description of the whole school.
- Readings by zone
- Sum and count
- Mean
- Labeled bar
- Limited comparison
Two fictional series, 4, 6, 8 and 6, 6, 6, both have a mean of 6. Their summary bars would have equal heights, although one varies and the other does not. The team keeps original values alongside the summary. This explains how looking only at a bar can hide information about observation consistency.
- In Google Sheets calculate each zone’s mean from its five planned values and check one group by manual addition and division.
- Create a bar or column chart with correct title, categories, axis and scale; identify sample and provenance.
- In Google Docs write one supported comparison and one claim requiring more investigation; explain what the mean hides.
What information besides two equal means is needed to judge whether the observations are similar?
5.4. A written rule and a trained model
Learn · theory and practice
For the light alert we wrote a comparison and responses. A machine-learning classifier adjusts a model using examples associated with classes. At an introductory level, training means adjusting that relationship; prediction means producing a response for an input. We do not manually write every visual feature it should use. This supports exploring tasks difficult to express through one comparison, but makes it essential to investigate supplied examples and possible clues associated with labels.
A class is a category defined for the task, such as an object type. Its meaning must be clear before gathering images. If an object combines features of both classes, agree whether it belongs to one or stays outside the experiment. Showing a label does not give the model human understanding. It may rely on shape, background, orientation or other regularities. In Teachable Machine choose two object classes and use authorized camera inputs or files without people. The goal is understanding the process and limits, not recognizing everything.
- Labeled examples
- Training
- Adjusted model
- New input
- Prediction
Two classes are always photographed against different backgrounds. The model may succeed using background cues although the team wanted object recognition. Testing the same object type on another background investigates this possibility. A changed response provides evidence to examine, but a single observation does not reveal everything the model learned.
teachable machine
Watch in short sections. Connect one explanation with the diagram and try the example in this section. The written theory lets you complete the activity without playing the video.
The video keeps its original spoken language. Use the captions available in the player if they help.
- In Google Docs compare the micro:bit alert’s input, rule and response with classifier examples, training and prediction.
- Define two object classes in Teachable Machine and specify included and excluded cases without personal data.
- In diagrams.net draw examples-labels-training-model-prediction and propose a visual clue to investigate.
Why does a correct label not establish that the model understands the object or identify the clue it used?
5.5. Separate training from new testing
Learn · theory and practice
Training and testing answer different questions. Training examples adjust the model; test examples let us observe its later responses to images it did not use for that adjustment. Reserving them before training maintains this separation. Generalizing means responding to new cases within the defined task. Repeating a known photograph can hide difficulty doing so, even when it produces the expected label. Testing needs to supply information different from what already helped build the model.
In the project we prepare twenty different training images per class and ten new tests, five per class. Variety matters alongside quantity: nearly identical burst photographs repeat one situation and provide little independence. Varying captures, orientation and background for both classes avoids associating a clue with only one category. Files are identified by object and purpose, without people’s names. The actual class is established from the agreed definition before consulting the prediction.
Test errors can guide an improvement, but that revision changes the role of the information used. If we add a test image to training, it stops being new and cannot by itself demonstrate that the repair works on other cases. We need another reserved series, with five tests per class and comparable conditions. Recording the sets used for each version lets us learn from a failure and distinguish that learning from the later check. Separation depends on actual image content, not just folder names.
- Reserve tests
- Separate training
- Model
- New test
- Unmixed record
A team uses separate training and test folders but copies the same photograph into both. Folder names alone do not guarantee separation. Reviewing thumbnails reveals the duplicate, so it prepares another reserved capture. This preserves a check with input not used to adjust the model. Organization works when it reflects actual file contents, not labels alone.
- Organize authorized object images into training and testing, with twenty per class and ten reserved new tests; check for shared files.
- In Google Docs record classes, counts, variety and each set’s purpose; show their separation in diagrams.net.
- Train in Teachable Machine using the planned set and only then test reserved examples, recording actual class before prediction.
If you add a failed test image to training, how does that change its value as evidence of improvement when reused?
5.6. Correct predictions, denominator and confidence
Learn · theory and practice
Evaluating a test requires actual class, prediction and comparison. A correct prediction matches the agreed definition. Calculate accuracy by dividing correct predictions by total tests and multiplying by one hundred. The denominator matters: seven correct out of ten differs from seven out of twenty. State conditions and tests per class too. A global result can hide a weaker category. Keeping errors guides improvement instead of displaying only favorable cases.
The result describes the tested sample; it does not guarantee a fixed percentage for every camera, classroom or object. Confidence bars or model scores are not truth certificates either. The model can be confidently wrong and assign a class to an object outside the intended categories. It need not say ‘I don’t know’ unless such behavior is designed. Checking requires a human-reviewed reference. If the first series has no errors, investigate a difficult condition without inventing failures or discarding tests that contradict a preferred conclusion.
- Actual class and prediction
- Match or error
- Correct / total
- Per-class comparison
- Limited conclusion
A fictional series has three correct out of five in one class and four out of five in the other. That is seven out of ten, or 70% in this trial. The total alone hides the class difference. An incorrect high-score prediction remains wrong: compare it with the object’s category rather than changing the reference to fit.
- In Google Sheets record ten new tests with id, actual class, prediction, result and condition; include five per class.
- Calculate overall and per-class accuracy; check one calculation manually and explain the limits in Google Docs.
- Test an out-of-class object without adding it to the main percentage and record any assigned label; investigate a difficult condition even if initial tests show no failures.
What is missing from ‘our model is 90% correct’, and why does high confidence not justify changing the actual class to match?
5.7. Investigate clues and verify improvement
Learn · theory and practice
An example set can contain imbalances or clues unrepresentative of the task. Here, bias means a data pattern favoring some situations while representing others poorly. Similar class counts help comparison but do not guarantee variety. Twenty near-identical photos may cover fewer situations than a collection planned around orientation and background changes. Investigate a clue with a hypothesis: perhaps background matters. A hypothesis is not a demonstrated cause; it needs a test changing that condition while holding others steady.
Connect improvement to the observed problem. If one class fails in an orientation, review its examples and add relevant variety without removing difficult test cases. Retrain and use another new series under comparable conditions. Changing camera, objects, background and lighting together creates several possible explanations. Record data and model changes, what remained constant and the results. Improvement may be partial or absent; explaining that with evidence teaches more than claiming success merely because images were added.
- Observed error
- Clue hypothesis
- Revised data
- Comparable new test
- Conclusion
The model fails when an object rotates. The pair adds that orientation to both classes and reserves fresh captures for checking. It keeps camera and background consistent in the final comparison. Improvement supports that data revision under those conditions, not the claim that any additional photos always help or that every rotation is solved.
- In Google Docs select an error or difficult condition and write a testable hypothesis about background, orientation or variety.
- In Teachable Machine inspect examples and make one justified revision; document the new version and retain the earlier record.
- Use a second new series with five tests per class in Sheets, keep conditions comparable and explain improvement, lack of improvement or an observed limit.
Why do many near-identical images or removal of difficult cases not demonstrate improved generalization?
5.8. Decide and document responsible use
Learn · theory and practice
A model’s suitability depends on purpose and the consequences of error. A suggestion for sorting objects can be checked visually; an important decision about people would require safeguards this experience does not provide. Before recommending use, explain who benefits, who could be harmed and how responses are reviewed. Do not add names, faces or voices to make the demonstration more impressive. Authorized objects support the same training, testing and limitation concepts without unnecessary personal data.
Documentation combines question, table, chart, classes, separate sets, results and two limitations. Distinguish actions, observations and proposals. Browser-based training does not mean the whole tool works offline or every export is private. Saving or sharing a project can change where examples and files remain; use the school-prepared configuration. Keep only what its instructions require. The final product must make the procedure reviewable through data and records without requiring a public model or claiming certified reliability.
- Purpose
- Error consequence
- Available evidence
- Human review
- Limited use
A pair proposes suggesting a storage box for two object types. It requires a person to confirm the label and excludes other materials. The same trial does not justify classifying classmates’ abilities. The difference is not merely the camera: purpose, consequences and necessary safeguards change. Responsible recommendations explain that boundary and refer to actual observations.
- In Google Docs write two evidence-based limitations and a recommendation stating purpose, human review and error consequences.
- With the teacher check how to save the Teachable Machine project or record and authorized examples in the designated space; publication is not required.
- Collect editable Sheets table and chart, procedure and records; each partner explains a prediction, improvement and what the data cannot establish.
What changes between suggesting an object-storage box and deciding about people, and what safeguards does your experiment not establish?
Your project and submissions
A01 · Design the solution
- Create CR1-S05_datos_A01_Apellidos in Google Docs with question, purpose, variables, classes and necessary non-personal data.
- Prepare a workshop table and initial labeled chart in Sheets; explain numbers, categories, origin and scale.
- Separate twenty different training images per class and ten new tests, five per class; run a first classifier trial and record actual class and prediction.
- Include process diagram, correct/total plan, file protection and retention, sources, individual contribution and a proposed limited use.
What to submit
- Dossier, editable initial table and chart with a comparison linked to the question.
- Identified training and test sets, class definitions and an executed first trial with new cases.
- Recording and retention plan, limited use, sources and individual explanation.
A02 · A classifier that recognizes classroom objects
- Complete twenty Sheets readings, five per zone A–D, and a labeled chart; state origin, scale and a limited comparison.
- Train both classes and record ten new tests, five per class, with actual class, prediction, correct/error and conditions; calculate overall and per-class accuracy.
- Investigate background or orientation, improve one class’s examples according to the problem and check with a second comparable new series. Do not hide difficult cases or invent failures.
- In CR1-S05_datos_A02_Apellidos explain two limitations and responsible use. Keep table, chart and recoverable model or record with sources; each partner explains and modifies a part.
What to submit
- Editable twenty-reading table and chart with an explained comparison.
- Model or training record, two new test series, denominator-based calculation and condition-change analysis.
- Verified improvement, two limitations, responsible recommendation and individual contributions; consult published rubrics.
Before you submit
- I explain each column and distinguish category, measurement, identifier, missing value and zero.
- I check the mean and build a chart showing provenance and scale.
- I distinguish written rule, training and prediction and keep new tests separate.
- I calculate overall and per-class accuracy with denominators without treating confidence as truth.
- I investigate a clue, compare an improvement and communicate limits and purpose. These are student review descriptors, not additional official criteria.
Templates and files
Open the blank A01 or A02 template and make your own copy in Google Docs. Keep the editable file from your project platform as well.
These reusable templates help you organise your work. Follow the specific instructions and evidence list for this unit; remove fields that do not apply. The blank master is read-only. Keep your answers private and share them only as your teacher instructs.
A01 · Design the solution
Make your own copy in Google Docs · View the blank template
- Dossier, editable initial table and chart with a comparison linked to the question.
- Identified training and test sets, class definitions and an executed first trial with new cases.
- Recording and retention plan, limited use, sources and individual explanation.
A02 · A classifier that recognizes classroom objects
Make your own copy in Google Docs · View the blank template
- Editable twenty-reading table and chart with an explained comparison.
- Model or training record, two new test series, denominator-based calculation and condition-change analysis.
- Verified improvement, two limitations, responsible recommendation and individual contributions; consult published rubrics.
Classroom rubrics
The classroom assessment reference is preserved below in its original Spanish. Use the checklist above to prepare your work and ask your teacher about any descriptor you need to clarify.
Consultar la rúbrica de A01
Diseño y microprueba
CYR.1.4.1 Tabla y representación de datos
Conocer la naturaleza de los distintos tipos de datos generados hoy en día, siendo capaces de analizarlos, visualizarlos y compararlos, empleando a su vez un espíritu crítico y científico.
Evidencia. Pregunta, variables, pequeña tabla y gráfico inicial realizados en el taller.
| Banda | Desempeño observable |
|---|---|
| 1–2,9 | Confunde identificadores y medidas y la tabla no permite responder a la pregunta. |
| 3–4,9 | Identifica una variable, pero mezcla unidades o el gráfico no coincide con sus datos. |
| 5–6,9 | Distingue número y categoría, organiza una muestra en tabla y gráfico con etiquetas y explica una comparación vinculada a la pregunta. |
| 7–8,9 | Revisa un duplicado, ausencia o escala y explica cómo cambia la interpretación. |
| 9–10,0 | Compara dos representaciones adecuadas y justifica cuál comunica mejor la misma información sin exagerarla. |
CYR.1.4.2 Entrenamiento, prueba y uso responsable de IA
Comprender los principios básicos de funcionamiento de los agentes inteligentes y de las técnicas de aprendizaje automático, con objeto de aplicarlos para la resolución de situaciones mediante la Inteligencia Artificial de forma ética y responsable.
Evidencia. Clases, datos de entrenamiento y prueba separados y primer ensayo de clasificador.
| Banda | Desempeño observable |
|---|---|
| 1–2,9 | Confunde entrenar con comprobar y atribuye comprensión humana al modelo sin evidencia. |
| 3–4,9 | Define clases, pero reutiliza los mismos ejemplos para afirmar que funciona o no prevé un riesgo de uso. |
| 5–6,9 | Explica ejemplos, entrenamiento y predicción, ejecuta una primera prueba con ejemplos nuevos y propone un uso limitado sin datos personales. |
| 7–8,9 | Detecta una pista de fondo o desequilibrio y propone una mejora concreta de los ejemplos. |
| 9–10,0 | Diseña una prueba que cambie una condición para investigar esa pista y explica qué resultado apoyaría su hipótesis. |
Consultar la rúbrica de A02
Producto pruebas y mejora
CYR.1.4.1 Tabla y representación de datos
Conocer la naturaleza de los distintos tipos de datos generados hoy en día, siendo capaces de analizarlos, visualizarlos y compararlos, empleando a su vez un espíritu crítico y científico.
Evidencia. Tabla y gráfico editables, comparación y cálculo de aciertos con denominador.
| Banda | Desempeño observable |
|---|---|
| 1–2,9 | Los resultados no se corresponden con la tabla o se presenta un porcentaje sin base identificable. |
| 3–4,9 | Hay tabla y gráfico, pero faltan etiquetas o el porcentaje usa un total incorrecto. |
| 5–6,9 | Organiza y visualiza datos, calcula aciertos sobre total y explica una comparación con sus límites. |
| 7–8,9 | Compara resultados por clase y detecta lo que oculta el porcentaje global. |
| 9–10,0 | Revisa una conclusión ante una muestra nueva y justifica por qué no permite generalizar a todo el centro. |
CYR.1.4.2 Entrenamiento, prueba y uso responsable de IA
Comprender los principios básicos de funcionamiento de los agentes inteligentes y de las técnicas de aprendizaje automático, con objeto de aplicarlos para la resolución de situaciones mediante la Inteligencia Artificial de forma ética y responsable.
Evidencia. Modelo o registro de entrenamiento, prueba nueva, mejora y dos limitaciones.
| Banda | Desempeño observable |
|---|---|
| 1–2,9 | No distingue ejemplo aprendido y caso nuevo ni puede interpretar una predicción errónea. |
| 3–4,9 | Entrena y obtiene respuestas, pero usa el entrenamiento como prueba o considera infalible una confianza alta. |
| 5–6,9 | Entrena y prueba con datos separados, interpreta aciertos y errores y explica dos limitaciones y una condición de uso responsable. |
| 7–8,9 | Mejora los ejemplos y contrasta el cambio con nuevas pruebas manteniendo los casos difíciles. |
| 9–10,0 | Investiga un cambio de fondo o contexto, explica sus resultados y justifica cuándo el modelo debería pedir revisión humana. |
Videos, resources and sources
Tutorial LibreOffice Calc – 30/34 Gráficos (II): Diferentes tipos de gráfico y su personalización.
This optional video uses LibreOffice Calc. The chart concepts also apply to Sheets, but the menus are different. Complete this unit’s tasks in Google Sheets.
Watch in short sections. Connect one explanation with the diagram and try the example in this section. The written theory lets you complete the activity without playing the video.
The video keeps its original spoken language. Use the captions available in the player if they help.
Teachable Machine: tutorial en español
Watch in short sections. Connect one explanation with the diagram and try the example in this section. The written theory lets you complete the activity without playing the video.
The video keeps its original spoken language. Use the captions available in the player if they help.
Keep learning
- Google Sheets · PROMEDIO (AVERAGE)
- Google Sheets · Tipos de gráfico
- Google Creative Lab · Teachable Machine 2.0
- Google for Developers · Dividing the original dataset
- Google for Developers · Accuracy, recall, precision, and related metrics
- Google Creative Lab · Teachable Machine community
- Microsoft MakeCode · Light Level
Editorial revision: October 2026.
