Logistic regression in sagemaker
问题 I am using the aws sagemaker for logistic regression. For validating the model on test data, the following code is used runtime= boto3.client('runtime.sagemaker') payload = np2csv(test_X) response = runtime.invoke_endpoint(EndpointName=linear_endpoint, ContentType='text/csv', Body=payload) result = json.loads(response['Body'].read().decode()) test_pred = np.array([r['score'] for r in result['predictions']]) The result contains the prediction values and the probability scores. I want to know