dataiku / dataiku/dataiku-api-client-python
Incorrect documentation on `get_scoring_jar_stream` and `get_scoring_pmml_stream`
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 44
- フォーク
- 29
- 平均マージ
- 3時間 34分
- マージ済み PR(30日)
- 2
説明
I'm using DSS version 9.0.3. The documentation for ML model export functions get_scoring_jar_stream and get_scoring_pmml_stream says that they should return file-like objects that need to be closed after use.
In fact they return requests.Response objects, so correct usage is along the lines of
response = model_details.get_scoring_pmml_stream()
pmml_xml = response.content
The documentation should be updated to reflect this: see here and here.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
2619 行目と 2643 行目付近にリンクされている、dataikuapi/dss/ml.py の get_scoring_jar_stream と get_scoring_pmml_stream のドキュメントを開いてください。両方の説明を更新し、ファイルのようなオブジェクトではなく requests.Response オブジェクトを返し、オブジェクトを閉じる必要がないことを反映してください。また、ドキュメントに記載された使用方法が response.content と一致していることを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 55/100