| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.MachineLearning.Predict
Description
Generates a prediction for the observation using the specified MLModel.
Note Not all response parameters will be populated because this is dependent on the type of requested model.
http://http://docs.aws.amazon.com/machine-learning/latest/APIReference/API_Predict.html
- data Predict
- predict :: Text -> Text -> Predict
- pMLModelId :: Lens' Predict Text
- pPredictEndpoint :: Lens' Predict Text
- pRecord :: Lens' Predict (HashMap Text Text)
- data PredictResponse
- predictResponse :: PredictResponse
- prPrediction :: Lens' PredictResponse (Maybe Prediction)
Request
Request constructor
Predict constructor.
The fields accessible through corresponding lenses are:
pMLModelId::TextpPredictEndpoint::TextpRecord::HashMapTextText
Request lenses
Response
data PredictResponse Source
Response constructor
predictResponse :: PredictResponse Source
PredictResponse constructor.
The fields accessible through corresponding lenses are: