Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test failures #182

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 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
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ classifiers = [
[project.optional-dependencies]
datadriven = [
"tensorflow; platform_system!='Darwin' or platform_machine!='arm64'",
"tensorflow-macos; platform_system=='Darwin' and platform_machine=='arm64'"]
"tensorflow-macos; platform_system=='Darwin' and platform_machine=='arm64'",
"numpoly==1.2.12; platform_system=='Darwin' and platform_machine=='arm64'",
"numpy<2.0.0,>=1.26.0; platform_system=='Darwin' and platform_machine=='arm64'"
]

test = [
"notebook",
"testbook",
"requests"
]

[project.urls]
Homepage = "https://nasa.github.io/progpy/"
Expand Down
2 changes: 1 addition & 1 deletion src/progpy/data_models/lstm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ def from_data(cls, inputs, outputs, event_states=None, t_met=None, **kwargs):
output_data.append(t_all)

model = keras.Model(inputs, outputs)
model.compile(optimizer="rmsprop", loss="mse", metrics=[["mae"]]*len(outputs))
model.compile(optimizer="rmsprop", loss="mse", metrics=["mae"]*len(outputs))

# Train model
history = model.fit(
Expand Down
2 changes: 1 addition & 1 deletion tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,7 @@
"metadata": {},
"outputs": [],
"source": [
"from prog_algs.uncertain_data import ScalarData"
"from progpy.uncertain_data import ScalarData"
]
},
{
Expand Down
Loading