AI4Finance-Foundation / AI4Finance-Foundation/ElegantRL

🎨 use yaml to save config for training instead of Python File.

オープン
#275 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Suggestion
主要言語
Python
スター
4.4k
フォーク
978
PR マージ指標
30日以内にマージされた PR はありません

説明

Both YAML and JSON are commonly used for storing configuration files, and both have their pros and cons.

Advantages of using YAML:
- YAML is often considered more readable and easier to write than JSON, as it uses a more compact and human-friendly syntax.
- YAML supports complex data structures, such as nested lists and dictionaries, and it can also handle more types of data, such as dates and times, than JSON.

Advantages of using JSON:
- JSON is a more widely used format than YAML, so it is supported by a larger number of tools and applications.
- JSON is a strict format, so it is less prone to syntax errors and unexpected behavior than YAML.
- Ultimately, the choice between YAML and JSON will depend on the specific requirements of your project, and what format is more suitable for your use case.

---

According to the answer of ChatGPY, we plan to use `yaml` for saveing configuration insead of `json`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。