Sign in

Passionate about Data Science, AI, Programming & Math | Owner of ∇² https://www.nablasquared.com/

… and should we do this?

Background image by Johnson Martin from Pixabay
  1. Reusing existing C code from a Python program
  2. Speed up your Python program
  3. Do some low-level stuff that cannot be done directly in Python

A shortcut…


Use the Code Prettify Jupyter Extension

Background image by Free-Photos from Pixabay

Installation

pip install jupyter_contrib_nbextensions


A brief introduction to Generative Adversarial Networks

Image source: https://meme-creator.com/meme/54/epic-handshake


You can use this Jupyter extension

Background image by Free-Photos from Pixabay


Understand Logistic Regression and sharpen your PyTorch skills

  • We will rewrite the logistic regression equation so that we turn it into a least-squares linear regression problem with different labels and then, we use…


…something not as hard as you may think

TL; DR

model = tf.keras.models.Sequential([    tf.keras.layers.Dense(1, activation='sigmoid')])model.compile(loss='bce')model.fit(x_train, y_train, epochs=100)

The long way


Try this Jupyter extension

Background image by Free-Photos from Pixabay


How I learned more in 3 months rather than 4 years

Image by Sasin Tipchai from Pixabay


Sharpen your NumPy skills while learning Logistic Regression

Image by author
  • We will rewrite the logistic regression equation so that we turn it into a least-squares linear regression problem with different labels and then, we use the closed-form formula to find the weights:


The math of this method explained in detail

Image by author

Dorian Lazar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store