Use of Machine Learning Service through iServer REST API
|
Feedback
|
At present, the iServer machine learning service supports binary classification, ground object classification, object detection, scene classification, object extraction and so on. All features are available REST API to create processing tasks by executing POST requests. System administrators can also access machineLearning in iServer via Resources page to create analysis jobs to publish GIS services. Here's how to create a machine learning task via REST API resource page.
Note: Only users in the default ADMIN role can create machine learning jobs. If users in other roles want to access and use the service, security config is required.
-
-
Create a machine learning task through the REST API resource page
To create an analysis task, follow these steps:
-
- After the machine learning service is enabled successfully, enter the iServer service resource page, such as http://supermapiserver:8090/iserver/services.
- Go to the "machine learning/restjsr" service resource page. At present, the machine learning service supports binary classification , ground object classification , object detection , Scene classification , object extraction , spatial density clustering , forest-based classification training , Forest-based classification prediction , forest-based regression training , forest-based regression prediction , Generalized linear regression training , generalized linear regression prediction , decision tree classification training , Decision tree classification prediction , decision tree regression training , decision tree regression prediction , linear regression training , Linear regression prediction , logistic regression training , logistic regression prediction , support vector machine classification training , Support vector machine classification prediction , naive Bayes classification training , naive Bayes classification prediction , Gradient lifting tree classification training , gradient lifting tree classification prediction , gradient lifting tree regression training , Gradient lifting tree regression prediction and other functions. According to your needs, click to go to the resource page of the spatial analysis you need to perform.
- Fill in the machine learning task configuration in turn. Information marked with "*" is required.
- When you are finished, click "Submit. The page will start to execute the task. After the task is executed, the service address automatically published will be displayed and the map can be viewed 。
For an introduction to the REST API, refer to machineLearning .