Sign in

Linear Regression is a machine learning algorithm based on supervised learning. It performs a regression task. Regression models a target prediction value based on independent variables. It is mostly used for finding out the relationship between variables and forecasting. Different regression models differ based on — the kind of relationship between dependent and independent variables, they are considering and the number of independent variables being used.

Linear regression performs the task to predict a dependent variable value (y) based on a given independent variable (x). So, this regression technique finds out a linear relationship between x (input) and y(output). Hence…

Social media icon

Python scripting is one of the most fascinating things to do meanwhile learning python. Automation and controlling the browser is one of them. We will see how to log in to the Social media account using python and the power of selenium.

Selenium automates and controls browsers and it’s activity. Primarily, it is for automating web applications for testing purposes but is certainly not limited to just that. Web-based administration tasks can be automated as well. To see things happening automatically and saving time in doing useless tasks again and again.

We use selenium here to open the site of…

The task is to count the most frequent words, which extracts data from the dynamic sources. First, create a web crawler or scraper with the help of the requests module and a beautiful soup module, which will extract data from the web pages and store them in a list. There might be some undesired words or symbols, which can be filtered in order to ease the counts and get the desired results. After counting each word, we also can have the count of the most frequent words.

Modules and Library functions used:

requests: Will allow you to send HTTP requests…

Let’s start an empty file name data.csv and data.txt

$ touch data.csv
$ touch data.txt

Add data on this file simply

$ echo 'This is text'>data.txt

Add more data on existing file

$ echo 'Extra line added'>>data.txt


How to import an ipynb from another ipynb file in jupyter note book??

Let’s install

!pip install ipynb


from ipynb.fs.full. File_name import *

Make sure that every file is in same directory

Also, if you would like to import only class & function definitions from a notebook (and not the top level statements), you can use ipynb.fs.defs instead of ipynb.fs.full.


Life is a journey, behind the uncertainty. Happiness & sorrows will be your companions. You can’t deny this. The definition of life is not the same for all. Poorer’s dream is to make money. Richer’s dream is to pursuing happiness. Someone sorrows for their shoes. Someone sorrows for their leg. Ultimately everyone’s dream is to pursuing happiness.

MMR Raju

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store