Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PPML] Update end to end GBT example readme #5792

Merged
merged 2 commits into from
Sep 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Run Examples
## End to end Spark GBT Example On CriteoClickLogsDataset

#### 1.xgbClassifierTrainingExampleOnCriteoClickLogsDataset
### Usage

Run this example in spark local mode:

1.select a KeyManagementService(`SimpleKeyManagementService` or `EHSMKeyManagementService`)

2.prepare a primaryKey and a dataKey(refer to [this](https://github.com/intel-analytics/BigDL/blob/main/ppml/services/kms-utils/docker/README.md))
2.prepare 1g [dataset](https://ailab.criteo.com/download-criteo-1tb-click-logs-dataset/) and a primaryKey and a dataKey(refer to [this](https://github.com/intel-analytics/BigDL/blob/main/ppml/services/kms-utils/docker/README.md))

3.prepare a BigDL PPML Client Container(refer to PPML tutorial)

Expand Down Expand Up @@ -39,7 +39,8 @@ Run this example in spark local mode:
--kmsType SimpleKeyManagementService \
--simpleAPPID your_app_id \
--simpleAPIKEY your_api_key \
--numThreads 1
--maxDepth 5 \
--maxIter 100
```

- for `EHSMKeyManagementService`
Expand Down Expand Up @@ -67,7 +68,8 @@ Run this example in spark local mode:
--kmsServerPort you_kms_server_port \
--ehsmAPPID your_app_id \
--ehsmAPIKEY your_api_key \
--numThreads 1
--maxDepth 5 \
--maxIter 100
```