This documentation is for Machine Learner 1.0.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

Overview

DescriptionRetrieve the train data fraction of an analysis.
Resource Path

api/analyses/{analysisId}/trainDataFraction

HTTP MethodGET
Request/Response Formatapplication/json

Parameter description

Parameter
Description
{analysisId}ID of the analysis of which you need to retrieve the train data fraction.

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/analyses/1/trainDataFraction -k

Example

GET https://localhost:9443/api/analyses/{analysisId}/trainDataFraction

Sample output

0.7

REST API response

HTTP status code

200, 404 or 500

For descriptions of the HTTP status codes, see HTTP Status Codes.

  • No labels