In 1959 Arthur Samuel, an American pioneer in the field of computer gaming gave the idea of Machine Learning. He defined machine learning as — “Field of study that gives computers the capability to learn without being explicitly programmed”.

In 1997, Tom Mitchell gave a mathematical and relational definition that “A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E

In Layman’s terms, Consider you are trying to toss a paper into a dustbin. In first…


Arch Linux doesn't comes with aurman inbuilt. We have to install it manually. In this article atfirst we will install aurman manually and then install a package using aurman.

AUR (Arch User Repository) is a community-driven repository for Arch Linux users, containing PKGBUILDs (package descriptions) that allow you to compile a package from source with makepkg and then install it via pacman.

How to Install any package (for example aurman) manually ?

Step 1: Install these packages

Ensure the base-devel package group is installed. And also git should be installed to download packages. python-pip required to install setuptools

sudo pacman -S base-devel git python-pip

Step 2: Install setuptools

Install setuptools using pip.

pip install setuptools

Step 3: Download AUR package

Search and download PKGBUILDs from the AUR Web Interface

git clone https://aur.archlinux.org/aurman.git

Step 4: Install aurman

  • Change dir to aurman (downloaded package)

cd aurman

This PKGBUILD can be built into installable packages using makepkg, then installed using…


Regularization is an important concept to avoid overfitting of the training data especially when the trained and tested data are much varying.

Regularization
Regularization
Regularization

Regularization is calculated by adding a “penalty” term to the RSS to achieve a lesser variance with the tested data.

Ridge Regression :

RSS modified by adding that sum of squares of the coefficients of B.

Suppose following equation is the Regression model.


How do I calculate accuracy for my regression model?

This is a common question by beginners when they make a regression predictive modeling project. But the fact is accuracy is a measure for classification, not regression. We cannot calculate accuracy for a regression model. The performance of a regression model measures by error in predictions.

For example if you are predicting value of house, you don’t want to know if the model is predicting the exact value or not. Now how you will know how close the predictions were to the expected values.

There are three error metrics that are…


In the previous article, I wrote about Linear Regression, optimization of error by taking such coefficient, Gradient Descend Method, Overdetermined System of the equation, etc. In this article, I am writing about Polynomial Regression and other things written in the title.

This is an image of Linear Regression

Linear Regression
Linear Regression
Linear Regression

What is Polynomial Regression?

Polynomial regression is a form of regression in which the relationship between the independent variable and the dependent variable is an nᵗʰ degree polynomial function of x.


Suppose equation of an machine learning model is,

Multiple Regression Model
Multiple Regression Model
Multiple Regression Model

Where B0,B1…… are parameters and 1,x1,x2…… are features, and the curve is of n dimensions.

For example, suppose following table is training datasets of a machine learning model, where x0,x1,x2,x3 are features and y is result.


In this article you will learn about maxima, minima concept, concave and convex function, finding maxima minima using hill climbing method, Gradient Descend algorithm.

Concept of Machine Learning | Optimization using Gradient Descend Method to find best values of coefficients 😉

Gradient Descend Method

Gradient Descent is an optimizing algorithm used in Machine/ Deep Learning algorithms, to minimize the objective convex function f(x) using iteration. It find the global minimum of the objective function.

Finding optima by gradient descend

Before starting this you have to know following concept of mathematics.

Concave and Convex Function


In this article, we will discuss Simple Linear Regression

Concept of Machine Learning | Introduction to Machine Learning

What is Regression?

A kind of statistical supervised learning technique for estimating the relationships between dependent & independent variables.

Dependent and Independent Variable :

Example

Here Y is dependent variable and X₁,X₂,X₃ …….,Xn are independent variable. Dependent variable is also called Outcome Variable, Response Variable and Independent Variable is also called Predictor Variable, Explanatory Variable.

Linear Regression :

Linear Regression is a statistical supervised learning technique to predict the dependent variable by forming a linear relationship with one or more independent variable.

Types of Linear Regression :

  1. Simple Linear Regression
  2. Multiple Linear Regression

1. Simple Linear Regression

Simple Linear Regression find the linear relationship between two continuous variables,One independent and one dependent…


Make an android app with kivy or kivymd, which also support Windows, Mac, Linux, and Raspberry pi also.

Kivy(Python Framework) to Android App
Kivy(Python Framework) to Android App
Kivy(Python Framework) to Android App

Step 1.

Ubuntu 18.04 user can skip this step.

Other operating system install Ubuntu 18.04 in docker, as shown bellow. Remember if you install Ubuntu in this process you don’t have to waste very much ram like virtual box.

Step 2 : Install Kivy

In ubuntu Kivy is built from the packages python-kivy, python-kivy-examples.
So install these packages by run ..

sudo apt-get install python-kivy python-kivy-examples debhelper python python-all-dev cython libgl1-mesa-dev libgles2-mesa-dev

Buildozer

Buildozer is a tool that aim to package mobiles application easily. It automates the entire build process, download the prerequisites like python-for-android, Android SDK, NDK, etc.

How to install ?

First of all download buildozer.

apt install git #…

Share files in Network.

File Sharing
File Sharing
File Sharing

In this article, I am writing how to share files b/w two PCs.

Method 1: Using Python 👐 Wireless 😉

Step 1: Download and Install Python3

Ujjwal

Myself Ujjwal Kar, worked on various technology, interested to write in It. I write technical articles on medium without partner program

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