Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.4 KB

Project_Guideline.md

File metadata and controls

29 lines (24 loc) · 1.4 KB

End-to-End Machine Learning Project Guideline

Screenshot 2021-06-24 at 23 01 18

Table of contents

1. Project Environment Setup

Screenshot 2021-06-24 at 23 00 56

1.1. Setup Conda Env

1.1.1. Create Conda Env from Stratch

conda create --prefix ./env pandas numpy matplotlib scikit-learn jupyter

1.1.2. Create Conda Env from a base env

  • Step 1: Go to Base Env folder and export the base conda env to environment.yml file
    • Note: open environment.yml file by vim environment.yml to open the file → To exit Vim: press ESC then ; then q to exit
conda env list #to list down current env
conda activate /Users/quannguyen/Data_Science/Conda/env #Activate the base conda env
conda env export > environment.yml #Export base conda env to environment.yml file
conda deactivate #de-activate env once done
  • Step 2: Go to current project folder and create the env based on environment.yml file
conda env create --prefix ./env -f environment.yml

(Back to top)