< AI and Machine Learning Module

Lesson 20: Creating an App

45 minutes

Overview

This is the fifth of a five-day sequence of lessons that prepare students for the final project. In this lesson, students import the club recommender app into App Lab and begin customizing the app. Students add a welcome screen and update the descriptions of each feature, then they can decide how they would like to further customize the app. The steps students take in this lesson are identical to the steps students will take in their final project.

Question of the Day: How can I create a friendly, easy-to-use machine learning app?

Assessment Opportunities

  1. Create an app that uses machine learning

    Level 7 has a mini-rubric that can be used to assess this objective.

CSTA K-12 Computer Science Standards (2017)
    • 2-AP-11 - Create clearly named variables that represent different data types and perform operations on their values.
    • 2-AP-12 - Design and iteratively develop programs that combine control structures, including nested loops and compound conditionals.
    • 2-AP-13 - Decompose problems and subproblems into parts to facilitate the design, implementation, and review of programs.

Agenda

Objectives

Students will be able to:
  • Create an app that uses machine learning

Links

Heads Up! Please make a copy of any documents you plan to share with students.

For the teachers

Teaching Guide

Warm Up (5 minutes)

Journal

Prompt: Hawa is ready to start building her app! She wants it to look better than some of the single-screen, black-and-white apps she’s seen. How can she design her app so it’s friendly and easy to use?

Discussion Goal: This prompt prepares students for the task they will complete today - designing an app from the data and model they prepared earlier in the week. Students should recall experiences from previous lessons. Some answers may include:

  • Adding a theme
  • Adding a welcome screen
  • Expanding the feature text beyond the one or two word default labels
  • Creating a new screen to show the result of the prediction

Remarks

This is a great list of ways to make an app friendly and easy to use! Today, we’re going to help [team name] design and customize their apps using the model we prepared earlier this week.

Question of the Day: How can I create a friendly, easy-to-use machine learning app?

Activity (35 minutes)

Code Studio: Have students log into code studio. The next series of levels will have students import their model into App Lab, then begin to customize the app to make it easier to use.

Circulate: Monitor students as they complete the levels in Code Studio. Refer students to Help and Tips section if they need a refresher on App Lab's features.

Assessment Opportunity

This level can be used as a formative assessment. A rubric is provided in the level, and written feedback can be given to students. Click here to learn more about giving feedback to students.

Wrap Up (5 minutes)

Lesson Feedback

Find a typo? Were some of the directions unclear? Have a suggestion for how to improve the flow of this lesson? We'd love to hear it! Please use the links below to provide feedback on this lesson.

Creative Commons License (CC BY-NC-SA 4.0).

This work is available under a Creative Commons License (CC BY-NC-SA 4.0).

If you are interested in licensing Code.org materials for commercial purposes contact us.