0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

DataRobot API 使いメモ

Last updated at Posted at 2020-03-10

DataRobot API 使いメモ

googleしても情報がないので、自力で試す。

前提条件

  • pipバージョン20以上
  • Windows環境

APIインストール

$ pip install -U datarobot_batch_scoring

実行コマンド

$ batch_scoring_deployment_aware --host=<host> --user=<user> <deployment_id> <dataset_filepath> --datarobot_key=<datarobot_key> {--password=<pwd> | --api_token=<api_token>}

パラメータ

  1. host
  2. user
  3. deployment_id
  4. datarobot_key
  5. api_token

dataset_filepath : 対象ファイルパス
out : 予測結果出力先

サンプル

$ batch_scoring_deployment_aware --host=https://hoge.datarobot.com --user="hoge@hoge.co.jp" xx123456hoge C:\Users\hoge\hoge.csv --datarobot_key="hogehogehoge1234" --api_token="hogehoge1234"

image.png
image.png

Linux環境

  • batch_scoring.ini作成
  • $HOME/に配置
  • batchscoringコマンド実行
$ batchscoring

参考サイト

datarobot/batch-scoring

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?