Projects related to random topics in Machine Learning and Deep Learning
Assuming you have python and pip installed
Creating virtual environment with pipenv Brad YLink & Brad pipenv Cheatsheet
- Install pipenv ->
pip3 install pipenv - Creating and activating vir env ->
pipenv shell - Installing packages ->
pipenv install packagename - Installing dev packages ->
pipenv install packagename --dev - Installing all the packages ->
pipenv install -r requirements.txt - Run Jupyterlab ->
jupyter lab
- Install virtual environment ->
pip3 install virtualenv - Create the virtual env ->
python3 -m virtualenv mlearning - Activate the virutal env ->
source mlearning/bin/activate - Install all the packages ->
pip3 install -r requirements.txt - Run jupyterlab ->
jupyter lab
- Create new environment:
conda create -n mlearning python=3.8 - Activate the environment:
conda activate mlearning - Install all libraries through pip:
pip install -r requirements.txt - Create new ipython kernel:
ipython kernel install --user --name mlearning
- Check which package needs update ->
pip-reviewpip-review GitHub link - If uninstall needed ->
pip/pip3 uninstall <packagename> - If update is needed ->
pip/pip3 install <packagename> -U