Machine Learning in Fedora

Table of Contents

Install Anaconda

Visit official Anaconda site

Download the installer, I am using Fedora so downloaded Anaconda3-2023.09-0-Linux-x86_64.sh

Open up the terminal and:

$ ./Anaconda3-2023.09-0-Linux-x86_64.sh

Installer will prompt you to:

  • Accept the license
  • Select installation directory
  • Modify the bashrc file

Remove auto active base:

$ conda config --set auto_activate_base false

Activate the base environment

$ conda activate base

Run Jupyter Notebook Kernel

Inside an env

$ jupyter notebook

This will open up the logs for kernel and links through which we can access the kernel.

Intall Jupyter extension:

{

“Name”: “jupyter”,

“Provider”: “mstoolsai”

}

The links to kernel I was talking about earlier copy that link will look like this:

http://localhost:8888/?token=e09dfff113436122f0a15f1a5fca530ceaa2a3d92c169bb7

Create a .ipynb file and Select Kernel option on top right corner and paste the link.

Or

You can just open this link in browser it will open up the notebook in browser also.