public class GuidedRandomGridSearch extends RandomGridSearch
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_PREFIX
Prefix of property keys used by this class.
|
static int |
EXPLORE_LOCATIONS_DEFAULT |
static String |
EXPLORE_LOCATIONS_KEY
The number of initial seed locations to explore based off of whichever ones score the best.
|
static int |
SEED_LOCATIONS_DEFAULT |
static String |
SEED_LOCATIONS_KEY
The number of locations to initially search.
|
MAX_LOCATIONS_DEFAULT, MAX_LOCATIONS_KEYDELIM, POSSIBLE_WEIGHTS_DEFAULT, POSSIBLE_WEIGHTS_KEY, possibleWeightscurrentLocation, maxNumLocations, numLocations, objectivesallRules, 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 |
|---|
GuidedRandomGridSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
GuidedRandomGridSearch(Model model,
Database rvDB,
Database observedDB) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
chooseNextLocation()
Choose the next location we will search.
|
void |
setBudget(double budget)
Set a budget (give as a proportion of the max budget).
|
randomConfigurationgetWeightsdoLearn, inspectLocationclose, computeExpectedIncompatibility, computeLatentMPEState, computeLoss, computeMPEState, computeObservedIncompatibility, createAtomManager, getWLA, initGroundModel, initGroundModel, initGroundModel, initLatentGroundModel, learn, postInitGroundModel, setDefaultRandomVariables, setLabeledRandomVariablespublic static final String CONFIG_PREFIX
public static final String SEED_LOCATIONS_KEY
public static final int SEED_LOCATIONS_DEFAULT
public static final String EXPLORE_LOCATIONS_KEY
public static final int EXPLORE_LOCATIONS_DEFAULT
public GuidedRandomGridSearch(Model model, Database rvDB, Database observedDB)
protected boolean chooseNextLocation()
BaseGridSearchchooseNextLocation in class RandomGridSearchpublic void setBudget(double budget)
WeightLearningApplicationsetBudget in class RandomGridSearchCopyright © 2018 University of California, Santa Cruz. All rights reserved.