問題タブ [discretization]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
2176 参照

python - OpenAI Gym カスタム環境: 実数値を持つ離散観測空間

離散状態空間を持つカスタム openai ジム環境を作成したいと思いますが、浮動小数点値を使用します。より正確には、0.25 ステップの値の範囲である必要があります: 10.0、10.25、10.5、10.75、11.0、...、19.75、20.0

Discrete、Box、MultiDiscrete などのスペースを使用して、openai ジムのカスタム環境でこれを行う方法はありますか? Discrete には整数が必要で、Box にはある種のステップ パラメータがないようです。