Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions scoringrules/_crps.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ def crps_beta(
obs: "ArrayLike",
a: "ArrayLike",
b: "ArrayLike",
/,
lower: "ArrayLike" = 0.0,
upper: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -560,7 +559,6 @@ def crps_binomial(
obs: "ArrayLike",
n: "ArrayLike",
prob: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -610,7 +608,6 @@ def crps_binomial(
def crps_exponential(
obs: "ArrayLike",
rate: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -658,7 +655,6 @@ def crps_exponential(

def crps_exponentialM(
obs: "ArrayLike",
/,
mass: "ArrayLike" = 0.0,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
Expand Down Expand Up @@ -724,7 +720,6 @@ def crps_2pexponential(
scale1: "ArrayLike",
scale2: "ArrayLike",
location: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -778,7 +773,6 @@ def crps_2pexponential(
def crps_gamma(
obs: "ArrayLike",
shape: "ArrayLike",
/,
rate: "ArrayLike | None" = None,
*,
scale: "ArrayLike | None" = None,
Expand Down Expand Up @@ -848,7 +842,6 @@ def crps_gamma(

def crps_csg0(
obs: "ArrayLike",
/,
shape: "ArrayLike",
rate: "ArrayLike | None" = None,
*,
Expand Down Expand Up @@ -926,7 +919,6 @@ def crps_csg0(
def crps_gev(
obs: "ArrayLike",
shape: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -1021,7 +1013,6 @@ def crps_gev(
def crps_gpd(
obs: "ArrayLike",
shape: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
mass: "ArrayLike" = 0.0,
Expand Down Expand Up @@ -1085,7 +1076,6 @@ def crps_gtclogistic(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
lmass: "ArrayLike" = 0.0,
Expand Down Expand Up @@ -1166,7 +1156,6 @@ def crps_tlogistic(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
*,
Expand Down Expand Up @@ -1210,7 +1199,6 @@ def crps_clogistic(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
*,
Expand Down Expand Up @@ -1263,7 +1251,6 @@ def crps_gtcnormal(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
lmass: "ArrayLike" = 0.0,
Expand Down Expand Up @@ -1319,7 +1306,6 @@ def crps_tnormal(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
*,
Expand Down Expand Up @@ -1361,7 +1347,6 @@ def crps_cnormal(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
*,
Expand Down Expand Up @@ -1413,7 +1398,6 @@ def crps_cnormal(
def crps_gtct(
obs: "ArrayLike",
df: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
lower: "ArrayLike" = float("-inf"),
Expand Down Expand Up @@ -1501,7 +1485,6 @@ def crps_gtct(
def crps_tt(
obs: "ArrayLike",
df: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
lower: "ArrayLike" = float("-inf"),
Expand Down Expand Up @@ -1556,7 +1539,6 @@ def crps_tt(
def crps_ct(
obs: "ArrayLike",
df: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
lower: "ArrayLike" = float("-inf"),
Expand Down Expand Up @@ -1615,7 +1597,6 @@ def crps_hypergeometric(
m: "ArrayLike",
n: "ArrayLike",
k: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -1667,7 +1648,6 @@ def crps_hypergeometric(

def crps_laplace(
obs: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -1720,7 +1700,6 @@ def crps_logistic(
obs: "ArrayLike",
mu: "ArrayLike",
sigma: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -1938,7 +1917,6 @@ def crps_mixnorm(
obs: "ArrayLike",
m: "ArrayLike",
s: "ArrayLike",
/,
w: "ArrayLike" = None,
m_axis: "ArrayLike" = -1,
*,
Expand Down Expand Up @@ -2007,7 +1985,6 @@ def crps_mixnorm(
def crps_negbinom(
obs: "ArrayLike",
n: "ArrayLike",
/,
prob: "ArrayLike | None" = None,
*,
mu: "ArrayLike | None" = None,
Expand Down Expand Up @@ -2072,7 +2049,6 @@ def crps_normal(
obs: "ArrayLike",
mu: "ArrayLike",
sigma: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -2120,7 +2096,6 @@ def crps_2pnormal(
scale1: "ArrayLike",
scale2: "ArrayLike",
location: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -2190,7 +2165,6 @@ def crps_2pnormal(
def crps_poisson(
obs: "ArrayLike",
mean: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -2236,7 +2210,6 @@ def crps_poisson(
def crps_t(
obs: "ArrayLike",
df: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -2293,7 +2266,6 @@ def crps_uniform(
obs: "ArrayLike",
min: "ArrayLike",
max: "ArrayLike",
/,
lmass: "ArrayLike" = 0.0,
umass: "ArrayLike" = 0.0,
*,
Expand Down
1 change: 0 additions & 1 deletion scoringrules/_interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def weighted_interval_score(
lower: "Array",
upper: "Array",
alpha: "Array",
/,
w_median: Optional[float] = None,
w_alpha: Optional["Array"] = None,
*,
Expand Down
21 changes: 0 additions & 21 deletions scoringrules/_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ def logs_beta(
obs: "ArrayLike",
a: "ArrayLike",
b: "ArrayLike",
/,
lower: "ArrayLike" = 0.0,
upper: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -200,7 +199,6 @@ def logs_binomial(
obs: "ArrayLike",
n: "ArrayLike",
prob: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -235,7 +233,6 @@ def logs_binomial(
def logs_exponential(
obs: "ArrayLike",
rate: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -267,7 +264,6 @@ def logs_exponential(

def logs_exponential2(
obs: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -306,7 +302,6 @@ def logs_2pexponential(
scale1: "ArrayLike",
scale2: "ArrayLike",
location: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -343,7 +338,6 @@ def logs_2pexponential(
def logs_gamma(
obs: "ArrayLike",
shape: "ArrayLike",
/,
rate: "ArrayLike | None" = None,
*,
scale: "ArrayLike | None" = None,
Expand Down Expand Up @@ -393,7 +387,6 @@ def logs_gamma(
def logs_gev(
obs: "ArrayLike",
shape: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -432,7 +425,6 @@ def logs_gev(
def logs_gpd(
obs: "ArrayLike",
shape: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -474,7 +466,6 @@ def logs_hypergeometric(
m: "ArrayLike",
n: "ArrayLike",
k: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -512,7 +503,6 @@ def logs_laplace(
obs: "ArrayLike",
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -581,7 +571,6 @@ def logs_logistic(
obs: "ArrayLike",
mu: "ArrayLike",
sigma: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -681,7 +670,6 @@ def logs_mixnorm(
obs: "ArrayLike",
m: "ArrayLike",
s: "ArrayLike",
/,
w: "ArrayLike" = None,
mc_axis: "ArrayLike" = -1,
*,
Expand Down Expand Up @@ -736,7 +724,6 @@ def logs_mixnorm(
def logs_negbinom(
obs: "ArrayLike",
n: "ArrayLike",
/,
prob: "ArrayLike | None" = None,
*,
mu: "ArrayLike | None" = None,
Expand Down Expand Up @@ -787,7 +774,6 @@ def logs_normal(
obs: "ArrayLike",
mu: "ArrayLike",
sigma: "ArrayLike",
/,
*,
negative: bool = True,
backend: "Backend" = None,
Expand Down Expand Up @@ -825,7 +811,6 @@ def logs_2pnormal(
scale1: "ArrayLike",
scale2: "ArrayLike",
location: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -861,7 +846,6 @@ def logs_2pnormal(
def logs_poisson(
obs: "ArrayLike",
mean: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down Expand Up @@ -894,7 +878,6 @@ def logs_poisson(
def logs_t(
obs: "ArrayLike",
df: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
*,
Expand Down Expand Up @@ -932,7 +915,6 @@ def logs_tlogistic(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
*,
Expand Down Expand Up @@ -972,7 +954,6 @@ def logs_tnormal(
obs: "ArrayLike",
location: "ArrayLike",
scale: "ArrayLike",
/,
lower: "ArrayLike" = float("-inf"),
upper: "ArrayLike" = float("inf"),
*,
Expand Down Expand Up @@ -1011,7 +992,6 @@ def logs_tnormal(
def logs_tt(
obs: "ArrayLike",
df: "ArrayLike",
/,
location: "ArrayLike" = 0.0,
scale: "ArrayLike" = 1.0,
lower: "ArrayLike" = float("-inf"),
Expand Down Expand Up @@ -1055,7 +1035,6 @@ def logs_uniform(
obs: "ArrayLike",
min: "ArrayLike",
max: "ArrayLike",
/,
*,
backend: "Backend" = None,
) -> "ArrayLike":
Expand Down
Loading
Loading