I ran the following code for a binary classification task w/ an SVM in both R (first…
Jump to turn (7)
- 1I ran the following code for a binary classification task w/ an SVM in both R (f
- 2I think the issue is, that acutally, the AUCs needs to be calculated for each it
- 3But why does the above mentioned strategy not work?
- 4I dont think it is valid. Are you sure that this is not indeed the cause for the
- 5I agree. But can you explain, why the initial way leads to so high AUC
- 6Can you again explain, why averaging with this small sample size would always le
- 7if I run the above code with only 4 samples, I get an accuracy score of 1.0 and
- User
I ran the following code for a binary classification task w/ an SVM in both R (first sample) and Python (second example).
Given randomly generated data (X) and response (Y), this code performs leave group out cross validation 1000 times. Each entry of Y is therefore the mean of the prediction across CV iterations.
Computing area under the curve should give ~0.5, since X and Y are completely random. However, this is not what we see. Area under the curve is frequently significantly higher than 0.5. The number of rows of X is very small, which can obviously cause problems.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.