Posts

Showing posts from May, 2021

DOCUMENTATION ON LINEAR REGRESSION

Image
Linear Regression Linear Regression is the simplest algorithm . Linear Regression is basically modelled using a straight line . It is used with continous variable to predict values .  It is illustrated by the equation :       y= a0+a1x+ ε   This equation tells us the relationship b/w the two variables i.e x and  y.  y depends on the value of x . and where,a0 is the intercept ,a1 is Linear regression coefficient and ε = random error. Types Positive  and Negative Linear Relationship: In Positive linear relationship, if y increases then x increases.  In Negative linear relationship, if y decreases then x decreases. Our main aim in this regression is to find the best fitted line . So, basically there are three common evolution metrics to find that : Mean Absolute Error Mean Squared Error Root Mean Squared Error Linear regression is furture categorized  into two types of the algorithm: Simple Linear Regression: If only one variable(...

Ubuntu on Windows

Image
This tutorial is for all those viewers who have Windows operating system and want to install Ubuntu in their system. This tutorial will explain the following points:- How to install Virtual Machine( Virtualbox ) in your system?   How to install Linux ( Ubuntu ) in your virtual machine Let's start the process. 1.      Download the Virtualbox software from virtualbox.org . VirtualBox Website 2.      After download, install the software by double-clicking the installer. 3.      Now download Ubuntu ISO Image from https://ubuntu.com/download/desktop . Ubuntu Website 4.      After installation of VirtualBox now let us create a virtual machine so that we can install Linux on it. For Linux users, all the further steps are the same. Click on the New icon in the toolbox. 5.      Type Ubuntu in Name and click next. 6.      Set memory size as 512 MB. 7. ...

Can I make my own search engine from scratch-2

Image
Design a Crawler – 1 I had designed this article to make people understand how to Design a Crawler that will do its basic task of fetching documents from web. This article will contain information about the first phase of the search engine i.e., crawler. In my last article, I had given an overview of the search engine and its working. I will define various functions of the crawler and its working. Crawler Introduction The web crawlers crawl through the content of the webpage to crawl all the different web pages linked to it. It has many other synonyms like spider and bot. The crawler scans the content of a site, being crawled, and learns about some of the information like the domain of the website, URL, links, etc. It takes the first page of the site as a seed page, which directs the crawler to crawl all the different web pages linked to it. Here is the algorithm that defines the process that web crawler follows:- Algorithm Basic-Crawler: Input: URL Output: links stored in storage Inpu...