Package shared

Examples of shared.Instance


    for (PerformanceTuple perfTuple : trainingData) {

      Set<String> setAttribs = new HashSet<>();

      Instance instance = new Instance(instances.get_schema());

      MLJUtils.setAttributeValues(instance, attrMap,
          perfTuple.getConfiguration());
      setAttribs.addAll(perfTuple.getConfiguration().keySet());
View Full Code Here


   * @return estimated performance (class)
   */
  @Override
  public double predictPerformance(Features features, Configuration config) {

    Instance instance = new Instance(schema);

    Set<String> setAttribs = new HashSet<>();
    MLJUtils.setAttributeValues(instance, attributes, config);
    setAttribs.addAll(config.keySet());

View Full Code Here

TOP

Related Classes of shared.Instance

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.