- Install the Copilot and Copilot Chat extensions.
- Open a new folder in VSCode, copy the sim.py into your workspace
Question: You've been handed the sim.py
from a data scientist leaving the company, and need to present their work to leadership in 2mins time, what does the code do???
- Complete the
# TODO:
comments with Copilot - Which hyper-parameter is the least reasonable?
- Add type hints to the functions
- Run the script and create data
- Introduce an error to your file, use the
/fix
command to resolve it.
- Use copilot to design a plan for analysis
- Create an analysis and EDA
- Translate your graphs to another graphing library
- Write an executive summary of the findings (with AI) to add to your notebook.
- Use
gh copilot suggest
to convert your notebook to pdf to send to a business stakeholder- Use native VSCode export if dependencies aren't friendly :)
- Get copilot to help suggest models to fit
- Fit a model to the data, plot predictions
- Create a streamlit app (or similar) to generate a prediction
- Create a dockerfile to host the streamlit app
- (Optional) Run the container locally
- Try being specific with your container requirements.
- Create a
deploy.yml
file to deploy the container to a target of your choosing- Can you use other deployments you've done as context to help it create a new one?
- Python <> R
- SQL <> Python
- Upgrade package versions