• 검색 결과가 없습니다.

It’s okay if you can’t hear it

문서에서 목 차 (페이지 44-51)

교수학습활동

학습단계 수업활동 비고 시간

도입

<문제 제시> 기분에 따라 음악을 추천해주는 챗봇 앱을 만들어보자.

- Students log in App Inventor, create new project. The project name is

‘chatBot that recommends music’

* Link : ai2.appinventor.mit.edu/

- Introduce speech recognise, text to speech, extension function.

10

전개

<활동1> Design

- Students design the App’s User Interface and organize the necessary components. (Button,Label etc.)

- Instruct the component that gives the main function.

① To talk to chatbot : SpeechRecognizer, TextToSpeech ② To get the internet browser working in the app : WebViewer - In the Designer, add the components wrote.

- Distribute image files so students can set screens, icons, etc.

Configuring the icon of app.

Screen1의 Properties을 설정하는 곳에서 아이콘 이미지를 첨부 하면 완성된 앱을 다운로드 받았을 때, 첨부한 이미지가 앱 아이콘 으로 보인다. 학생들이 임의로 자신이 원하는 그림이나 사진을 가져 와 변경할 수도 있다.

Screen1 Screen2

35

<활동2> Training machine learning models to recognize text (1) ML4K(Machine Learning for Kids)

- Teacher distributes student accounts for ML4K.

* Link : http://machinelearningforkids.co.uk/

- Students log in and add properiate examples for each Label.

- Teacher trains the computer using the examples to recognize text and putting in some text to see how it is recognized based on my training.

25

학습단계 수업활동 비고 시간 (2) Use the mahcine learning model

- To add machine learning model to AppInventor project, Copy URL and fill in the Import extension

- Add the ML4K Components to Screen1

<활동3> Programming

- In the Blocks Editor, program the app’s behavior by putting blocks.

① Initialize

② SpeechRecognize

③ Emotion Recognize

45

학습단계 수업활동 비고 시간

⑤ For screen transition

⑥ Link URL

- Blocks의 Screen1을 Screen2로 바꾼다.

정리

<활동4> Build up

- From the Build menu, choose “Android App(.apk)’.

- Once the apk is built, scan the generated QR code, and install the apk on devices.

- Students run completed app on their tablets, write about advantages, limitations and ways to improve it.

20

활동지

It’s okay if you can’t hear it. Let’s feel it toge-bot!

학습 목표

사용자 인터페이스를 고려하여 앱에 필요한 컴포넌트를 구성할 수 있다.

인공지능에게 텍스트를 분류할 수 있도록 학습시킬 수 있다.

컴포넌트와 인공지능 학습모델을 가지고 노래추천 챗봇을 만들 수 있다.

Chap 1

Design

Q1. Organize and Write the components required for UI(User Interface) design below.

안내멘트를 표시할 Label, 음성 인식하는 Button, 인식한 음성을 보여주는 Label, 챗봇의 대 답을 보여주는 Label, 추천 노래를 보러가는 Button

Q2. Design the screen.

<a href='https://www.freepik.com/vectors/background'>Background vector created by rawpixel.com – www.freepik.com</a>

Chap 2

Training machine learning models to recognize text

* Link : http://machinelearningforkids.co.uk/

Chap 3

Programming

In the Blocks Editor, program the app’s behavior by putting blocks.

Chap 4

Build up

Try to build your apk, and install the apk on devices by scanning the generated QR code.

How was your apps? Think about advantages, limitations and ways to improve it of yours, and fill out below table

Does your app work right?

if its not okay, why?

your app’s advantages is...

limitations is...

way to improve it is...

평가기준

내용 평가기준 평가방법

화면 구성하기

상 앱인벤터에서 사용자 인터페이스를 고려하여 필요한 컴포넌트를 찾아 화 면을 구성할 수 있다.

산출물평가 중 앱인벤터에서 앱 설계에 필요한 컴포넌트를 찾을 수 있다.

하 앱인벤터에서 사용하는 컴포넌트들의 기능을 이해할 수 있다.

인공지능 학습

상 인공지능에게 텍스트를 학습시켜 훈련시킨 모델을 앱인벤터로 가져올 수

있다. 관찰평가

중 인공지능이 텍스트를 학습하는 과정을 이해하여 훈련시킬 수 있다.

하 인공지능이 텍스트를 학습하는 과정을 이해할 수 있다.

프로그래밍

상 앱인벤터의 컴포넌트와 블록들의 상호작용을 이해하며 노래추천 챗봇을

만들 수 있다. 과정평가,

산출물평가 중 앱인벤터 블록의 기능을 이해하며 노래추천 챗봇을 만들 수 있다.

하 시범을 따라 노래 추천 챗봇을 만들 수 있다.

문서에서 목 차 (페이지 44-51)

관련 문서