Class to contain information and display on regression results.
Methods
add(targets, predictions[, estimates]) | Add new results to the set of known results |
as_string([short, header, summary, description]) | ‘Pretty print’ the statistics |
compute() | Actually compute the confusion matrix based on all the sets |
plot([plot, plot_stats, splot]) | Provide presentation of regression performance in image |
reset() | Cleans summary – all data/sets are wiped out |
Initialize RegressionStatistics
Parameters: | targets :
predictions :
|
---|
Methods
add(targets, predictions[, estimates]) | Add new results to the set of known results |
as_string([short, header, summary, description]) | ‘Pretty print’ the statistics |
compute() | Actually compute the confusion matrix based on all the sets |
plot([plot, plot_stats, splot]) | Provide presentation of regression performance in image |
reset() | Cleans summary – all data/sets are wiped out |
‘Pretty print’ the statistics
Provide presentation of regression performance in image
Parameters: | plot : bool
plot_stats : bool
splot : bool
|
---|---|
Returns: | (fig, im, cb) – figure, imshow, colorbar : |