You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
` # load entire model using load_model() from alphanet module
model = load_model("model.bt")
# only load weights by first creating a model instance
model = AlphaNetV3(l2=0.001, dropout=0.0)
model.load_weights("weights.bt")
test_data=TimeSeriesData(
dates=test_df["int_date"].values, # date column
data=test_df[metrics_std].values, # data columns
labels=test_df["future_return"].values # label column
)
output=model.predict(test_data.data)
print(output)`