This repository was created for workshop purposes. It contains machine learning code in two formats to accommodate different working environments.
- WorkshopML_Colab: Code prepared to run on Google Colab.
- WorkshopML_Local: Code intended to run on your local computer.
- A Google account
- Internet connection
- Google Drive
- Download the repository as a ZIP file from GitHub
- Extract the ZIP file on your computer
- Upload the extracted folder to your Google Drive
- Navigate to the folder in Google Drive
- Open the
WorkshopML_Colab/Workshop_Colab.ipynb
notebook by right-clicking and selecting "Open with Google Colaboratory"
Google Colab provides a ready-to-use environment with most of the required libraries pre-installed, so you can immediately start running the notebook cells.
- Python 3.9 or higher
- Jupyter Notebook
- Conda or Miniconda (for environment setup)
-
Download the repository as a ZIP file from GitHub and extract it on your computer:
cd ML_Workshop
-
Create and activate the conda environment using the provided
environment.yml
file:conda env create -f WorkshopML_Local/environment.yml conda activate ML_Workshop
-
Launch Jupyter Notebook:
jupyter notebook
-
Navigate to
WorkshopML_Local/Workshop_Local.ipynb
and open it -
Ensure you're using the correct kernel:
- In the Jupyter Notebook menu, go to Kernel > Change kernel
- Select the
ML_Workshop
kernel (which was created from the environment.yml file)
The environment.yml
file includes all necessary libraries:
- Python 3.9
- pandas
- numpy
- joblib
- matplotlib
- seaborn
- scikit-learn
- xgboost
- tensorflow
- hvplot
- holoviews
- panel
- jupyter_bokeh
- tensorflow
- Both versions of the workshop code use the
inputs
directory for data sources - Results will be saved to the
outputs
directory
If you encounter any issues or have questions, please contact:
- Kevin He ([email protected])
- Peyman Namadi ([email protected])
- Or open an issue in this repository