The function, project1.m consists of 2 functions calls.
- train_cls.m - Closed From Maximum Likehood Solution
- train_gd.m - Stochastic Gradient Descent
train_cls.m
- Has 2 functions, one for the training set and the other for the code written for the testing set.
- The output of the train_cls, for training function is Erms_cls and the inputs are values_of_training and output_training.
- The inputs for the testing function are values_of_test and output_test.
train_gd.m
- Has 2 functions, one for the training set and the other for the code written for the testing set.
- The output of the train_cls for training function is Erms_cls and the inputs are values_of_training and output_training.
- The inputs for the testing function are values_of_test and output_test.