mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-03-07 19:49:14 +00:00
parent
5ae73a19a7
commit
e4f0580172
@ -434,11 +434,11 @@ A classification algorithm, logistic regression models the probability of a disc
|
||||
|
||||
### Example: Train/Predict with Iris data
|
||||
|
||||
The following example creates an index in OpenSearch with the [Iris dataset](https://archive.ics.uci.edu/ml/datasets/iris), then trains the data using logistic regression. Lastly, it uses the trained model to predict Iris types separated by row.
|
||||
The following example creates an index in OpenSearch with the [Iris dataset](https://en.wikipedia.org/wiki/Iris_flower_data_set), then trains the data using logistic regression. Lastly, it uses the trained model to predict Iris types separated by row.
|
||||
|
||||
#### Create an Iris index
|
||||
|
||||
Before using this request, make sure that you have downloaded [Iris data](https://archive.ics.uci.edu/ml/datasets/iris).
|
||||
Before using this request, make sure that you have downloaded [Iris data](https://archive.ics.uci.edu/dataset/53/iris).
|
||||
|
||||
```bash
|
||||
PUT /iris_data
|
||||
|
Loading…
x
Reference in New Issue
Block a user