Bases: pycast.errors.baseerrormeasure.BaseErrorMeasure
Implements the mean squared error measure.
This is the error calculation function that gets called by BaseErrorMeasure.get_error().
Both parameters will be correct at this time.
Parameters: |
|
---|---|
Returns: | Returns a float representing the error. |
Return type: | float |
Calculates the error between the two given values.
Parameters: |
|
---|---|
Returns: | Returns the error measure of the two given values. |
Return type: | numeric |