En Weka, cómo dibujar la curva de aprendizaje evaluados tanto en equipo de prueba y la formación?
-
16-10-2019 - |
Pregunta
Esto es sólo para encontrar brecha sobreajuste.
Después de una investigación inicial, sólo puedo encontrar el método para dibujar la curva de aprendizaje mediante la evaluación del equipo de prueba. Sin embargo, no podía evaluar el conjunto de entrenamiento y durante las dos curvas de aprendizaje.
Solución
This is only possible with KnowledgeFlow. In WekaManual.pdf (which is included in Weka package) for version 3.7.12 there is an example in Chapter 7.4.2 "Plotting multiple ROC curves" with picture and step-by-step instructions. For other Weka versions it is the same, just find the appropriate chapter.
To give an impression on how it goes, I extracted the picture from the manual. It will draw two curves for two classifiers. For your question it is very similar. You use one classifier and then connect trainingSet to one ClassifierPerformanceEvaluator and testSet to another.