---
title: "Sara (@Sarashahin) | Hashnode"
description: "Sara (@Sarashahin) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Sarashahin"
---

@Sarashahin

# Sara

@Sarashahin · Joined April 2021

### [Logistic Regression\_Deep learning](https://sarashahin.hashnode.dev/logistic-regressiondeep-learning?utm_source=hashnode&utm_medium=feed)

1 min read · [sarashahin.hashnode.dev](https://sarashahin.hashnode.dev/logistic-regressiondeep-learning?utm_source=hashnode&utm_medium=feed)

[Aug 9, 2023](https://hashnode.com/posts/logistic-regressiondeep-learning/64d3f14430108a9c4d1959a6)

### [Standard notations for Deep Learning](https://sarashahin.hashnode.dev/standard-notations-for-deep-learning?utm_source=hashnode&utm_medium=feed)

1 min read · [sarashahin.hashnode.dev](https://sarashahin.hashnode.dev/standard-notations-for-deep-learning?utm_source=hashnode&utm_medium=feed)

[Aug 9, 2023](https://hashnode.com/posts/standard-notations-for-deep-learning/64d3661dde709374b35f85ec)

### [Cheat Sheet Deep learning\_PyTorch](https://sarashahin.hashnode.dev/cheat-sheet-deep-learningpytorch?utm_source=hashnode&utm_medium=feed)

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...

1 min read · [sarashahin.hashnode.dev](https://sarashahin.hashnode.dev/cheat-sheet-deep-learningpytorch?utm_source=hashnode&utm_medium=feed)

[Aug 9, 2023](https://hashnode.com/posts/cheat-sheet-deep-learningpytorch/64d35e04a59ac90f4750b561)

### [Deep Learning\_Loss Functions](https://sarashahin.hashnode.dev/deep-learningloss-functions?utm_source=hashnode&utm_medium=feed)

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...

1 min read · [sarashahin.hashnode.dev](https://sarashahin.hashnode.dev/deep-learningloss-functions?utm_source=hashnode&utm_medium=feed)

[Aug 9, 2023](https://hashnode.com/posts/deep-learningloss-functions/64d35d6f00239b7adfcf5a7b)

### [To resolve MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client](https://sarashahin.hashnode.dev/to-resolve-mysql-80-client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client?utm_source=hashnode&utm_medium=feed)

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');

1 min read · [sarashahin.hashnode.dev](https://sarashahin.hashnode.dev/to-resolve-mysql-80-client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client?utm_source=hashnode&utm_medium=feed)

[Nov 15, 2021](https://hashnode.com/posts/to-resolve-mysql-80-client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client/6192c8f3fd3a1a5a01a890cf)
