CNN-Convolution Neural Network

When we enter into the world of computer vision we have to understand how a computer understands an image. A colored image has three channels and a 2D data in each channel. When the image size increases Machine learning start suffering from the curse of dimensionality, in order to overcome from this Deep learning comes up …

Classification

Classification is a technique in which we classify series of objects. Let us assume we have six categories of samples of wine and we need to make a model to classify the wine quality. Import the libraries required for the analysis, import numpy as np import pandas as pd from keras.models import Sequential from keras.layers …

keras-Tensorboard

Many times we need to visualize our model on Tensorboard, for this we have to save our model and at runtime check out the performance. Here is the code for a simple linear regression using Keras and tensorboard. import Libraries: import keras import numpy as np from pandas import read_csv from keras.models import Sequential from …

Imbalanced-Data Set for Classification

Machine Learning algorithms unsatisfied problem with classifiers when faced with imbalanced datasets. Let’s take an example of the Red-wine problem. The Data we have is as: Here we have a data set in which we have different six categories, but not balanced categories. So, in the case available the samples are not equally balanced so …

Machine learning classification

Introduction Supervised machine learning has two types: 1) Regression,  2) Classification In regression, we deal with the continuous data type that means the predicted value or target value will be the type of continuous in nature but in classification problems, we basically deal with target value as discrete in nature it belongs to some class. Let’s understand some use …

Heteroscedasticity (Heteroskedasticity)

Heteroscedasticity refers to the condition in which the variability of a variable is unequal across the range of values of a second variable that predicts it. A scatterplot of these variables will often create a cone-like shape, as the scatter (or variability) of the dependent variable (DV) widens or narrows as the value of the independent …