Package org.jamesii.asf.spdm

Examples of org.jamesii.asf.spdm.Configuration


        SelectorGeneration.createSelector(getDataSet(), predictor);
    assertNotNull(selector);

    // Simple test run to see if comparison throws Exceptions etc.
    Features features = getDataSet().getInstances().get(0).getFeatures();
    Configuration config1 =
        getDataSet().getInstances().get(0).getConfiguration();
    Configuration config2 =
        getDataSet().getInstances().get(1).getConfiguration();

    try {
      predictor.predictPerformance(features, config1);
      predictor.predictPerformance(features, config2);
View Full Code Here


    final Map<Configuration, Pair<Double, Integer>> performances =
        new HashMap<>();

    // Sum up run time for performance data
    for (PerformanceTuple tuple : trainingData) {
      Configuration config = tuple.getConfiguration();
      if (!performances.containsKey(config)) {
        performances.put(config,
            new Pair<>(tuple.getPerformance(), 1));
      } else {
        Pair<Double, Integer> perf = performances.get(config);
View Full Code Here

TOP

Related Classes of org.jamesii.asf.spdm.Configuration

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.