Type | Name | |
---|---|---|
This is a draft workflow to try to create a line plot that shows model parameter on the x-axis and accuracy on the y-axis, with lines added for both training data and test data. The plot can be used to explain concepts of overfitting and underfitting.
It would be better if the outer loop was the cross validation and the inner loop looped through the parameters, because each parameter would then be trained and tested on the exact same sets of data. Alternatively, maybe there is a way to set the X-Partitioner to produce the same sets of splits for each iteration of the outer (parameters) loop.