Plot prediction-area (P-A) curves
plot_prediction_area_curves(true_positive_rate_values, proportion_of_area_values, threshold_values)
Plot prediction-area (P-A) plot.
Plots prediction area plot that can be used to evaluate mineral prospectivity maps and evidential layers. See e.g., Yousefi and Carranza (2015).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
true_positive_rate_values |
Union[ndarray, Series]
|
True positive rate values. |
required |
proportion_of_area_values |
Union[ndarray, Series]
|
Proportion of area values. |
required |
threshold_values |
Union[ndarray, Series]
|
Threshold values. |
required |
Returns:
Type | Description |
---|---|
Figure
|
P-A plot figure object. |
Raises:
Type | Description |
---|---|
InvalidParameterValueException
|
true_positive_rate_values or proportion_of_area_values values are out of bounds. |
References
Yousefi, Mahyar, and Emmanuel John M. Carranza. "Fuzzification of continuous-value spatial evidence for mineral prospectivity mapping." Computers & Geosciences 74 (2015): 97-109.
Source code in eis_toolkit/validation/plot_prediction_area_curves.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
|