Skip to content
Snippets Groups Projects
prescience-ml.json 1.27 KiB
Newer Older
Scott Lundberg's avatar
Scott Lundberg committed
{
    "mappings": {
        "desat-risk" : {
            "properties" : {
                "procId" : { "type" : "string", "index" : "not_analyzed" },
                "time" : { "type" : "date", "format" : "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" },
                "label" : { "type" : "float" },
                "prediction" : { "type" : "float" },
                "model" : { "type" : "string", "index" : "not_analyzed" },
                "features" : {
                    "type" : "object",
                    "properties" : {
                        "index" : { "type" : "integer" },
                        "value" : { "type" : "float" }
                    }
                },
                "featureMapping" : { "type" : "string", "index" : "not_analyzed" }
            }
        },
            "properties" : {
                "name" : { "type" : "string", "index" : "not_analyzed" },
                "features" : {
                    "type" : "object",
                    "properties" : {
                        "index" : { "type" : "integer" },
                        "value" : { "type" : "float" },
                    }
                },
                "featureMapping" : { "type" : "string", "index" : "not_analyzed" }
            }
Scott Lundberg's avatar
Scott Lundberg committed
        }
    }
}