Package com.etsy.conjecture.data

Examples of com.etsy.conjecture.data.ClusterPrediction


  public ClusterPrediction predict(StringKeyedVector instance) {
    Map<String, Double> scores = new HashMap<String, Double>();
    for(Map.Entry<String, StringKeyedVector> e : param.entrySet()) {
      scores.put(e.getKey(), e.getValue().dot(instance));
    }
    return new ClusterPrediction(scores);
  }
View Full Code Here

TOP

Related Classes of com.etsy.conjecture.data.ClusterPrediction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.