SegmentML Model Fetch

Get a SegmentML model.

Additional atttributes from a completed SegmentML model GET response:

fieldDataTypeDescription
features: kindstringThe field is either a Lytics Segment feature (segment), a lql/user-field feature (lql), a Lytics Behavioral Score feature (score), or a Lytics Content Affinity feature (content)
features: fieldtypestringField type is either numeric or categorical
features: namestringThe name of a field
features: importancenumberThe relative importance of a field in the model
features: correlationnumberCorrelation between specific field and target
features: impactobjectThe impact object details the Lift and shows the marginal effect of a feature on the predicted outcome of the model
msenumberMean-squared error value
rsqnumberR-squared value or coefficient of determination
false_negativenumberThe number of users in the source segment who are predicted to be in the target segment.
false_positivenumberThe number of users in the target segment who are not predicted to be in the target segment.
true_negativenumberThe number of users in the source segment who are not predicted to be in the target segment.
true_positivenumberThe number of users in the target segment who are predicted to be in the target segment.
success[]numberNumber of successful predictions for a given prediction value
failure[]numberNumber of failed predictions for a given prediction value
aucnumberArea under the ROC curve
thresholdnumberOptimal decision threshold to minimize false-positives and false-negatives
accuracynumberA value that represents the accuracy of the model; scale ranges from 0 (least accurate) to 10 (most accurate).
reachnumberA value that represents the number of source users that look like target users; scale ranges from 0 (low reach) to 10 (high reach).
model_healthnumberThe overall health of the model (i.e. "healthy", "unhealthy")
msgsnumberMessages for the user about the model with levels of severity (i.e. "debug", "info", "warn", "error")

To learn more about the metrics false negative, false positive etc., check out binary classification.

# Curl example of getting a SegmentML model
curl -s -J -XGET "https://api.lytics.io/api/segmentml/all::smt_power" -H "Authorization: $LIOKEY"
Language
Authorization
Header
Click Try It! to start a request and see the response here!