Comments (3)
@incheony 안녕하세요. 관심주셔서 감사합니다.
테스트는 epoch
가 1이므로 epoch for 문 안의 while 블록 안에서 row 건 별로 로그를 남길 수 있겠습니다.
rltrader 추가 기능으로 검토해 보겠습니다. 감사합니다 : )
from rltrader.
빠른 답변 감사합니다 ^~^
추가 질문 드리겠습니다 ㅜㅜ
데이터를 분별로 변경하다보니 실행 시간이 너무 오래 걸려서 학습 속도를 향상시키고 싶은데..
http://blog.quantylab.com/stock_rl_mod_learners.html
여기서 mini_batch_size라고 상단에 설명을 해주셨는데 코드에서는 mini_batch_size라는 것을 찾아 볼 수 없었습니다. 이는 batch_size와 동일한 것인가요?
학습 속도 향상을 하기 위한 batch_size 및 이외 더 필요한 항목들을 어디 부분에서 수정하면 될까요..? main.py에는 별도의 배치 관련 인자가 없는 것을 확인하여 질문 드립니다...
감사합니다!
from rltrader.
다음 코드에서 batch_size
가 while문 안에서는 미니배치 크기로 사용되고 있습니다.
# while문 안
# 반복에 대한 정보 갱신
self.batch_size += 1
self.itr_cnt += 1
self.exploration_cnt += 1 if exploration else 0
# 지연 보상 발생된 경우 미니 배치 학습
if learning and (delayed_reward != 0):
self.fit(delayed_reward, discount_factor)
# 에포크 종료 후 학습
if learning:
self.fit(
self.agent.profitloss, discount_factor, full=True)
from rltrader.
Related Issues (20)
- raise KeyError(f"{not_found} not in index")-help me HOT 1
- main.py 오류 문의입니다. HOT 1
- 예제 5.7 코드 설명좀 부탁드립니다 HOT 1
- 지연보상에 대한 내용이 바뀐 이유와 내용이 궁금합니다. HOT 3
- Network 클래스 질문 HOT 1
- pytorch전용 v3.0 GPU 질문 HOT 1
- 매수 및 매도 단가 갱신 식 관련 HOT 1
- 실행 환경 문의 HOT 1
- Creon 클래스에서 csv파일로 저장방법 문의 드립니다. HOT 2
- main.py를 실행시킬때 mode부분에 update 명령어 질문 HOT 2
- 파이토치 학습된 모델을 test시 학습데이터와 동일하게 테스트 HOT 1
- V1 predict result nan error
- 즉각적인 보상 term에 관련하여 HOT 1
- 코드 구현 문의 (데이터 정규화, replay buffer 사용 여부) HOT 1
- 버전 v3은 잘 되는데, v1,v2는 오류발생 HOT 1
- 마지막 epoch에서는 매매를 하지 않네요. 버그인가요? HOT 4
- 마지막 epoch에서는 매매가 없는 증상이 반복됩니다. HOT 1
- ModuleNotFoundError: No module named 'quantylab' HOT 1
- 학습후 실제 적용시에 탐험을 해야하나요?. HOT 1
- 안녕하세요. issue는 아니고 학습에 질문이 있어서 글 올립니다. HOT 1
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 rltrader.