File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,18 @@ pip install TrendMaster
1717## Usage
1818Here's how to integrate TrendMaster into your Python projects:
1919
20+
2021``` python
2122from trendmaster import TrendMaster
2223# Initialize the TrendMaster object
23- tm = TrendMaster(symbol_name_stk = ' SBIN' )
24- # Load your data
2524test_symbol = ' SBIN'
25+ tm = TrendMaster(symbol_name_stk = test_symbol)
26+ # Load your data
2627data = tm.load_data(symbol = test_symbol)
2728# Train the model
2829tm.train(test_symbol, transformer_params = {' epochs' : 1 })
2930# Perform inference
30- predictions = tm.inferencer.predict_future(val_data = data,future_steps = 100 ,symbol = ' SBIN ' )
31+ predictions = tm.inferencer.predict_future(val_data = data,future_steps = 100 ,symbol = test_symbol )
3132print (predictions)
3233```
3334
You can’t perform that action at this time.
0 commit comments