/go_scoring

github.com/datarobot/batch-scoring/ project port in Golang

Primary LanguageGoApache License 2.0Apache-2.0

DataRobot batch-scoring tool rewritten with golang (POC)

To install package with go tools use

go get github.com/nimnull/go_scoring
go install github.com/nimnull/go_scoring

Note on PATH:

PATH=$GOPATH/bin:....

To use from raw sources

git clone https://github.com/nimnull/go_scoring
cd go_scoring
go build

Usage detail

./go_scoring standalone --help                                                                                                        master ✚ ✱ ◼
Use: go_scoring standalone [flags] <import_id> <dataset path>

Currently supports only standalone subcommand with following flags:

  • --host: specifies host to request for predictions in format <proto>//:<ip|fqdn>[:port].

Arguments:

  • import_id: cluster-defined unique identifier for imported model
  • dataset path: csv file to score