|
| 1 | +# AutoML Samples |
| 2 | + |
| 3 | +<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=vision/beta/cloud-client/README.md"> |
| 4 | +<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a> |
| 5 | + |
| 6 | + |
| 7 | +This directory contains samples for the [Google Cloud AutoML APIs](https://cloud.google.com/automl/) - [docs](https://cloud.google.com/automl/docs/) |
| 8 | + |
| 9 | +We highly reccommend that you refer to the official documentation pages: |
| 10 | +<!--* AutoML Natural Language |
| 11 | + * [Classification](https://cloud.google.com/natural-language/automl/docs) |
| 12 | + * [Entity Extraction](https://cloud.google.com/natural-language/automl/entity-analysis/docs) |
| 13 | + * [Sentiment Analysis](https://cloud.google.com/natural-language/automl/sentiment/docs) --> |
| 14 | +* [AutoML Translation](https://cloud.google.com/translate/automl/docs) |
| 15 | +<!--* AutoML Video Intelligence |
| 16 | + * [Classification](https://cloud.google.com/video-intelligence/automl/docs) |
| 17 | + * [Object Tracking](https://cloud.google.com/video-intelligence/automl/object-tracking/docs) |
| 18 | +* AutoML Vision |
| 19 | + * [Classification](https://cloud.google.com/vision/automl/docs) |
| 20 | + * [Edge](https://cloud.google.com/vision/automl/docs/edge-quickstart) |
| 21 | + * [Object Detection](https://cloud.google.com/vision/automl/object-detection/docs) |
| 22 | +* [AutoML Tables](https://cloud.google.com/automl-tables/docs)--> |
| 23 | + |
| 24 | +This API is part of the larger collection of Cloud Machine Learning APIs. |
| 25 | + |
| 26 | +These Java samples demonstrates how to access the Cloud AutoML API |
| 27 | +using the [Google Cloud Client Library for Java][google-cloud-java]. |
| 28 | + |
| 29 | +[google-cloud-java]: https://github.com/GoogleCloudPlatform/google-cloud-java |
| 30 | + |
| 31 | +## Build the samples |
| 32 | + |
| 33 | +Install [Maven](http://maven.apache.org/). |
| 34 | + |
| 35 | +Build your project with: |
| 36 | + |
| 37 | +``` |
| 38 | +mvn clean package |
| 39 | +``` |
| 40 | + |
| 41 | +## Sample Types |
| 42 | +There are two types of samples: Base and API Specific |
| 43 | + |
| 44 | +The base samples make up a set of samples that have code that |
| 45 | +is identical or nearly identical for each AutoML Type. Meaning that for "Base" samples you can use them with any AutoML |
| 46 | +Type. However, for API Specific samples, there will be a unique sample for each AutoML type. See the below list for more info. |
| 47 | + |
| 48 | +## Base Samples |
| 49 | +### Dataset Management |
| 50 | +* [Import Dataset](src/main/java/com/example/automl/ImportDataset.java) |
| 51 | +* [List Datasets](src/main/java/com/example/automl/ListDatasets.java) - For each AutoML Type the `metadata` field inside the dataset is unique, therefore each AutoML Type will have a |
| 52 | +small section of code to print out the `metadata` field. |
| 53 | +* [Get Dataset](src/main/java/com/example/automl/GetDataset.java) - For each AutoML Type the `metadata` field inside the dataset is unique, therefore each AutoML Type will have a |
| 54 | +small section of code to print out the `metadata` field. |
| 55 | +* [Export Dataset](src/main/java/com/example/automl/ExportDataset.java) |
| 56 | +* [Delete Dataset](src/main/java/com/example/automl/DeleteDataset.java) |
| 57 | +### Model Management |
| 58 | +* [List Models](src/main/java/com/example/automl/ListModels.java) |
| 59 | +* [List Model Evaluation](src/main/java/com/example/automl/ListModelEvaluations.java) |
| 60 | +* [Get Model](src/main/java/com/example/automl/) |
| 61 | +* [Get Model Evaluation](src/main/java/com/example/automl/GetModelEvaluation.java) |
| 62 | +* [Delete Model](src/main/java/com/example/automl/DeleteModel.java) |
| 63 | + |
| 64 | +### Operation Management |
| 65 | +* [List Operation Statuses](src/main/java/com/example/automl/ListOperationStatus.java) |
| 66 | +* [Get Operation Status](src/main/java/com/example/automl/GetOperationStatus.java) |
| 67 | + |
| 68 | +## AutoML Type Specific Samples |
| 69 | +### Translation |
| 70 | +* [Translate Create Dataset](src/main/java/com/example/automl/TranslateCreateDataset.java) |
| 71 | +* [Translate Create Model](src/main/java/com/example/automl/TranslateCreateModel.java) |
| 72 | +* [Translate Predict](src/main/java/com/example/automl/TranslatePredict.java) |
0 commit comments