Command Palette
Search for a command to run...
Latest articles
- Aug 9, 20231 min read
Standard notations for Deep Learning
Aug 9, 20231 min readCheat 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...
Aug 9, 20231 min readDeep 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...
Aug 9, 20231 min readTo 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');
Nov 15, 20211 min readStep by step instructions to install MySQL on macOS using Homebrew
Nov 13, 20211 min readHow 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 . ...
Nov 13, 20211 min readAlgorithms and Data structure 2, Gold Smith, University of London Recurrence algorithms
Summary of Week 5 and 6 by Mind Map:
May 4, 20211 min readHow 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
Apr 22, 20211 min read