Module containing functions to compute the accuracy of a model
Interface for the accuracy function
Compute the accuracy of a model
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | predicted |
Predicted and expected values |
|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | expected |
Predicted and expected values |
Accuracy of the model
Compute the categorical accuracy of a model
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | predicted |
Predicted and expected values |
|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | expected |
Predicted and expected values |
Categorical accuracy
Compute the mean absolute error of a model
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | predicted |
Predicted and expected values |
|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | expected |
Predicted and expected values |
Mean absolute error
Compute the mean squared error of a model
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | predicted |
Predicted and expected values |
|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | expected |
Predicted and expected values |
Mean squared error
Compute the R^2 score of a model
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | predicted | ||
| real(kind=real32), | intent(in), | dimension(:,:) | :: | expected |
Compute the root mean squared error of a model
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | predicted |
Predicted and expected values |
|
| real(kind=real32), | intent(in), | dimension(:,:) | :: | expected |
Predicted and expected values |
Root mean squared error