Update README.md
Browse files
README.md
CHANGED
|
@@ -32,18 +32,12 @@ Users (both direct and downstream) should be made aware of the risks, biases and
|
|
| 32 |
## How to Get Started with the Model
|
| 33 |
|
| 34 |
Use the code below to get started with the model.
|
| 35 |
-
from tensorflow.keras.models import load_model
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
|
|
|
| 39 |
|
| 40 |
-
#
|
| 41 |
-
image_input = ... # Preprocessed image data of shape (150, 150, 3)
|
| 42 |
-
numerical_input = ... # Numerical features (RSI, MACD, etc.)
|
| 43 |
-
|
| 44 |
-
# Make a prediction
|
| 45 |
-
prediction = model.predict([image_input, numerical_input])
|
| 46 |
-
print("Predicted Stock Movement:", prediction)
|
| 47 |
|
| 48 |
|
| 49 |
|
|
|
|
| 32 |
## How to Get Started with the Model
|
| 33 |
|
| 34 |
Use the code below to get started with the model.
|
|
|
|
| 35 |
|
| 36 |
+
import torch
|
| 37 |
+
from torchvision import models
|
| 38 |
+
import pickle
|
| 39 |
|
| 40 |
+
# Load the model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
|
| 43 |
|