[ { "metadataOutputVersion" : "3.0", "shortDescription" : "battery_prediction_model_1", "outputSchema" : [ { "isOptional" : "0", "formattedType" : "Int64", "type" : "Int64", "name" : "label", "shortDescription" : "" }, { "isOptional" : "0", "keyType" : "Int64", "formattedType" : "Dictionary (Int64 → Double)", "type" : "Dictionary", "name" : "classProbability", "shortDescription" : "" } ], "modelParameters" : [ ], "specificationVersion" : 1, "isUpdatable" : "0", "stateSchema" : [ ], "availability" : { "macOS" : "10.13", "tvOS" : "11.0", "visionOS" : "1.0", "watchOS" : "4.0", "iOS" : "11.0", "macCatalyst" : "11.0" }, "modelType" : { "name" : "MLModelType_pipelineClassifier", "structure" : [ { "name" : "MLModelType_featureVectorizer" }, { "name" : "MLModelType_treeEnsembleClassifier" } ] }, "inputSchema" : [ { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "activity", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "n_events_prior", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "batt_weekday_percentile_prior", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "dist_from_total_mean", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "drain_since_last_plugin", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "max_batt_12", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "mean_activity", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "mean_daily_plugins", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "net_drain_since_max", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "recent_drain_1", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "recent_drain_15min", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "recent_drain_3", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "start_time_secs", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "user_mean_drain", "shortDescription" : "" }, { "isOptional" : "0", "formattedType" : "Double", "type" : "Double", "name" : "value", "shortDescription" : "" } ], "classLabels" : [ 0, 1 ], "generatedClassName" : "_OSHighBatteryDrainLowChargeDurationModel", "userDefinedMetadata" : { "threshold" : "0.41870384629215424", "model_version" : "m8usy2dcft", "coremltoolsVersion" : "3.3" }, "method" : "predict" } ]