f84fd9245baec5fd10e6823f0f774146d56300ed
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 2 | ||
Move And Inline Method public setkFolds(kFolds Integer) : void moved from class com.datumbox.applications.nlp.TextClassifier.TrainingParameters to class com.datumbox.applications.nlp.TextClassifierTest & inlined to public testTrainAndPredict() : void | From | To | |
Move And Inline Method public setkFolds(kFolds Integer) : void moved from class com.datumbox.applications.datamodeling.Modeler.TrainingParameters to class com.datumbox.applications.nlp.TextClassifierTest & inlined to public testTrainAndPredict() : void | From | To | |
Rename Variable | 1 | ||
Rename Variable result : List<Object> to testDataset : Dataset in method public testTrainAndPredict() : void in class com.datumbox.applications.nlp.TextClassifierTest | From | To | |
Change Return Type | 1 | ||
Change Return Type List<Object> to Dataset in method public predict(datasetURI URI) : Dataset in class com.datumbox.applications.nlp.TextClassifier | From | To | |
Change Variable Type | 1 | ||
Change Variable Type result : List<Object> to testDataset : Dataset in method public testTrainAndPredict() : void in class com.datumbox.applications.nlp.TextClassifierTest | From | To | |
Extract Method | 1 | ||
Extract Method protected getPredictions(testDataset Dataset) : BaseMLmodel.ValidationMetrics extracted from public validate(dataset Map<Object,URI>) : BaseMLmodel.ValidationMetrics in class com.datumbox.applications.nlp.TextClassifier | From | To |