Instructions to use StockCast/gru with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use StockCast/gru with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://StockCast/gru") - Notebooks
- Google Colab
- Kaggle
File size: 641 Bytes
a098974 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | step_ahead,prediction
1,6.879208271205425
2,6.987452901899815
3,6.97563001960516
4,7.323644238710403
5,7.03911928832531
6,7.215557035803795
7,6.897256341576576
8,6.798201142251491
9,6.86715382039547
10,6.502638716250658
11,6.799394184350967
12,6.884749701619148
13,7.249675351381302
14,6.7847621306776995
15,7.013188049197197
16,7.021027149260044
17,7.1738360390067095
18,7.085659570991993
19,6.99310367256403
20,7.029645766317844
21,7.525818935036659
22,7.077582111954689
23,6.982791043817997
24,7.217823940515518
25,7.050143113732338
26,7.261345240473747
27,7.579454970359802
28,7.260111178457737
29,7.603474625945092
30,7.471169596910476
|