mvpa2.clfs.base.RegressionStatistics

Inheritance diagram of RegressionStatistics

class mvpa2.clfs.base.RegressionStatistics(**kwargs)

Class to contain information and display on regression results.

Methods

Initialize RegressionStatistics

Parameters:

targets :

Optional set of targets

predictions :

Optional set of predictions

Methods

as_string(short=False, header=True, summary=True, description=False)

‘Pretty print’ the statistics

error
plot(plot=True, plot_stats=True, splot=True)

Provide presentation of regression performance in image

Parameters:

plot : bool

Plot regular plot of values (targets/predictions)

plot_stats : bool

Print basic statistics in the title

splot : bool

Plot scatter plot

Returns:

(fig, im, cb) – figure, imshow, colorbar :