Category Archives: Programming

Feature reduction with Random Forest

Lets say, we have 112 Features for classifying two classes, All the features might not be needed for correlated with class. The procedure which is employed to get rid of less discriminative features is called Feature Reduction. PCA, ICA and … Continue reading

Posted in Programming, Uncategorized | Leave a comment

Awesome pandas library

Pandas is important library in python language for data analytics. In this post, we will use pandas for our machine learning task, and appreciate the ease with which things get done. Let say we have data in text data, with … Continue reading

Posted in Programming, Uncategorized | Leave a comment

Data Scrap from Google Scholar

Note: This post is only for educational purpose. In the previous post, we have learned how to scrap data from wikipedia, Data (table ) can be scrapped likewise from Google scholar too, but there is one problem with the strategy … Continue reading

Posted in Programming | Leave a comment

Scrap table from wiki

Scarpping table from wiki and saving it to .csv with python is damn easy, Its just matter of ten line code, Lets scrap table from two pages, page1: https://en.wikipedia.org/wiki/Oncogene page2: https://en.wikipedia.org/wiki/List_of_gene_prediction_software Fig1: Table from page1 Fig2: Code for scrapping table from page1 … Continue reading

Posted in Programming, Uncategorized | Tagged , , | Leave a comment

Custom made dictionary with Python

In this post, lets learn about custom made dictionary with python Requirements: BeautifulSoup, urllib2 library Vocabulary.com is excellent site, for improving vocabulary. But instead of browsing, if there is a way to grab  required data, for a set of words, … Continue reading

Posted in Programming, Uncategorized | Tagged | Leave a comment

Download YouTube videos in Python

Downloading videos from youtube is easier with python Requirements: Python, youtube_dl library Here’s the code,save it as .py and run it. Enter URL, with in ” __ ” Enter, and get link to download video

Posted in Programming, Uncategorized | Tagged | Leave a comment

Automate browsing for stock values with Python

Lets automate browsing for stock values from yahoo finance Requirements: Python, urllib2 library, 1)The Yahoo finance stock value of apple 2) URL, hints that searching various stock values in yahoo finance website can be automated. URL of apple stock: http://finance.yahoo.com/q?s=AAPL URL … Continue reading

Posted in Programming | Tagged , | Leave a comment