Search Results for: String instruments played without bow
engine design as you can see from the quick start, mysimilarproduct takes a json prediction query, e.g. { "items": ["i "], "num": }, and return a json predicted result. in mysimilarproduct/src/main/scala/engine.scala, the query case class defines the format of such query: case class query( items: list[string
], num: int, categories: option[set[string]], whitelist: option[set[string]], blacklist: option[set[string]] ) the predictedresult case class defines the format of predicted result, such as {"itemscores":[ {"item": ,"score": }, {"item": ,"score": }, {"item": ,"score": }, {"item": ,"score": } ]} with:...
http://predictionio.apache.org/templates/similarproduct/dase/
engine design as you can see from the quick start, mysimilarproduct takes a json prediction query, e.g. { "items": ["i "], "num": }, and return a json predicted result. in mysimilarproduct/src/main/scala/engine.scala, the query case class defines the format of such query: case class query( items: list[string
], num: int, categories: option[set[string]], whitelist: option[set[string]], blacklist: option[set[string]] ) the predictedresult case class defines the format of predicted result, such as {"itemscores":[ {"item": ,"score": }, {"item": ,"score": }, {"item": ,"score": }, {"item": ,"score": } ]} with:...
https://predictionio.apache.org/templates/similarproduct/dase/