Skip to content
Snippets Groups Projects
Commit 6125ead5 authored by sharanb2's avatar sharanb2
Browse files

Add README.md

parents
No related branches found
No related tags found
No related merge requests found
The two-dimensional data X ∈ R2 in each class is generated from
a mixture of 10 different bivariate Gaussian distributions with uncorrelated
components and different means
The code generates a training sample of size 200 and a test sample of size 10,000, and
calculates the training and test errors (the averaged 0/1 error)
for the following four procedures:
• Linear regression with cut-off value 0.5,
• quadratic regression with cut-off value 0.5,
• kNN classification with k chosen by 10-fold cross-validation, and
• the Bayes rule
Files:
Self_data_generating_classfier - R code that generates data, calculates the error for the four procedures and creates a box plot
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment