Skip to content
Merged
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
6 changes: 3 additions & 3 deletions src/nns/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def dy_dx(
x_values,
y_values,
plot=False,
dist="L2",
dist=None,
)
fitted = result["Fitted.xy"]
if not isinstance(fitted, dict):
Expand Down Expand Up @@ -528,7 +528,7 @@ def _dy_dx_numeric(
point_only=True,
smooth=True,
plot=False,
dist="L2",
dist=None,
)
estimates = np.asarray(reg_output["Point.est"], dtype=np.float64).reshape(3, -1).T
eval_col = deriv_points[:, 1]
Expand Down Expand Up @@ -705,7 +705,7 @@ def _dy_d_stack_estimates(
order=None,
folds=1,
ncores=1,
dist="L2",
dist=None,
)
return np.asarray(result["stack"], dtype=np.float64).reshape(-1)

Expand Down
5 changes: 3 additions & 2 deletions src/nns/var.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _var_interpolate_and_extrapolate(
folds=5,
method=1,
status=False,
dist="L2",
dist=None,
)["stack"]
variable_interpolation[missing] = np.asarray(fill, dtype=np.float64)
else:
Expand All @@ -168,7 +168,7 @@ def _var_interpolate_and_extrapolate(
point_est=np.asarray(missing, dtype=np.float64) + 1,
plot=False,
point_only=True,
dist="L2",
dist=None,
)["Point.est"]
if fitted_missing is not None and fitted_missing.size:
variable_interpolation[missing] = np.asarray(fitted_missing, dtype=np.float64)
Expand Down Expand Up @@ -345,6 +345,7 @@ def run_var_stack(
stack=True,
dim_red_method=cast(Any, dim_red_threshold_method),
ts_test=stack_ts_test,
dist=None,
)

try:
Expand Down
Loading