Open in app

Sign In

Write

Sign In

Dorian Lazar
Dorian Lazar

559 Followers

Home

About

Published in Nabla Squared

·Jul 20, 2021

Character-level Deep Language Model with GRU/LSTM units using TensorFlow

In this article, I’m going to show how to implement GRU and LSTM units and how to build deeper RNNs using TensorFlow. I will start by explaining a little theory about GRUs, LSTMs and Deep RNNs, and then explain the code snippet by snippet. …

Rnn

13 min read

Character-level Deep Language Model with GRU/LSTM units using TensorFlow
Character-level Deep Language Model with GRU/LSTM units using TensorFlow
Rnn

13 min read


Published in Nabla Squared

·Jul 1, 2021

Creating a simple RNN from scratch with TensorFlow

And using it to build a language model for news headlines — In this article I’m going to explain first a little theory about Recurrent Neural Networks (RNNs) for those who are new to them, then I’ll show the implementation that I did using TensorFlow. We’re going to see the code snippet by snippet along with the explanations and the output that…

Rnn

12 min read

Creating a simple RNN from scratch with TensorFlow
Creating a simple RNN from scratch with TensorFlow
Rnn

12 min read


Published in Nabla Squared

·May 31, 2021

How to use C code in Python

… and should we do this? — Before seeing “how” to use C code from Python let’s see first “why” one may want to do this. If you are reading this article right now you probably want to do one or more of these 3 things: Reusing existing C code from a Python program Speed up your…

Python

9 min read

How to use C code in Python
How to use C code in Python
Python

9 min read


Published in Nabla Squared

·May 3, 2021

How to prettify your code in a Jupyter Notebook

Use the Code Prettify Jupyter Extension — Sometimes when writing code in a Jupyter notebook, you may be in a hurry and don’t want to spend time on arranging your code, using proper indentation, and stuff like that. So, wouldn’t be nice if there would be a tool to solve this issue? Well… there is. There is…

Jupyter Notebook

3 min read

How to prettify your code in a Jupyter Notebook
How to prettify your code in a Jupyter Notebook
Jupyter Notebook

3 min read


Published in Nabla Squared

·Dec 4, 2020

What are GANs?

A brief introduction to Generative Adversarial Networks — Why should we care about Generative Adversarial Networks (GANs for short) in the first place? Well… take a look at the below images.

Artificial Intelligence

7 min read

What are GANs?
What are GANs?
Artificial Intelligence

7 min read


Published in Nabla Squared

·Nov 30, 2020

How to change the autosave interval in Jupyter Notebooks

You can use this Jupyter extension — By default, a Jupyter Notebook saves your work every 2 minutes, and if you want to change this time interval you can do so by using the %autosave n magic command; where n is the number of seconds, and if n=0 this means no autosaving. But the %autosave magic command…

Artificial Intelligence

3 min read

How to change the autosave interval in Jupyter Notebooks
How to change the autosave interval in Jupyter Notebooks
Artificial Intelligence

3 min read


Published in Nabla Squared

·Nov 15, 2020

How to Implement Logistic Regression with PyTorch

Understand Logistic Regression and sharpen your PyTorch skills — To understand better what we’re going to do next, you can read my previous article about logistic regression: Understanding Logistic Regression The math of this method explained in detailtowardsdatascience.com So, what’s our plan for implementing Logistic Regression with PyTorch? Let’s first think of the underlying math that we want to use.

Machine Learning

7 min read

How to Implement Logistic Regression with PyTorch
How to Implement Logistic Regression with PyTorch
Machine Learning

7 min read


Published in Nabla Squared

·Nov 8, 2020

How to Implement Logistic Regression with TensorFlow

…something not as hard as you may think — TL; DR If you are here for a quick solution that just works, then here it is in just 5 lines of code: 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 Now, if you’re still with me it means that you don’t want just to copy + paste 5 lines…

Logistic Regression

7 min read

How to Implement Logistic Regression with TensorFlow
How to Implement Logistic Regression with TensorFlow
Logistic Regression

7 min read


Published in Nabla Squared

·Nov 5, 2020

Are you tired of scrolling down through logs when training an ML model?

Try this Jupyter extension — By default, when the output of a code cell in a Jupyter notebook gets too long, the content remains in its initial position and you have to manually scroll down to see the latest output. And this can be very annoying. For example, if you train a Machine Learning model…

Jupyter Notebook

3 min read

Are you tired of scrolling down through logs when training an ML model?
Are you tired of scrolling down through logs when training an ML model?
Jupyter Notebook

3 min read


Published in Nabla Squared

·Nov 4, 2020

The best 2 books to learn C & C++

How I learned more in 3 months rather than 4 years — Disclosure: below you’ll find affiliate links to these two books C and C++ are, despite their age, some of the most used programming languages across the globe and are among the first ones taught in schools and universities. …

C

3 min read

The best 2 books to learn C & C++
The best 2 books to learn C & C++
C

3 min read

Dorian Lazar

Dorian Lazar

559 Followers

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

Following
  • Roberto Iriondo

    Roberto Iriondo

  • Ethan Siegel

    Ethan Siegel

  • Desiree Peralta

    Desiree Peralta

  • Parul Pandey

    Parul Pandey

  • Rachel Yerks

    Rachel Yerks

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech