Publications by MK

Assignment #8

26.04.2024

Problem 5 We have seen that we can fit an SVM with a non-linear kernel in order to perform classification using a non-linear decision boundary. We will now see that we can also obtain a non-linear decision boundary by performing logistic regression using non-linear transformations of the features. a. Generate a data set with n = 500 and p = 2, suc...

4319 sym R (10144 sym/52 pcs) 26 img

Assignment #7

19.04.2024

Problem 3 Consider the Gini index, classification error, and entropy in a simple classification setting with two classes. Create a single plot that displays each of these quantities as a function of p̂ m1. The xaxis should display p̂ m1, ranging from 0 to 1, and the y-axis should display the value of the Gini index, classification error, and entr...

4429 sym R (6209 sym/42 pcs) 6 img

Assignment #5

22.03.2024

For parts (a) through (c), indicate which of i. through iv. is correct. Justify your answer. More flexible and hence will give improved prediction ac- curacy when its increase in bias is less than its decrease in variance. More flexible and hence will give improved prediction accu- racy when its increase in variance is less than its decrease in bi...

5189 sym R (12008 sym/61 pcs) 6 img

Assignment #4

08.03.2024

We now review k-fold cross-validation. Explain how k-fold cross-validation is implemented. This method involves randomly dividing the observations into k groups, or folds, of approximately equal sizes. Initially, one fold serves as the validation set while the method is trained on the remaining k − 1 folds. The mean squared error (MSE1) is calc...

6911 sym R (6402 sym/41 pcs)

Demo Presentation

04.01.2024

2024-01-04 Plotly graph This interactive plot shows the speed of cars and the distances taken to stop. Thank you...

123 sym

Map - Coursera Project

13.12.2023

...

4 sym

Analyzing health and economic consequences of weather events

12.09.2023

Synopsis This report analyzes the “storm database” of the U.S. National Oceanic and Atmospheric Administration (NOAA). It aims at finding the most dangerous events/storms indicated by harmfulness for population health and economic damage. For this purpose the INJURIES and the PROPDMG data of the database are examined. Tornados are found to ...

2441 sym R (3227 sym/11 pcs) 2 img

Project Euler: problem 1

15.09.2011

To be fairly honest (assuming there are degrees of honesty), I do know a little about math and programming but I don’t know much math or any programming. I’ve loved math for a long time, but started to learn and understand fairly recently. So during the process of learning and understanding math and a little bit of programming, Shreyes and I...

3657 sym 2 img

Project Euler: problem 2

16.09.2011

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:1, 2, 3, 5, 8, 13, 21, 34, 55, 89, …By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.# Inititae a vector x with two values 1 ...

1321 sym 2 img

Introduction to Beamer

17.09.2011

A friend of mine, who is quite smart by the way (she is a PhD. student in Physics at Cambridge), recently asked me for some help with Beamer. Well most of my knowledge and code came from Utkarsh when I had started about a year ago. Initially, I had just asked him for some help with Ubuntu, then a little bit with R, and then some with LaTeX, fol...

8499 sym 2 img