Latest articles
Standard notations for Deep Learning
Cheat Sheet Deep learning_PyTorch
torch.matmul(a, b) # multiples torch tensors a and b * # element-wise multiplication between two torch tensorstorch.eye(n) # creates an identity torch tensor with shape (n, n) torch.zeros(n, m) # creates a torch tensor of zeros with shape (n, m) torc...
Deep Learning_Loss Functions
A loss function is a function L:(z,y)∈R×Y⟼L(z,y)∈R that takes as inputs the predicted value z corresponding to the real data value y and outputs how different they are. The common loss functions are summed up in the table below: Least squared errorLo...
To resolve MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
If you want to have a fix for it, install and use mysql2 (instead of mysql) and use: npm un mysql && npm i mysql2 and mysql = require('mysql2');
Step by step instructions to install MySQL on macOS using Homebrew
How to install Homebrew on ARM processor in Apple M1 chip processor
Before installing Homebrew you will need to install Rosetta2 emulator for the new ARM silicon (M1 chip). 1- install Rosetta2 via terminal using command line : /usr/sbin/softwareupdate --install-rosetta --agree-to-license This will install rosetta2 . ...
Algorithms and Data structure 2, Gold Smith, University of London Recurrence algorithms
Summary of Week 5 and 6 by Mind Map:
How to resolve the issue: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions] on Visual Studio code
In VS Code: File>>Preference>>Settings>>Extensions find C_Cpp>Default:Cpp Standard drop down menu set that to c++11