Saturday, November 28, 2020

Visualizing Decision tree in Python (with codes included)

List of libraries required to be installed (if not already installed). Here installation is done through Jupyter Notebook. For terminal use only "pip install library-name".#import sys#!{sys.executable} -m pip install numpy#!{sys.executable} -m pip install pandas#!{sys.executable} -m pip install sklearn#!{sys.executable} -m pip install hvplot#!{sys.executable} -m pip install...

Tuesday, November 10, 2020

Python code to extract Temporal Expression from a text (Using Regular Expression)

#Method 1Code:import reprint('Enter the text:')text = input()months='(Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)?|May|Jun(?:e)?|Jul(?:y)?|Aug(?:ust)?|Sep(?:tember)?|Oct(?:ober)?|(Nov|Dec)(?:ember)?)'re1=r'\w?((mor|eve)(?:ning)|after(?:noon)?|(mid)?night|today|tomorrow|(yester|every)(?:day))' re2=r'\d?\w*(ago|after|before|now)'re3=r'((\d{1,2}(st|nd|rd|th)\s?)?(%s\s?)(\d{1,2})?)' % monthsre4=r'\d{1,2}\s?[a|p]m're5=r'(\d{1,2}(:\d{2})?\s?((hour|minute|second|hr|min|sec)(?:s)?))'re6=r'(\d{1,2}/\d{1,2}/\d{4})|(\d{4}/\d{1,2}/\d{1,2})'re7=r'(([0-1]?[0-9]|2[0-3]):[0-5][0-9])'re8=r'\d{4}'relist=...

Python code to extract temporal expression from the text using Regular E...

...

Sunday, September 13, 2020

Raptor tutorial 3: Using loop in raptor

...

Raptor tutorial 2: If/else statement in raptor

...

Raptor tutorial 1: Find the sum of two numbers

...

Thursday, September 3, 2020

Solved: Program not working in Codeblocks

...

Make attractive CV online for absolutely free. No watermarks added

...

Tuesday, August 25, 2020

Shotcut: Easiest way to add scrolling text and credits in video

...

Monday, August 24, 2020

Problem solved: Codeblocks compiler not working or not found? Install co...

...

Saturday, August 22, 2020

Create facebook home page using HTML and CSS

...

Best online Course for an absolute beginner of Data Science with certifi...

...

When and how to draw scatter plot in excel

...

When and how to draw line chart in excel?

...

When and how to draw histogram in excel

...

Get free Online courses from above 50 leading websites like Oracle, IBM,...

...

How to Hardcode Subtitle to Video?

...

100% working: How to recover the permanently deleted files for free?

...

Make online CV and Cover letter for free

...

10 best websites to get free online courses from udemy, lynda, bitdegree...

...

How to get Udemy courses for free with certificates?

...

Jobs portal web application

...

Solved! search.yahoo.com browser hijacker

...

Easy way Compress video without decreasing quality of the video

...

easily migrate a django DB from SQLite to MYSQL

...

Could not find any executable java binary. Please install java in your P...

...

Cricket database project (with CRUD operations) developed using php and ...

...

Add different types of page no. in a single document of MS Word.

...

How to make Picture gallery using Lightbox library ?

...

Solved: Fatal error: Uncaught Error: Call to undefined function mysqli_...

...

Advanced Hospital Management System Project with Data Visualization tools

...

Wednesday, August 19, 2020

Get courses of Asian Development Bank and Microsoft virtual internship f...

...

Get fully funded scholarships for studying Masters/ PHD in USA, Europe, ...

...

Sunday, August 16, 2020

Various features of Markdown in Jupyter Notebook

Output of Emphasis:Output of List:Output of Links:This is an example of link to my BlogOutput of Images:Output of table:Output of Blockquotes:Output of Horizontal Rule:Output of Youtube links:Output of Headers:Get the Github link he...

Web scrapping using a single line of code in python

We will scrap the data of wikipedia using a single line of code in python. No extra libraries are required. Only Pandas can do the job.Step 1: Install and import pandas libraryimport numpy as np Step 2: Read the data of web (here Wikipedia website) using pd.read_html('Website link here')[integer]df = pd.read_html('https://en.wikipedia.org/wiki/COVID-19_pandemic_by_country_and_territory')[1]Step...

Build a colorful Word Cloud in python using mask image

Word cloud is a data visualization tool in data science. It is very efficient to visualize various words in a text according to the quantum of their repetition within the text. The stopwords have been ignored while visualization. A text file called "skill.txt" has been used to visualize. Mask image of map of Nepal has been used to visualize the word cloud.The libraries required...