public class Hyperband extends WeightLearningApplication
Modifier and Type | Field and Description |
---|---|
static int |
BASE_BRACKET_SIZE_DEFAULT |
static String |
BASE_BRACKET_SIZE_KEY
The base number of weight configurations for each brackets.
|
static String |
CONFIG_PREFIX
Prefix of property keys used by this class.
|
static double |
MEAN |
static int |
MIN_BRACKET_SIZE |
static double |
MIN_BUDGET_PROPORTION |
static int |
NUM_BRACKETS_DEFAULT |
static String |
NUM_BRACKETS_KEY
The number of brackets to consider.
|
static int |
SURVIVAL_DEFAULT |
static String |
SURVIVAL_KEY
The proportion of configs that survive each round in a brancket.
|
static double |
VARIANCE |
allRules, atomManager, evaluator, EVALUATOR_DEFAULT, EVALUATOR_KEY, expectedIncompatibility, GROUND_RULE_STORE_DEFAULT, GROUND_RULE_STORE_KEY, groundRuleStore, inLatentMPEState, inMPEState, latentGroundRuleStore, latentTermStore, MAX_RANDOM_WEIGHT, MIN_ADMM_STEPS, mutableRules, observedDB, observedIncompatibility, RANDOM_WEIGHTS_DEFAULT, RANDOM_WEIGHTS_KEY, reasoner, REASONER_DEFAULT, REASONER_KEY, rvDB, supportsLatentVariables, TERM_GENERATOR_DEFAULT, TERM_GENERATOR_KEY, TERM_STORE_DEFAULT, TERM_STORE_KEY, termGenerator, termStore, trainingMap
Constructor and Description |
---|
Hyperband(List<Rule> rules,
Database rvDB,
Database observedDB) |
Hyperband(Model model,
Database rvDB,
Database observedDB) |
Modifier and Type | Method and Description |
---|---|
protected void |
doLearn()
Do the actual learning procedure.
|
protected double |
run(double[] weights)
Run and eval on the given weights using the given budget (ratio of max resources) and give back its score (lower is better).
|
close, computeExpectedIncompatibility, computeLatentMPEState, computeLoss, computeMPEState, computeObservedIncompatibility, createAtomManager, getWLA, initGroundModel, initGroundModel, initGroundModel, initLatentGroundModel, learn, postInitGroundModel, setBudget, setDefaultRandomVariables, setLabeledRandomVariables
public static final String CONFIG_PREFIX
public static final String SURVIVAL_KEY
public static final int SURVIVAL_DEFAULT
public static final String BASE_BRACKET_SIZE_KEY
public static final int BASE_BRACKET_SIZE_DEFAULT
public static final String NUM_BRACKETS_KEY
public static final int NUM_BRACKETS_DEFAULT
public static final double MIN_BUDGET_PROPORTION
public static final int MIN_BRACKET_SIZE
public static final double MEAN
public static final double VARIANCE
protected void doLearn()
WeightLearningApplication
doLearn
in class WeightLearningApplication
protected double run(double[] weights)
Copyright © 2018 University of California, Santa Cruz. All rights reserved.