Some Graphical Comparison and Results (with fitted polynomials) of Naive Bayes, Logistic Regression and Linear Regression

This article provides results, graphical plots and analysis of Linear, Logistic Regression, Naive Bayes for three kinds of datasets, namely, (i) Linearly Seperable, (ii) Non-Linearly Seperable and (iii) Banana Data. This article plays a good role for new mentors, academicians and students to understand the process of experimentations and analysis, result presentation in a MachineContinue reading “Some Graphical Comparison and Results (with fitted polynomials) of Naive Bayes, Logistic Regression and Linear Regression”

Matlab Code for Logistic Regression

% % this is for two class problem for more than two class code changes% % ————-Parameters————-% numIteration =1000; The Number of maximum iterations% % errorBound = 0.0001; This is the permissible error.% The experiments have been done keep in view both the error condition% reached or maximum iteration reached whichever comes first.% % etaContinue reading “Matlab Code for Logistic Regression”

Matlab Linear Regression Sample Code

Three type of datasets have been analyzed for this technique: (1) Linearly separable data(LS) (2) Inseparable data(NLS) (3) Banana data (BD) For a binary classification problem. Split the datasets into 70% training and 30% testing randomly in five folds. This is a old code done as a part of an assignment. Compatibility with newer versionsContinue reading “Matlab Linear Regression Sample Code”