public class InitialWeightHyperband extends Hyperband
MEAN, MIN_BRACKET_SIZE, MIN_BUDGET_PROPORTION, VARIANCE
allRules, evaluator, inference, inMPEState, mutableRules, observedDB, rvDB, 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).
|
computeMPEState, getInferenceApplication, getWLA, initGroundModel, initGroundModel, learn
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 © 2020 University of California, Santa Cruz. All rights reserved.