public class InitialWeightHyperband extends Hyperband
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PREFIX
Prefix of property keys used by this class.
|
static String |
INTERNAL_WLA_DEFAULT |
static String |
INTERNAL_WLA_KEY
The internal weight learning application (WLA) to use.
|
BASE_BRACKET_SIZE_DEFAULT, BASE_BRACKET_SIZE_KEY, MEAN, MIN_BRACKET_SIZE, MIN_BUDGET_PROPORTION, NUM_BRACKETS_DEFAULT, NUM_BRACKETS_KEY, SURVIVAL_DEFAULT, SURVIVAL_KEY, 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 |
---|
InitialWeightHyperband(List<Rule> rules,
Database rvDB,
Database observedDB) |
InitialWeightHyperband(Model model,
Database rvDB,
Database observedDB) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases all resources used by this ModelApplication.
|
protected void |
postInitGroundModel()
A convenient place for children to do additional ground model initialization.
|
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).
|
void |
setBudget(double budget)
Set a budget (give as a proportion of the max budget).
|
computeExpectedIncompatibility, computeLatentMPEState, computeLoss, computeMPEState, computeObservedIncompatibility, createAtomManager, getWLA, initGroundModel, initGroundModel, initGroundModel, initLatentGroundModel, learn, setDefaultRandomVariables, setLabeledRandomVariables
public static final String CONFIG_PREFIX
public static final String INTERNAL_WLA_KEY
public static final String INTERNAL_WLA_DEFAULT
public InitialWeightHyperband(Model model, Database rvDB, Database observedDB)
protected void postInitGroundModel()
WeightLearningApplication
postInitGroundModel
in class WeightLearningApplication
public void setBudget(double budget)
WeightLearningApplication
setBudget
in class WeightLearningApplication
protected double run(double[] weights)
Hyperband
public void close()
ModelApplication
close
in interface ModelApplication
close
in class WeightLearningApplication
Copyright © 2018 University of California, Santa Cruz. All rights reserved.