2.1.1.3. InputResistance¶
-
class
InputResistance
(observation={'mean': None, 'std': None}, name='Input Resistance Test')[source]¶ Bases:
sciunit.tests.Test
Test the cell’s input resistance
- Parameters
score_type (<class 'sciunit.scores.complete.ZScore'>) –
description (Test the cell's input resistance) –
observation (
typing.Dict
[str
,float
]) –name (
str
) –
Attributes Summary
brief description of the test objective
Methods Summary
compute_score
(observation, prediction[, verbose])Generates a score given the observations provided in the constructor and the prediction generated by generate_prediction.
generate_prediction
(model[, verbose])Generate a prediction from a model using the required capabilities.
validate_observation
(observation)Validate the observation provided to the constructor.
Attributes Documentation
-
description
= "Test the cell's input resistance"¶ brief description of the test objective
Methods Documentation
-
compute_score
(observation, prediction, verbose=False)[source]¶ Generates a score given the observations provided in the constructor and the prediction generated by generate_prediction.
Must generate a score of score_type. No default implementation.
- Parameters
observation (
typing.Dict
[str
,float
]) –prediction (
float
) –verbose (
bool
) –
- Return type
sciunit.scores.complete.ZScore