Skip to content

Commit ed50393

Browse files
authored
Merge pull request #12 from rekcurd/fix/update-readme-20181221
Merged
2 parents d2f033e + 1f3c794 commit ed50393

1 file changed

Lines changed: 24 additions & 21 deletions

File tree

README.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
1-
# drucker-client
1+
# rekcurd-client
22

3-
[![Build Status](https://travis-ci.com/drucker/drucker-client.svg?branch=master)](https://travis-ci.com/drucker/drucker-client)
4-
[![PyPI version](https://badge.fury.io/py/drucker-client.svg)](https://badge.fury.io/py/drucker-client)
5-
[![codecov](https://codecov.io/gh/drucker/drucker-client/branch/master/graph/badge.svg)](https://codecov.io/gh/drucker/drucker-client "Non-generated packages only")
6-
[![pypi supported versions](https://img.shields.io/pypi/pyversions/drucker-client.svg)](https://pypi.python.org/pypi/drucker-client)
3+
[![Build Status](https://travis-ci.com/rekcurd/drucker-client.svg?branch=master)](https://travis-ci.com/rekcurd/drucker-client)
4+
[![PyPI version](https://badge.fury.io/py/rekcurd-client.svg)](https://badge.fury.io/py/rekcurd-client)
5+
[![codecov](https://codecov.io/gh/rekcurd/drucker-client/branch/master/graph/badge.svg)](https://codecov.io/gh/rekcurd/drucker-client "Non-generated packages only")
6+
[![pypi supported versions](https://img.shields.io/pypi/pyversions/rekcurd-client.svg)](https://pypi.python.org/pypi/rekcurd-client)
7+
8+
Rekcurd client is the project for integrating ML module. Any Rekcurd service is connectable. It can connect the Rekcurd service on Kubernetes.
79

8-
Drucker is a framework of serving machine learning module. Drucker client is a SDK for accessing Drucker.
910

1011
## Parent Project
11-
https://github.com/drucker/drucker-parent
12+
https://github.com/rekcurd/drucker-parent
13+
1214

1315
## Components
14-
- [Drucker](https://github.com/drucker/drucker): Serving framework for a machine learning module.
15-
- [Drucker-dashboard](https://github.com/drucker/drucker-dashboard): Management web service for the machine learning models to the drucker service.
16-
- [Drucker-client](https://github.com/drucker/drucker-client) (here): SDK for accessing a drucker service.
17-
- [Drucker-example](https://github.com/drucker/drucker-example): Example of how to use drucker.
16+
- [Rekcurd](https://github.com/rekcurd/drucker): Project for serving ML module.
17+
- [Rekcurd-dashboard](https://github.com/rekcurd/drucker-dashboard): Project for managing ML model and deploying ML module.
18+
- [Rekcurd-client](https://github.com/rekcurd/drucker-client) (here): Project for integrating ML module.
19+
1820

1921
## Installation
2022
From source:
2123

2224
```
23-
git clone --recursive https://github.com/drucker/drucker-client.git
25+
git clone --recursive https://github.com/rekcurd/drucker-client.git
2426
cd drucker-client
2527
python setup.py install
2628
```
2729

28-
From [PyPi](https://pypi.org/project/drucker_client/) directly:
30+
From [PyPi](https://pypi.org/project/rekcurd_client/) directly:
2931

3032
```
31-
pip install drucker_client
33+
pip install rekcurd_client
3234
```
3335

34-
## Example
35-
Example is available [here](example/sample.py).
36+
## How to use
37+
Example code is available [here](./example/sample.py).
3638

3739
```python
3840
from drucker_client import DruckerWorkerClient
@@ -52,7 +54,7 @@ input = [0,0,0,1,11,0,0,0,0,0,
5254
response = client.run_predict_arrint_arrint(input)
5355
```
5456

55-
If you want to access the Drucker which runs on Kubernetes, try it below.
57+
When you use Kubernetes and deploy Rekcurd service via Rekcurd dashboard, you can access your Rekcurd service like the below.
5658

5759
```python
5860
from drucker_client import DruckerWorkerClient
@@ -74,8 +76,8 @@ input = [0,0,0,1,11,0,0,0,0,0,
7476
response = client.run_predict_arrint_arrint(input)
7577
```
7678

77-
### Available methods of ```DruckerWorkerClient```
78-
You need to use an appropriate method for your Drucker 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.
79+
### DruckerWorkerClient
80+
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.
7981

8082
|method |input: data<BR>(required) |input: option |output: label<BR>(required) |output: score<BR>(required) |output: option |
8183
|:---|:---|:---|:---|:---|:---|
@@ -111,7 +113,8 @@ The input "option" field needs to be a json format. Any style is Ok but we have
111113
|:---|:---|:---|
112114
|suppress_log_input |bool |True: NOT print the input and output to the log message. <BR>False (default): Print the input and output to the log message.
113115

114-
### Test
116+
117+
## Unittest
115118
```
116-
python -m unittest drucker_client/test/test_worker_client.py
119+
$ python -m unittest
117120
```

0 commit comments

Comments
 (0)