Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Labs

Predicting Sequences Using TensorFlow

In this lab, you will build a sequence prediction model using TensorFlow that will forecast the amount of precipitation. You will be performing the entire model creation process, from retrieving the data and formatting it properly, to designing a model architecture and training it to meet a desired metric score. This lab is designed to be used as a practice exam to test your skills in preparation for the TensorFlow Developer Certificate, and thus is a very challenging exercise. Before beginning this lab, you should have PyCharm installed on your local computer. Additionally, you should have installed all packages required by the TensorFlow Developer Certificate exam.

Lab platform
Lab Info
Level
Advanced
Last updated
Aug 10, 2025
Duration
1h 30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Retrieve and Load the Monthly Precipitation Data
    1. View the data to understand how to parse it.
    2. Retrieve the Monthly Precipitation JSON data.
    3. Load the JSON data into the program.
    4. Parse the dictionary into time steps and precipitation values.
  2. Challenge

    Normalize, Split, and Window the Dataset
    1. Review the model expectations to understand how to prepare your data.
    2. Normalize all of the data.
    3. Split the data into training, validation, and testing datasets.
    4. Convert the raw sequences into windowed sequences.
  3. Challenge

    Build and Train a Model to Predict the Precipitation
    1. Review the model expectations to understand how your model should accept and output data.
    2. Create an appropriate neural network model using Keras.
    3. Compile your model with an appropriate loss function for the problem type and data. Include any metrics you want to use to evaluate your model.
    4. Train your model to reach the desired performance. Remember to capture your history!
    5. Save the model.
  4. Challenge

    Evaluate Your Model with the Test Data
    1. Generate model statistics on the test data. Ensure you've met or exceeded the desired performance metric.
    2. Plot the predictions to see how well the model works.
    3. Plot the values from your training history.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight