public class MeshBasedSelfConfigurator extends BooleanSelfConfigurator
LinearSelfConfigurator.QMeasureType, LinearSelfConfigurator.Strategy| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_STRATEGY |
static String |
MIN_STRATEFY |
asked, ITERATIONS_MAX, kappa, learningRate, min_coverage, MIN_THRESHOLD, source, STRICT, target| Constructor and Description |
|---|
MeshBasedSelfConfigurator(ACache source,
ACache target)
Basic constructor uses default values for minCoverage and beta.
|
MeshBasedSelfConfigurator(ACache source,
ACache target,
double minCoverage)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static List<Double> |
copy(List<Double> l) |
static List<List<Double>> |
generateCoordinates(List<Double> min,
List<Double> max,
int n)
Generates a mesh over the space defined by the mins and max set.
|
ComplexClassifier |
getHillTop(int n,
List<SimpleClassifier> sc) |
ComplexClassifier |
getHillTop(List<Double> min,
List<Double> max,
int n,
List<SimpleClassifier> sc) |
Map<Double,AMapping> |
getMappings(double min,
double max,
int n,
SimpleClassifier cp)
Computes the mappings for a classifier across a dimension of the mesh
|
ComplexClassifier |
getZoomedHillTop(int gridPoints,
int iterations,
List<SimpleClassifier> sc)
Generates the grids iteratively to find the best possible solution
|
ComplexClassifier |
getZoomedHillTop(int gridPoints,
long duration,
List<SimpleClassifier> sc)
Alternative: Generates the grids iteratively to find the best possible solution, within a given maxmimal duration in seconds
|
void |
setStrategy(String strategy) |
computeNext, getIntersection, getMapping, learnClassifercomputeMeasure, computeNext, computeQuality, execute, executeClassifier, getAllInitialClassifiers, getBestInitialClassifiers, getBestInitialClassifiers, getBestOneToOneMapping, getInitialOverallClassifiers, getLinkSpecification, getMeasure, getOverallMapping, getPropertyStats, getPropertyType, getResults, getSource, getTarget, getThreshold, minimizeToKnow, normalizeClassifiers, setDefaultMeasures, setMeasure, setMeasure, setPFMType, setSource, setSupervisedBatch, setTargetpublic static String MAX_STRATEGY
public static String MIN_STRATEFY
public MeshBasedSelfConfigurator(ACache source, ACache target)
source - target - public static List<List<Double>> generateCoordinates(List<Double> min, List<Double> max, int n)
min - Coordinates on the bottom-left point (in 2D)max - Coordinates on the top-right point (in 2D)n - Size of the meshpublic Map<Double,AMapping> getMappings(double min, double max, int n, SimpleClassifier cp)
min - max - n - cp - public ComplexClassifier getZoomedHillTop(int gridPoints, int iterations, List<SimpleClassifier> sc)
gridPoints - Number of points used for the grid. 5 leads to a
4x4x..x4 griditerations - Number of times that the zooming is appliedsc - Initial classifier, defines the dimensions of the spacepublic ComplexClassifier getZoomedHillTop(int gridPoints, long duration, List<SimpleClassifier> sc)
gridPoints - Number of points used for the grid. 5 leads to aduration - maximal duration in secondssc - Initial classifier, defines the dimensions of the spacepublic ComplexClassifier getHillTop(int n, List<SimpleClassifier> sc)
public ComplexClassifier getHillTop(List<Double> min, List<Double> max, int n, List<SimpleClassifier> sc)
min - max - n - sc - public void setStrategy(String strategy)
Copyright © 2018. All rights reserved.