GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rekcurd/python-client: Project for integrating ML module. It can connect the Rekcurd service on Kubernetes.

BranchesTags
Open more actions menu

Latest commit

 

History

87 Commits
87 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
rekcurd_client
rekcurd_client
 
 
scripts
scripts
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 
test-requirements.txt
test-requirements.txt
 
 
tox.ini
tox.ini
 
 

Repository files navigation

rekcurd-client

Build Status PyPI version codecov pypi supported versions

Rekcurd client is the project for integrating ML module. Any Rekcurd service is connectable. It can connect the Rekcurd service on Kubernetes.

Parent Project

https://github.com/rekcurd/community

Components

  • Rekcurd: Project for serving ML module.
  • Rekcurd-dashboard: Project for managing ML model and deploying ML module.
  • Rekcurd-client: Project for integrating ML module.

Installation

From source:

git clone --recursive https://github.com/rekcurd/python-client.git
cd python-client
python setup.py install

From PyPi directly:

pip install rekcurd_client

How to use

Example is available here.

Unittest

$ python -m unittest

Method definition

You need to use an appropriate method for your Rekcurd service. The methods are generated according to the input and output formats. 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.

method input: data
(required)
input: option output: label
(required)
output: score
(required)
output: option
run_predict_string_string string string (json) string double string (json)
run_predict_string_bytes string string (json) bytes double string (json)
run_predict_string_arrint string string (json) int[M] double[M] string (json)
run_predict_string_arrfloat string string (json) double[M] double[M] string (json)
run_predict_string_arrstring string string (json) string[M] double[M] string (json)
run_predict_bytes_string bytes string (json) string double string (json)
run_predict_bytes_bytes bytes string (json) bytes double string (json)
run_predict_bytes_arrint bytes string (json) int[M] double[M] string (json)
run_predict_bytes_arrfloat bytes string (json) double[M] double[M] string (json)
run_predict_bytes_arrstring bytes string (json) string[M] double[M] string (json)
run_predict_arrint_string int[V] string (json) string double string (json)
run_predict_arrint_bytes int[V] string (json) bytes double string (json)
run_predict_arrint_arrint int[V] string (json) int[M] double[M] string (json)
run_predict_arrint_arrfloat int[V] string (json) double[M] double[M] string (json)
run_predict_arrint_arrstring int[V] string (json) string[M] double[M] string (json)
run_predict_arrfloat_string double[V] string (json) string double string (json)
run_predict_arrfloat_bytes double[V] string (json) bytes double string (json)
run_predict_arrfloat_arrint double[V] string (json) int[M] double[M] string (json)
run_predict_arrfloat_arrfloat double[V] string (json) double[M] double[M] string (json)
run_predict_arrfloat_arrstring double[V] string (json) string[M] double[M] string (json)
run_predict_arrstring_string string[V] string (json) string double string (json)
run_predict_arrstring_bytes string[V] string (json) bytes double string (json)
run_predict_arrstring_arrint string[V] string (json) int[M] double[M] string (json)
run_predict_arrstring_arrfloat string[V] string (json) double[M] double[M] string (json)
run_predict_arrstring_arrstring string[V] string (json) string[M] double[M] string (json)

The input "option" field needs to be a json format. Any style is Ok but we have some reserved fields below.

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.

About

Project for integrating ML module. It can connect the Rekcurd service on Kubernetes.

Topics

druckergrpckubernetesmlrekcurd

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

7 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.