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
2 changes: 1 addition & 1 deletion src/nns/pm_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from nns._native import native_fn
from nns.core import _as_degree

Target: TypeAlias = float | None | Literal["mean"] | NDArray[np.float64]
Target: TypeAlias = float | Literal["mean"] | NDArray[np.float64] | None
PMMatrixResult: TypeAlias = dict[str, Any]


Expand Down
2 changes: 1 addition & 1 deletion sync/nns_source.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"r_repo": "OVVO-Financial/NNS",
"r_commit": "bb878ad9c3e8282c30eaf47d219a5630db1b1a9d",
"r_commit": "ec17f6979d3480767c6d047ce3fa50b95b2b7d29",
"r_version": "13.2",
"r_src_tree_hash": "1c82fa36a4af3ce6359cc34b3d841afa6bdd1815",
"core_repo": "OVVO-Financial/NNS-core",
Expand Down
4 changes: 2 additions & 2 deletions tests/_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
_SCHEMA_VERSION = 2
_NNS_VERSION = '13.2'
_KEY_SEPARATOR = "|"
JsonValue: TypeAlias = None | str | float | list["JsonValue"] | dict[str, "JsonValue"]
JsonValue: TypeAlias = str | float | list["JsonValue"] | dict[str, "JsonValue"] | None
RValue: TypeAlias = (
None | float | str | list[str | None] | NDArray[np.float64] | dict[str, "RValue"]
float | str | list[str | None] | NDArray[np.float64] | dict[str, "RValue"] | None
)
Cache: TypeAlias = dict[str, JsonValue]

Expand Down
10 changes: 5 additions & 5 deletions tests/_r_cache/NNS.ANOVA.custom.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"Confidence_Level": 0.95,
"Control": 0.0191268165633628,
"Control_CDF": 0.559051831188266,
"Effect_Size_LB.2.5%": -0.624604587013741,
"Effect_Size_UB.97.5%": 1.12917479150283,
"Effect_Size_LB.2.5%": -0.625644902189945,
"Effect_Size_UB.97.5%": 1.09615699939109,
"Grand_Statistic": 0.142983064395218,
"Lower 95% CI": 0.197141860663723,
"Robust Certainty Estimate": 0.58035678975461,
"Lower 95% CI": 0.169369319288662,
"Robust Certainty Estimate": 0.561452578869731,
"Treatment": 0.266839312227074,
"Treatment_CDF": 0.439774510459534,
"Upper 95% CI": 0.853525008108945
"Upper 95% CI": 0.875115457920163
},
"50a986ab7b389af9e02c2d01bf0a6657e1bc1d6647be86d11680ff8ee2d1bbef": 0.492466490606361,
"771fc3d8efd7eb4d9bc316118de82186577b70f2e3d0ade6ea96abc24cff1b50": {
Expand Down
4 changes: 2 additions & 2 deletions tests/_r_cache/NNS.reg.factor_dimred.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@
},
"Point.est": [
2.35876858969354,
2.8797453834906
2.87974538349059
],
"Prediction.Accuracy": [],
"R2": 0.228855792528304,
"R2": 0.228855792528303,
"SE": 1.15820717336244,
"class.levels": [],
"derivative": {
Expand Down
Loading
Loading