Giter Club home page Giter Club logo

snowpark_lab_materials_dg's Introduction

Snowpark Hands-On Lab Setup Instructions

This README provides instructions for setting up the lab environment for the Snowpark Hands-On Lab.

Prerequisites

Before starting the lab setup, ensure you have the following installed:

  • Anaconda or Miniconda
  • Visual Studio Code (VS Code)

Links

Snowflake Lab Environment: https://app.snowflake.com/sfsenorthamerica/ctripp_hol/

Create Conda Environment

To create the conda environment for the lab:

Open a terminal / cmd / powershell window, navigate to this directory and run:

conda env create -f environment.yaml

NOTE: If you need to delete and recreate the environment, you can use:

conda env remove -n snowparkml 

Update Snowflake Lab Credentials

  1. Open the hol_auth.json file in VS Code

  2. Replace X with your given user number (USERX becomes USER0 for example)

  3. Enter the password given to you by the instructor

  4. Save the file

Open Jupyter Notebook

  1. Open VS Code.

  2. Open the End-to-End Data Science using Snowpark - Easy Path.ipynb notebook.

  3. In the top right corner of the notebook, select the snowparkml kernel.

  4. Follow the instructor through the guided lab!

WAIT UNTIL THE INSTRUCTOR PROMPTS YOU TO CREATE THE STREAMLIT SETUP BEFORE PROCEEDING

Streamlit Setup

  1. Create a new Streamlit in Snowflake (SiS) app.

  2. Replace the existing code in the app with the code from SiS_application.py.

  3. Update the schema name in the code by doing a find and replace on schema0 to use your schema name.

  4. In the SiS code window, click on the "Packages" drop-down and add the following packages:

    • pydeck
    • snowpark-ml-python
  5. Run the SiS application.

You should now have the lab environment set up and ready to go. Enjoy the Snowpark Hands-On Lab!

snowpark_lab_materials_dg's People

Contributors

sfc-gh-jjordan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.