In this video we will try to understand how to deploy a Machine Learning Model using Flask REST API python package.
Category Archives: Machine Learning
REST API using Python and Flask
In this video we will try to deploy a simple REST Service using GET and POST methods using Flask python micro service package, we will use post man tool to test our API
What is REST and Web Services
In this video we will try to understand the importance of a REST Services
Hyperparameter tuning
Before going to this blog make sure you are aware about any one of the algorithms like Decision tree, Random forest.etc….Below are the few parameters that we need for most of the algorithms. Maximum number of leaves per tree Depth of trees. Number of trees in Random forest Learning rate L1 and L2 regularization weights.Continue reading “Hyperparameter tuning”
Classification with Artificial Neural Networks(Keras)
Before start reading this blog you should be clear on the below topics ANN Deep learning frameworks How to deal with Categorical data Cross validation and Parameter tuning In this tutorial we will see how to use Keras for classification problem and we will also learn how to use cross validation and Cross Validation/parameter tuningContinue reading “Classification with Artificial Neural Networks(Keras)”
Deriving Decision Tree using Entropy (ID3 approach)
We are taking below famous data which is widely used data set for explaining Decision tree algorithm. Once we build a decision tree it looks like below. Now we will see how we achieved above decision tree using Entropy and Information gain matrices. First and foremost question is, how do I chose my root nodeContinue reading “Deriving Decision Tree using Entropy (ID3 approach)”
Sampling With/Without Replacement
Sampling is the part of inferential statistics which is use to estimate the population based on the sample data and it is one of the important technique in statistics and Machine learning.In this post we will learn about sampling with replacement and without replacement. Sampling with replacement Let’s take an example we have below listContinue reading “Sampling With/Without Replacement”
Analysis of variance (ANOVA)
Analysis of variance (ANOVA) can determine whether the means of three or more groups are different. Example 1): Let’s say they are couple of colleges in your area and you want to know which college give the best performance(In this case all students took same exam from different colleges) Example 2): Lets say I have threeContinue reading “Analysis of variance (ANOVA)”
One way ANOVA calculation
Lets calculate one way ANOVA with the below dataset. Assumptions: Null Hypothesis = H0: µ1=µ2=µ3 Alternative Hypothesis= Ha: µ1!=µ2!=µ3 Calculate the Mean: Grand Mean: Mean of all sample means or mean for all observation from all samples Between Group Variability: When you see below image the two different samples isContinue reading “One way ANOVA calculation”
Data Tranformations
In the real time most of the variables are not normally distributed and most of the parametric statistics test(ANOVA,T test, Regression etc..) are based on the assumption that the data is normally distributed therefore it do not meet the assumptions of statistical tests if the data is not normally distributed,in this case the results willContinue reading “Data Tranformations”