Activa JavaScript para disfrutar de los vídeos de la Mediateca.
Text recognition with Machine Learning for Kids - Contenido educativo
Ajuste de pantallaEl ajuste de pantalla se aprecia al ver el vídeo en pantalla completa. Elige la presentación que más te guste:
so today we're gonna learn how to create make me so make me happy as a machine learning tool
00:00:06
and so let's begin first of all you have to go to the machine learning for kids shortcode UK
00:00:22
in your web browser and then click login if you don't have the login ID and password if you don't
00:00:29
know how to set up it you can go to the setup video and look at there okay so
00:00:37
I'm gonna log in and with my credentials logging it okay so once you are logged
00:00:44
in you have to go to your projects and all your projects will be mentioned here
00:00:55
okay so we will as you can see I have already created some projects and we
00:01:03
gonna create a new project so click on add a new project and just name this
00:01:10
project whatever you want make me happy happy and this is a text based learning
00:01:18
model so we will select text and in the language will keep English and then we
00:01:27
click create okay so once you have your project make me happy you can click on
00:01:33
this project and then you will have three options first of all is train then
00:01:40
learn and test then make so first of all we will train this model since it's a
00:01:47
learning bit learning model based on text will train it okay so in order to
00:01:51
train you have to add some buckets or training data in order to do that we
00:01:57
have will add a new label and name this label as happy and then we'll create
00:02:03
another label and we'll name it as sad now we can add multiple examples in
00:02:13
these in these buckets that will make our character happy or sad so I can
00:02:20
write ice cream in the happy I can write lunch in the happy I can write holidays
00:02:30
we have all these examples set up we can go back to the project and then we can
00:02:43
learn and test the data we have just given to the machine learning model so
00:02:50
we'll add this train new machine learning model and it will create it
00:02:55
will train the model based on the data given by us and it's gonna take it will
00:02:59
take some time and for that we can wait and it will once it's done okay so once
00:03:07
it's done training the model it will shift this training to trained and we
00:03:14
can proceed from there okay so as you can see the training model has been done
00:03:20
and it's available for the use and it will be deleted by the next day so we
00:03:25
have to use this training model and our examples will be saved in that project
00:03:31
but in order to retrain in order to use this model again after this date we have
00:03:36
to retrain the model okay so we can test it here and if I write idiot it will be
00:03:40
recognized as sad with 85% confidence and if I write here football it will be
00:03:48
recognized as happy so we can test this model and if the model is not up to
00:03:59
scratch up to our limit up to our requirements we can just go back and add
00:04:05
more examples and then retrain this model so that this model is up to our
00:04:10
requirements okay so we can go back to the project and click on make now in
00:04:14
order to in order to use this model we will use scratch 3 but you can use
00:04:20
scratch Python anything you like and we're going to just open scratch 3 okay
00:04:24
so as you can see this is the default scratch 3 interface there is a sprite
00:04:31
and it's a cat we can move this type and first of all we will delete this stripe
00:04:37
and create a new stripe and paint okay so this will be our model will name its
00:04:42
costume one to be okay and it will be our default face and will create a face
00:04:50
like shape and just make sure that it looks like a face so that okay so one
00:05:00
nice bigger one eye smaller it doesn't matter so this is our okay face then we
00:05:14
can duplicate this sprite and change its name to happy and we'll grab a
00:05:21
the brush increase the brush size and create a happy face like this then we
00:05:31
can duplicate it again you can say side and we can just delete this happy face
00:05:50
and add a sad face it's simple okay so now we have three responses of our
00:06:01
character one is okay one is happy and one is sad so we'll go back to code and
00:06:10
we will go back go to control panel and we'll go to events and click on when flag is clicked
00:06:20
there are two flags as you can see this is the go flag and this is the stop flag
00:06:31
okay so it's used to run the program and this one stop is used to stop the program it's quite
00:06:35
self-explanatory
00:06:44
Okay, so then we will use
00:06:47
switch costume to okay, and then we will go to the
00:06:50
control
00:06:57
go to
00:07:00
sensing and ask
00:07:01
So the the character will ask tell me something and it will wait until you tell you until you tell it
00:07:04
Something and the your answer will be saved in this variable known as answers
00:07:16
and then we will go to control and we'll select the if-else condition now if the
00:07:22
thing we said to the character makes it happy and recognized as happy then the
00:07:35
character will change its face to happy and if it's recognized as sad the
00:07:41
character will change its face to sad so it's quite simple so we'll grab this
00:07:45
make me happy will grab this recognize text block from make me happy and when
00:07:50
put it right there and in the text in the text column of this recognize text
00:07:55
will place the answer and will go to operators and if and find equal to okay
00:08:03
and then we'll remove this 50 since we are working with text not with okay so
00:08:13
we'll place this answer into operator and if is if it if what we have written
00:08:22
is recognized as happy then then the whole thing will the character will
00:08:30
change its looks change its costume to happy otherwise it will change its
00:08:45
costume to sad now this is the basic premise of our project and as you can
00:08:54
see the project is already there and there is a happy and sad sign so we can
00:09:03
just click on run project and I'll say that you are an idiot
00:09:07
okay so as you can see that the model is sad
00:09:13
you
00:09:21
- Idioma/s:
- Materias:
- Tecnología
- Etiquetas:
- Inteligencia Artificial
- Niveles educativos:
- ▼ Mostrar / ocultar niveles
- Educación Secundaria Obligatoria
- Ordinaria
- Primer Ciclo
- Primer Curso
- Segundo Curso
- Segundo Ciclo
- Tercer Curso
- Cuarto Curso
- Diversificacion Curricular 1
- Diversificacion Curricular 2
- Primer Ciclo
- Compensatoria
- Ordinaria
- Autor/es:
- https://www.youtube.com/@procode8021
- Subido por:
- David G.
- Licencia:
- Reconocimiento - No comercial - Compartir igual
- Visualizaciones:
- 20
- Fecha:
- 20 de febrero de 2026 - 21:07
- Visibilidad:
- Público
- Centro:
- IES MARIE CURIE Loeches
- Duración:
- 10′ 08″
- Relación de aspecto:
- 1.78:1
- Resolución:
- 640x360 píxeles
- Tamaño:
- 14.88 MBytes