Base class for clf searchlights based on basic univar. statistics
Used for GNB and M1NN Searchlights
Notes
Available conditional attributes:
(Conditional attributes enabled by default suffixed with +)
Methods
generate(ds) | Yield processing results. |
get_postproc() | Returns the post-processing node or None. |
get_space() | Query the processing space name of this node. |
reset() | |
set_postproc(node) | Assigns a post-processing node |
set_space(name) | Set the processing space name of this node. |
train(ds) | The default implementation calls _pretrain(), _train(), and finally _posttrain(). |
untrain() | Reverts changes in the state of this node caused by previous training |
Initialize the base class for “naive” searchlight classifiers
Parameters : | generator : Generator
qe : QueryEngine
errorfx : func, optional
indexsum : (‘sparse’, ‘fancy’), optional
reuse_neighbors : bool, optional
enable_ca : None or list of str
disable_ca : None or list of str
queryengine : QueryEngine
roi_ids : None or list(int) or str
null_dist : instance of distribution estimator
auto_train : bool
force_train : bool
space: str, optional :
postproc : Node instance, optional
descr : str
|
---|
Methods
generate(ds) | Yield processing results. |
get_postproc() | Returns the post-processing node or None. |
get_space() | Query the processing space name of this node. |
reset() | |
set_postproc(node) | Assigns a post-processing node |
set_space(name) | Set the processing space name of this node. |
train(ds) | The default implementation calls _pretrain(), _train(), and finally _posttrain(). |
untrain() | Reverts changes in the state of this node caused by previous training |