From 9295b4790d9593ed9096561adb1dfc3afcfc229b Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sat, 18 Jan 2020 20:16:51 +0530 Subject: Publish deploy 2020-01-18 20:16 --- about/index.html | 2 +- index.html | 2 +- posts/2019-12-08-Image-Classifier-Tensorflow/index.html | 2 +- posts/2019-12-08-Splitting-Zips/index.html | 2 +- posts/2019-12-10-TensorFlow-Model-Prediction/index.html | 2 +- posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html | 2 +- posts/2019-12-22-Fake-News-Detector/index.html | 2 +- posts/2020-01-14-Converting-between-PIL-NumPy/index.html | 2 +- posts/hello-world/index.html | 2 +- posts/index.html | 2 +- .../index.html | 2 +- publications/index.html | 2 +- tags/article/index.html | 2 +- tags/codesnippet/index.html | 2 +- tags/colab/index.html | 2 +- tags/helloworld/index.html | 2 +- tags/index.html | 2 +- tags/publication/index.html | 2 +- tags/swiftui/index.html | 2 +- tags/tensorflow/index.html | 2 +- tags/turicreate/index.html | 2 +- tags/tutorial/index.html | 2 +- tutorials/index/index.html | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/about/index.html b/about/index.html index bc95246..93c93b7 100644 --- a/about/index.html +++ b/about/index.html @@ -1 +1 @@ -About Me | Navan Chauhan

About Me

Hi! My name is Navan Chauhan. Résumé

What do I like?

\ No newline at end of file +About Me | Navan Chauhan

About Me

Hi! My name is Navan Chauhan. Résumé

What do I like?

\ No newline at end of file diff --git a/index.html b/index.html index c48185b..4774cc3 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Hi! | Navan Chauhan

Hi!

Welcome to my personal fragment of the internet.

Latest content

\ No newline at end of file +Hi! | Navan Chauhan

Hi!

Welcome to my personal fragment of the internet.

Latest content

\ No newline at end of file diff --git a/posts/2019-12-08-Image-Classifier-Tensorflow/index.html b/posts/2019-12-08-Image-Classifier-Tensorflow/index.html index 457cfde..fd0e4a0 100644 --- a/posts/2019-12-08-Image-Classifier-Tensorflow/index.html +++ b/posts/2019-12-08-Image-Classifier-Tensorflow/index.html @@ -1,4 +1,4 @@ -Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria | Navan Chauhan
🕑 4 minute read.

Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria

Done during Google Code-In. Org: Tensorflow.

Imports

%tensorflow_version 2.x #This is for telling Colab that you want to use TF 2.0, ignore if running on local machine +Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria | Navan Chauhan
🕑 4 minute read.

Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria

Done during Google Code-In. Org: Tensorflow.

Imports

%tensorflow_version 2.x #This is for telling Colab that you want to use TF 2.0, ignore if running on local machine from PIL import Image # We use the PIL Library to resize images import numpy as np diff --git a/posts/2019-12-08-Splitting-Zips/index.html b/posts/2019-12-08-Splitting-Zips/index.html index ad7ea78..b3f2fca 100644 --- a/posts/2019-12-08-Splitting-Zips/index.html +++ b/posts/2019-12-08-Splitting-Zips/index.html @@ -1,4 +1,4 @@ -Splitting ZIPs into Multiple Parts | Navan Chauhan
🕑 0 minute read.

Splitting ZIPs into Multiple Parts

Tested on macOS

Creating the archive:

zip -r -s 5 oodlesofnoodles.zip website/ +Splitting ZIPs into Multiple Parts | Navan Chauhan
🕑 0 minute read.

Splitting ZIPs into Multiple Parts

Tested on macOS

Creating the archive:

zip -r -s 5 oodlesofnoodles.zip website/

5 stands for each split files' size (in mb, kb and gb can also be specified)

For encrypting the zip:

zip -er -s 5 oodlesofnoodles.zip website diff --git a/posts/2019-12-10-TensorFlow-Model-Prediction/index.html b/posts/2019-12-10-TensorFlow-Model-Prediction/index.html index 5a31966..343bfb0 100644 --- a/posts/2019-12-10-TensorFlow-Model-Prediction/index.html +++ b/posts/2019-12-10-TensorFlow-Model-Prediction/index.html @@ -1,4 +1,4 @@ -Making Predictions using Image Classifier (TensorFlow) | Navan Chauhan
🕑 1 minute read.

Making Predictions using Image Classifier (TensorFlow)

This was tested on TF 2.x and works as of 2019-12-10

If you want to understand how to make your own custom image classifier, please refer to my previous post.

If you followed my last post, then you created a model which took an image of dimensions 50x50 as an input.

First we import the following if we have not imported these before

import cv2 +Making Predictions using Image Classifier (TensorFlow) | Navan Chauhan
🕑 1 minute read.

Making Predictions using Image Classifier (TensorFlow)

This was tested on TF 2.x and works as of 2019-12-10

If you want to understand how to make your own custom image classifier, please refer to my previous post.

If you followed my last post, then you created a model which took an image of dimensions 50x50 as an input.

First we import the following if we have not imported these before

import cv2 import os
diff --git a/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html b/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html index 1904a24..f42d4a2 100644 --- a/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html +++ b/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html @@ -1,4 +1,4 @@ -Polynomial Regression Using TensorFlow | Navan Chauhan
🕑 16 minute read.

Polynomial Regression Using TensorFlow

In this tutorial you will learn about polynomial regression and how you can implement it in Tensorflow.

In this, we will be performing polynomial regression using 5 types of equations -

  • Linear
  • Quadratic
  • Cubic
  • Quartic
  • Quintic

Regression

What is Regression?

Regression is a statistical measurement that is used to try to determine the relationship between a dependent variable (often denoted by Y), and series of varying variables (called independent variables, often denoted by X ).

What is Polynomial Regression

This is a form of Regression Analysis where the relationship between Y and X is denoted as the nth degree/power of X. Polynomial regression even fits a non-linear relationship (e.g when the points don't form a straight line).

Imports

import tensorflow.compat.v1 as tf +Polynomial Regression Using TensorFlow | Navan Chauhan
🕑 16 minute read.

Polynomial Regression Using TensorFlow

In this tutorial you will learn about polynomial regression and how you can implement it in Tensorflow.

In this, we will be performing polynomial regression using 5 types of equations -

  • Linear
  • Quadratic
  • Cubic
  • Quartic
  • Quintic

Regression

What is Regression?

Regression is a statistical measurement that is used to try to determine the relationship between a dependent variable (often denoted by Y), and series of varying variables (called independent variables, often denoted by X ).

What is Polynomial Regression

This is a form of Regression Analysis where the relationship between Y and X is denoted as the nth degree/power of X. Polynomial regression even fits a non-linear relationship (e.g when the points don't form a straight line).

Imports

import tensorflow.compat.v1 as tf tf.disable_v2_behavior() import matplotlib.pyplot as plt import numpy as np diff --git a/posts/2019-12-22-Fake-News-Detector/index.html b/posts/2019-12-22-Fake-News-Detector/index.html index c47ec61..a9dca16 100644 --- a/posts/2019-12-22-Fake-News-Detector/index.html +++ b/posts/2019-12-22-Fake-News-Detector/index.html @@ -1,4 +1,4 @@ -Building a Fake News Detector with Turicreate | Navan Chauhan
🕑 6 minute read.

Building a Fake News Detector with Turicreate

In this tutorial we will build a fake news detecting app from scratch, using Turicreate for the machine learning model and SwiftUI for building the app

Note: These commands are written as if you are running a jupyter notebook.

Building the Machine Learning Model

Data Gathering

To build a classifier, you need a lot of data. George McIntire (GH: @joolsa) has created a wonderful dataset containing the headline, body and wheter it is fake or real. Whenever you are looking for a dataset, always try searching on Kaggle and GitHub before you start building your own

Dependencies

I used a Google Colab instance for training my model. If you also plan on using Google Colab then I reccomend choosing a GPU Instance (It is Free) This allows you to train the model on the GPU. Turicreat is built on top of Apache's MXNet Framework, for us to use GPU we need to install a CUDA compatible MXNet package.

!pip install turicreate +Building a Fake News Detector with Turicreate | Navan Chauhan
🕑 6 minute read.

Building a Fake News Detector with Turicreate

In this tutorial we will build a fake news detecting app from scratch, using Turicreate for the machine learning model and SwiftUI for building the app

Note: These commands are written as if you are running a jupyter notebook.

Building the Machine Learning Model

Data Gathering

To build a classifier, you need a lot of data. George McIntire (GH: @joolsa) has created a wonderful dataset containing the headline, body and wheter it is fake or real. Whenever you are looking for a dataset, always try searching on Kaggle and GitHub before you start building your own

Dependencies

I used a Google Colab instance for training my model. If you also plan on using Google Colab then I reccomend choosing a GPU Instance (It is Free) This allows you to train the model on the GPU. Turicreat is built on top of Apache's MXNet Framework, for us to use GPU we need to install a CUDA compatible MXNet package.

!pip install turicreate !pip uninstall -y mxnet !pip install mxnet-cu100==1.4.0.post0
diff --git a/posts/2020-01-14-Converting-between-PIL-NumPy/index.html b/posts/2020-01-14-Converting-between-PIL-NumPy/index.html index 9e21e26..77a91e7 100644 --- a/posts/2020-01-14-Converting-between-PIL-NumPy/index.html +++ b/posts/2020-01-14-Converting-between-PIL-NumPy/index.html @@ -1,4 +1,4 @@ -Converting between image and NumPy array | Navan Chauhan
🕑 0 minute read.

Converting between image and NumPy array

import numpy +Converting between image and NumPy array | Navan Chauhan
🕑 0 minute read.

Converting between image and NumPy array

import numpy import PIL # Convert PIL Image to NumPy array diff --git a/posts/hello-world/index.html b/posts/hello-world/index.html index f581dcf..f9f8f79 100644 --- a/posts/hello-world/index.html +++ b/posts/hello-world/index.html @@ -1 +1 @@ -Hello World | Navan Chauhan
🕑 0 minute read.

Hello World

Why a Hello World post?

Just re-did the entire website using Publish (Publish by John Sundell). So, a new hello world post :)

Tagged with:
\ No newline at end of file +Hello World | Navan Chauhan
🕑 0 minute read.

Hello World

Why a Hello World post?

Just re-did the entire website using Publish (Publish by John Sundell). So, a new hello world post :)

Tagged with:
\ No newline at end of file diff --git a/posts/index.html b/posts/index.html index 69bd527..aaa7a8f 100644 --- a/posts/index.html +++ b/posts/index.html @@ -1 +1 @@ -Posts | Navan Chauhan

Posts

Tips, tricks and tutorials which I think might be useful.

\ No newline at end of file +Posts | Navan Chauhan

Posts

Tips, tricks and tutorials which I think might be useful.

\ No newline at end of file diff --git a/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html b/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html index 4e97617..6c4c0c2 100644 --- a/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html +++ b/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html @@ -1,4 +1,4 @@ -Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response | Navan Chauhan
🕑 1 minute read.

Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response

Based on the project showcased at Toyota Hackathon, IITD - 17/18th December 2018

Download paper here

Recommended citation:

ATP

Chauhan, N. (2019). &quot;Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response.&quot; <i>International Research Journal of Engineering and Technology (IRJET), 6(5)</i>. +Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response | Navan Chauhan
🕑 1 minute read.

Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response

Based on the project showcased at Toyota Hackathon, IITD - 17/18th December 2018

Download paper here

Recommended citation:

ATP

Chauhan, N. (2019). &quot;Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response.&quot; <i>International Research Journal of Engineering and Technology (IRJET), 6(5)</i>.

BibTeX

@article{chauhan_2019, title={Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response}, volume={6}, url={https://www.irjet.net/archives/V6/i5/IRJET-V6I5318.pdf}, number={5}, journal={International Research Journal of Engineering and Technology (IRJET)}, author={Chauhan, Navan}, year={2019}} diff --git a/publications/index.html b/publications/index.html index 413b6d0..e9d9062 100644 --- a/publications/index.html +++ b/publications/index.html @@ -1 +1 @@ -Publications | Navan Chauhan

Publications

Hopefully these grow with time, I already have tons of drafts ready. As I am currently studying in school, this allows me to experiment in Physics, Chemistry and Computer Science. I have started using LaTeX now ;)

\ No newline at end of file +Publications | Navan Chauhan

Publications

Hopefully these grow with time, I already have tons of drafts ready. As I am currently studying in school, this allows me to experiment in Physics, Chemistry and Computer Science. I have started using LaTeX now ;)

\ No newline at end of file diff --git a/tags/article/index.html b/tags/article/index.html index 3111fc1..426faa1 100644 --- a/tags/article/index.html +++ b/tags/article/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with article

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with article

Browse all tags
\ No newline at end of file diff --git a/tags/codesnippet/index.html b/tags/codesnippet/index.html index ded55e9..edad8ab 100644 --- a/tags/codesnippet/index.html +++ b/tags/codesnippet/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with code-snippet

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with code-snippet

Browse all tags
\ No newline at end of file diff --git a/tags/colab/index.html b/tags/colab/index.html index d6d83e5..bd0cbc6 100644 --- a/tags/colab/index.html +++ b/tags/colab/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with colab

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with colab

Browse all tags
\ No newline at end of file diff --git a/tags/helloworld/index.html b/tags/helloworld/index.html index 4a96954..2f04641 100644 --- a/tags/helloworld/index.html +++ b/tags/helloworld/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with hello-world

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with hello-world

Browse all tags
\ No newline at end of file diff --git a/tags/index.html b/tags/index.html index e1d7e2b..0bcce69 100644 --- a/tags/index.html +++ b/tags/index.html @@ -1 +1 @@ -Navan Chauhan
\ No newline at end of file +Navan Chauhan
\ No newline at end of file diff --git a/tags/publication/index.html b/tags/publication/index.html index e784801..1ab5578 100644 --- a/tags/publication/index.html +++ b/tags/publication/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with publication

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with publication

Browse all tags
\ No newline at end of file diff --git a/tags/swiftui/index.html b/tags/swiftui/index.html index dbcb5fb..6939a13 100644 --- a/tags/swiftui/index.html +++ b/tags/swiftui/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with swiftUI

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with swiftUI

Browse all tags
\ No newline at end of file diff --git a/tags/tensorflow/index.html b/tags/tensorflow/index.html index 26de0c6..b6668dd 100644 --- a/tags/tensorflow/index.html +++ b/tags/tensorflow/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with tensorflow

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with tensorflow

Browse all tags
\ No newline at end of file diff --git a/tags/turicreate/index.html b/tags/turicreate/index.html index e0337b5..bb23d5f 100644 --- a/tags/turicreate/index.html +++ b/tags/turicreate/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with turicreate

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with turicreate

Browse all tags
\ No newline at end of file diff --git a/tags/tutorial/index.html b/tags/tutorial/index.html index 1d5290b..ef6d29b 100644 --- a/tags/tutorial/index.html +++ b/tags/tutorial/index.html @@ -1 +1 @@ -Navan Chauhan

Tagged with tutorial

Browse all tags
\ No newline at end of file +Navan Chauhan

Tagged with tutorial

Browse all tags
\ No newline at end of file diff --git a/tutorials/index/index.html b/tutorials/index/index.html index 7f7ed6e..566be2a 100644 --- a/tutorials/index/index.html +++ b/tutorials/index/index.html @@ -1 +1 @@ -Tutorials | Navan Chauhan
\ No newline at end of file +Tutorials | Navan Chauhan
\ No newline at end of file -- cgit v1.2.3