public class GuidedRandomGridSearch extends RandomGridSearch
DELIM, possibleWeights
currentLocation, maxNumLocations, numLocations, objectives
allRules, evaluator, inference, inMPEState, mutableRules, observedDB, rvDB, 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).
|
randomConfiguration
getWeights
doLearn, inspectLocation
close, computeMPEState, getInferenceApplication, getWLA, initGroundModel, initGroundModel, learn, postInitGroundModel
public GuidedRandomGridSearch(Model model, Database rvDB, Database observedDB)
protected boolean chooseNextLocation()
BaseGridSearch
chooseNextLocation
in class RandomGridSearch
public void setBudget(double budget)
WeightLearningApplication
setBudget
in class RandomGridSearch
Copyright © 2020 University of California, Santa Cruz. All rights reserved.