public class RandomGridSearch extends GridSearch
DELIM, possibleWeights
currentLocation, maxNumLocations, numLocations, objectives
allRules, evaluator, inference, inMPEState, mutableRules, observedDB, rvDB, trainingMap
Constructor and Description |
---|
RandomGridSearch(List<Rule> rules,
Database rvDB,
Database observedDB) |
RandomGridSearch(Model model,
Database rvDB,
Database observedDB) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
chooseNextLocation()
Choose the next location we will search.
|
protected String |
randomConfiguration() |
void |
setBudget(double budget)
Set a budget (give as a proportion of the max budget).
|
getWeights
doLearn, inspectLocation
close, computeMPEState, getInferenceApplication, getWLA, initGroundModel, initGroundModel, learn, postInitGroundModel
protected boolean chooseNextLocation()
BaseGridSearch
chooseNextLocation
in class GridSearch
protected String randomConfiguration()
public void setBudget(double budget)
WeightLearningApplication
setBudget
in class WeightLearningApplication
Copyright © 2020 University of California, Santa Cruz. All rights reserved.