Commit Graph
15 Commits
Author SHA1 Message Date
Jason Gauci 30c75bed0e Update installation & usage guide, and fix issues related to that.
Summary: Pull Request resolved: https://github.com/facebookresearch/Horizon/pull/93

Reviewed By: kittipatv, econti

Differential Revision: D13873903

Pulled By: MisterTea

fbshipit-source-id: bb75dd687f6de0e3884c841e4bdfc460c44662d3
2019-01-30 12:00:19 -08:00
Edoardo Conti bb90fd3f2e Don't return NULL values from Timeline
Summary: Returning NULL values breaks hive reader in our fblearner flows. However, empty values are required if adding terminal states to training data. This diff changes the columns values for terminal states from NULL to the corresponding empty data structure ({}, [], "", etc).

Reviewed By: MisterTea

Differential Revision: D13704487

fbshipit-source-id: 8398cb272e756f413f379f2459165a583546e8c8
2019-01-16 17:20:21 -08:00
Zhengxing Chen 30805dee3f Add a spark pipeline for Multi-Step RL
Summary:
Write a new spark pipeline for supporting multi-step RL.
The test in dataswarm is in D13125518

Reviewed By: kittipatv

Differential Revision: D13049646

fbshipit-source-id: e388ca415de6c227c46439474fec5de7f6ff8220
2018-12-15 10:37:09 -08:00
Jason Gauci 01be9c164a Refactor Evaluator
Summary:
The evaluator has become difficult to work with.  This diff does the following:

1. Creates an EvaluationDataPage similar to TrainingDataPage.
2. Separates datasets into training and evaluation.  Evaluation datasets are stored in order so we do not need to un-shuffle them.
3. Assumes the evaluator can process all of the data in one shot.  This assumption is now true because we don't need to store features in EvaluationDataPage and we don't need to evaluate during training.
4. Split evaluator.py into: evaluator.py, cpe.py, *_estimator.py

The diff creates some TODOs that I'll turn into tasks (likely bootcamp tasks):

1. Write tests for the estimators

Reviewed By: econti

Differential Revision: D13279810

fbshipit-source-id: fb11ac35ccfb785051f272abfcb9a549fa8fbe64
2018-12-14 11:06:28 -08:00
Jason Gauci e3abf433f8 Remove reward_timeline
Summary: Remove reward timeline since we compute MC loss at end of epoch.

Reviewed By: kittipatv

Differential Revision: D10528238

fbshipit-source-id: 67c17a50df65ef9a37945e8f578bb884ed83df22
2018-10-25 19:51:11 -07:00
Edoardo Conti f33f3d0cce Get end-to-end training working
Summary: title

Reviewed By: MisterTea

Differential Revision: D10440251

fbshipit-source-id: 5bb237b695dad63e2ad820273e65ac65cbd19533
2018-10-18 13:43:44 -07:00
Jason Gauci 358232bd8f Update oss info
Summary: Pull Request resolved: https://github.com/facebookresearch/Horizon/pull/42

Reviewed By: kittipatv

Differential Revision: D10440812

Pulled By: MisterTea

fbshipit-source-id: bb1f5960f67d6bb9c96dd118810cdb4a57666750
2018-10-17 19:31:53 -07:00
Jason Gauci 56e7fab44f Spark changes: Write timeline in .parquet, Change feature IDs to ints. Add metrics column. (#41)
Summary:
[WIP] Spark changes: Write timeline in .parquet, Change feature IDs to ints.  Add metrics column.
Pull Request resolved: https://github.com/facebookresearch/Horizon/pull/41

Reviewed By: kittipatv

Differential Revision: D10419376

Pulled By: MisterTea

fbshipit-source-id: 8062872304fcecaa1b6f105edf706265a8f3651e
2018-10-17 15:59:04 -07:00
Edoardo Conti c1a592fd03 Take number of shards as argument and update readme
Summary: title

Reviewed By: kittipatv

Differential Revision: D10410363

fbshipit-source-id: 1046a290ccc7c453e8d96d4c54d633537e144b8a
2018-10-16 14:42:59 -07:00
Jason Gauci db7465d92c Minor tweaks to scripts
Summary: Pull Request resolved: https://github.com/facebookresearch/Horizon/pull/38

Reviewed By: kittipatv

Differential Revision: D10403632

Pulled By: MisterTea

fbshipit-source-id: 0be0bfe01b18c261025f6ef6f4c529fe2c2e006d
2018-10-16 10:45:18 -07:00
Edoardo Conti 469801c31f Add parametric DQN & DDPG query to scala timeline
Reviewed By: MisterTea

Differential Revision: D9838545

fbshipit-source-id: 77de84640e9cc8355bfe49de01640570f3c8b8c5
2018-09-16 21:35:03 -07:00
Edoardo Conti 76af08477a Add DQN query to Scala Timeline Operator
Summary: title

Reviewed By: MisterTea

Differential Revision: D9825168

fbshipit-source-id: 5330e62a35df85811fdcafc3e004c2ae1e0ad6d8
2018-09-14 11:49:24 -07:00
Edoardo Conti c5b6737e4b Allow gym to generate parametric data + fix to parametric timeline
Summary: (Note: this ignores all push blocking failures!)

Reviewed By: MisterTea

Differential Revision: D9761893

fbshipit-source-id: 6212b15a1ac8b953e5a21709d6643bac595d6687
2018-09-11 06:32:13 -07:00
Jason Gauci b33d7a6874 oss-pom -> pom 2018-09-10 14:29:13 -07:00
Jason Gauci e2381517e2 Add preprocessing logic 2018-09-07 11:17:36 -07:00