Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Shravankumar shravankumar147

🎯
Focusing
Block or report user

Report or block shravankumar147

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gradient-descent-intutive-understanding.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View twitter-data-analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View nlp_learnings
http://nadbordrozd.github.io/blog/2016/05/20/text-classification-with-word2vec/
https://blog.keras.io/using-pre-trained-word-embeddings-in-a-keras-model.html
https://stackoverflow.com/questions/31321209/doc2vec-how-to-get-document-vectors
http://linanqiu.github.io/2015/10/07/word2vec-sentiment/
https://rare-technologies.com/doc2vec-tutorial/
https://radimrehurek.com/gensim/models/doc2vec.html#gensim.models.doc2vec.TaggedDocument
https://www.kaggle.com/tj2552/sentiment-classification-in-5-classes-doc2vec
https://github.com/ibrahimsharaf/Doc2vec
View nlp_learnings
http://nadbordrozd.github.io/blog/2016/05/20/text-classification-with-word2vec/
https://blog.keras.io/using-pre-trained-word-embeddings-in-a-keras-model.html
https://stackoverflow.com/questions/31321209/doc2vec-how-to-get-document-vectors
http://linanqiu.github.io/2015/10/07/word2vec-sentiment/
@shravankumar147
shravankumar147 / mnist_estimator.py
Created Jul 3, 2018 — forked from peterroelants/mnist_estimator.py
Example using TensorFlow Estimator, Experiment & Dataset on MNIST data.
View mnist_estimator.py
"""Script to illustrate usage of tf.estimator.Estimator in TF v1.3"""
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data as mnist_data
from tensorflow.contrib import slim
from tensorflow.contrib.learn import ModeKeys
from tensorflow.contrib.learn import learn_runner
# Show debugging output
View build_face_dataset.py
# USAGE
# python build_face_dataset.py --cascade haarcascade_frontalface_default.xml --output dataset/adrian
# import the necessary packages
from imutils.video import VideoStream
import argparse
import imutils
import time
import cv2
import os
@shravankumar147
shravankumar147 / file_download_os.py
Created Mar 20, 2018
File download using different methods
View file_download_os.py
import os
cmd = "wget -c --progress=bar https://docs.microsoft.com/en-us/azure/cognitive-services/face/images/landmarks.1.jpg"
os.system(cmd)
@shravankumar147
shravankumar147 / get_audio.py
Created Mar 20, 2018
Extract audio from online video files
View get_audio.py
import pafy
from pydub import AudioSegment
import argparse
# construct the argument parser and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-u", "--url", required=True, help="download link")
args = vars(ap.parse_args())
View MNIST on Colaboratory using GPU.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@shravankumar147
shravankumar147 / categorical_to_integer_mapping.py
Created Dec 4, 2017
Convert categorical label to integers
View categorical_to_integer_mapping.py
iris["Species"] = iris["Species"].map({"Iris-setosa":0,"Iris-virginica":1,"Iris-versicolor":2})
You can’t perform that action at this time.