Posts

Mini Conda Setup

Miniconda is a free minimal installer for conda. It is a small bootstrap version of Anaconda that includes only conda, Python, the packages they both depend on, and a small number of other useful packages (like pip, zlib, and a few others).   Installation Following the installation tutorial in Quick Command Line Install : sudo mkdir -p /opt/miniconda3 sudo wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /opt /miniconda3/miniconda.sh sudo bash /opt /miniconda3/miniconda.sh -b -u -p /opt /miniconda3 sudo rm -rf /opt /miniconda3/miniconda.sh These previous 4 commands work even if you are installing miniconda3 inside a docker container (via distrobox), since it installs it in /opt directory.  Remember: distrobox has its own /opt directory, separated from /opt directory of the machine. Lastly: sudo /opt/miniconda3/bin/conda init bash and conda config --set auto_activate_base false  Command Lines  conda create --name {name_of_your_environment}

Complete Classification Results

Image
For a proper test of the trained neural network, we splitted our samples by users (instead of using the 0.7 / 0.3 approach). Training data: User 0 = 498 samples User 1 = 510 samples User 2 = 504 samples User 3 = 524 samples Total of 2035 samples (1425 for training + 610 for validation)   Test data: User 4 = 261 samples User 5 = 261 samples   Total of 522 samples  This way, we can ensure that all test samples were collected at a different time (with new force/torque sensor calibration) and by different users than the training samples. Learning Curves   Epoch 264/300 loss: 0.3699 - accuracy: 0.9846 val_loss: 0.4017 - val_accuracy: 0.9705   Using 1425 samples for training and 610 for validation   Confusion Matrices  Total test samples: 522 Correctly predicted: 507               Outputs Confidence Analysis          Legend:  Max confidence reached ( green line ) Mean of every confidences ( bold value ) Standard deviation (right below mean) Min confidence reached ( red line )    Accuracy