https://github.com/rekcurd/grpc-proto
https://github.com/rekcurd/grpc-proto
druker grpc kubernetes ml rekcurd
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rekcurd/grpc-proto
- Owner: rekcurd
- Created: 2018-07-17T01:31:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-30T05:51:46.000Z (over 6 years ago)
- Last Synced: 2025-07-29T22:25:49.362Z (8 months ago)
- Topics: druker, grpc, kubernetes, ml, rekcurd
- Language: Python
- Size: 58.6 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# grpc-proto
Rekcurd grpc protocol.
## Parent Project
https://github.com/rekcurd/community
## Input/Output
TODO: Generate automatically from `rekcurd.proto`
*V* is the length of feature vector. *M* is the number of classes. If your algorithm is a binary classifier, you set *M* to 1. If your algorithm is a multi-class classifier, you set *M* to the number of classes.
|input: data |input: option |output: label |output: score |output: option |
|:---|:---|:---|:---|:---|
|string |json |string |double |json |
|string |json |bytes |double |json |
|string |json |int[*M*] |double[*M*] |json |
|string |json |double[*M*] |double[*M*] |json |
|string |json |string[*M*] |double[*M*] |json |
|bytes |json |string |double |json |
|bytes |json |bytes |double |json |
|bytes |json |int[*M*] |double[*M*] |json |
|bytes |json |double[*M*] |double[*M*] |json |
|bytes |json |string[*M*] |double[*M*] |json |
|int[*V*] |json |string |double |json |
|int[*V*] |json |bytes |double |json |
|int[*V*] |json |int[*M*] |double[*M*] |json |
|int[*V*] |json |double[*M*] |double[*M*] |json |
|int[*V*] |json |string[*M*] |double[*M*] |json |
|double[*V*] |json |string |double |json |
|double[*V*] |json |bytes |double |json |
|double[*V*] |json |int[*M*] |double[*M*] |json |
|double[*V*] |json |double[*M*] |double[*M*] |json |
|double[*V*] |json |string[*M*] |double[*M*] |json |
|string[*V*] |json |string |double |json |
|string[*V*] |json |bytes |double |json |
|string[*V*] |json |int[*M*] |double[*M*] |json |
|string[*V*] |json |double[*M*] |double[*M*] |json |
|string[*V*] |json |string[*M*] |double[*M*] |json |
The input "option" field needs to be a json format. Below are our reserved fields.
|Field |Type |Description |
|:---|:---|:---|
|suppress_log_input |bool |True: NOT print the input and output to the log message.
False (default): Print the input and output to the log message.