...
We have to make Python3 as the defualt default version for the distro.
Firstly we have to find the directories of every for each version...$ ls /usr/bin/python* -la
In my case this example it returns a bunch of directories...
...
Of all these paths we need the ones which have only the name and the version of Pythons (2 and 3 version), without any other description.
For me In the example above the directories are...
/usr/bin/python2.7
# For Python2
...
Finally we can switch between Python versions. Running the following command, a menu will be appeared appear in order to choose the Python version that we want as default.$ sudo update-alternatives --config python
...
Choosing the selection 2 then Python3 will become the defualt default version.
We could check if Python3 has applied as default, running... $ python --version
# In my case it returns Python 3.7.3
...
But first check if there is the Download directory on your distro. If it does not there is none, then create one... $ mkdir ~/Download
$ cd ~/Download
$ sudo wget https://github.com/conda-forge/miniforge/releases/download/4.8.3-4/Miniforge3-Linux-aarch64.sh
$ bash Miniforge3-Linux-aarch64.sh
* Miniforge3 will be installed at this location: ~/miniforge3/bin/ and add it to your PATH variable.
In order to check the location of executable "conda" file, type the following...$ sudo find / -type f -name "conda"
...
Reboot the machine and login again. If you work with are using a remote machine, reboot the remote instance and use ssh to login again.
...
We need GCC and G++ compilers as dependencies to build Sklearn. $ sudo apt-get install gcc
$ sudo apt-get install g++
This app helps us to keep save the point of the process, when the connection drops. As a result, when we reconnect, we can continue from the point where our process remained was disrupted and not from the very beginning.
...
Run the example "train_diabetes" $ python train_diabetes.py 0.1 0.9
$ python train_diabetes.py 0.5 0.5
$ python train_diabetes.py 0.9 0.1
# For every one each example above the return must be something like this...
RMSE: 71.98302888908191
MAE: 60.5647520017933
R2: 0.2165516143465459
...