Comments (2)
Hi! We have made a few changes to the DRLAgent class which allow the future implementation of more functionality aside from the enumerated algorithms. In order to clean up the implementation we have made changes, and demonstrated loading various models in the notebooks in notebook, (specifically the multistock notebook!) The new implementation is quite easy to read, and we think you'll like it!
from finrl.
env_train = env_setup.create_env_training(data = Train_df,
env_class = StockPortfolioEnv)
agent = DRLAgent(env = env_train)
print("==============Model Training===========")
now = datetime.datetime.now().strftime('%Y%m%d-%Hh%M')
a2c_params_tuning = {'n_steps':5,
'ent_coef':0.005,
'learning_rate':0.0003,
'verbose':0,
'timesteps':50000}
model_a2c = agent.train_A2C(model_name = "A2C_{}".format(now), model_params = a2c_params_tuning)
It is giving me :
'DRLAgent' object has no attribute 'train_A2C'
So can you help me?
from finrl.
Related Issues (20)
- Installation of unstable dev version of FinRL using pip in Python 3.12.0 gives error HOT 1
- Slack link expired HOT 1
- stock_trading.py to save and load models
- need elegantrl version that can be used in finrl
- Unpredictable Rewards in Stable Baseline 3 DDPG and TD3 Models - Seeking Clarification HOT 2
- Question : DRL_prediciton : if deterministic=True then no actions are taken after the first one
- Reproducibility Issue of Stablebaseline3 ( FinRL ) HOT 5
- Installation issues in installing finrl on Ubuntu 22.04 on aarch64 HOT 2
- ImportError: cannot import name 'ERL_PARAMS' from 'finrl.config' HOT 1
- Environment HOT 2
- Newcomer here. Can you recommend articles?
- Environments - Stocktrading and stocktrading_np
- StockTradingEnv.py HOT 1
- issue with stable-baselines3 and eleganrl enviroment
- why action not any change after episode 3? HOT 1
- I downloaded the compressed file of finrl and installed it using setup.py. However, when importing finrl, I encountered the error ModuleNotFoundError: No module named 'gyrasium', and the environment installed gyrVersion: 0.25.2. What's going on
- Attribute Error HOT 1
- FinRL Paper Trading demo bug HOT 3
- AttributeError: 'Series' object has no attribute 'iteritems' error HOT 1
- FinRL/examples/FinRL_PaperTrading_Demo_refactored.py: failed with NASDAQ tickers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finrl.