Mastering git, Part 13, Detached HEAD in Git

Detached HEAD Before everything, let’s have a look at some stuff. Everything in Git is about commits, and many git commands accept commits as a parameter, i.e.

We have to understand how to reference commits. Hash The SHA-1 hash of a commit is the most straightforward method to refer to it. In the

Mastering git, Part 13, Detached HEAD in Git Read More »

SSH connection to Google Colaboratory and Transfering files from Google Drive

Do like to access the Google Colaboratory directly from your machine? Running your script via terminal and having shell access? Then there is a good news, just do the followings: SSH to Google Colaboratory 1. Install colab_ssh on Google Colaboratory

Add cloudflared and password for root user:

2. Install cloudflared on your machine …

SSH connection to Google Colaboratory and Transfering files from Google Drive Read More »

Developing Redis applications with C++

I have found the following libraries to develop redis applications with c++ : hiredis (only available for c) redis-plus-plus (based on hiredis, available for C++) cpp-redis Asynchronous Multi-Platform, no dependency Installation of redis-plus-plus First lets install hiredis

Then we install redis-plus-plus

Using redis-plus-plus in your application I have created the following CMake to …

Developing Redis applications with C++ Read More »

Metrics for Evaluating Machine Learning Models – Classification

Confusion Matrix Let’s say we have a binary classifier cats and non- cats, we have 1100 test images, 1000 non cats, 100 cats. The output of the classifier is either Positive  which means “cat” or Negative which  means non-cat. The following is called confusion matrix: How to interpret these term is as follows: Correctness of …

Metrics for Evaluating Machine Learning Models – Classification Read More »