Package com.bayesserver.inference
Interface QuerySamplingOptions
-
- All Known Implementing Classes:
LikelihoodSamplingQueryOptions
public interface QuerySamplingOptions
Interface for approximate sampling inference algorithms, which can be implemented in addition toQueryOptions
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getSampleCount()
Gets a value indicating how many samples cases to generate in order to approximate the current query.void
setSampleCount(Integer value)
Sets a value indicating how many samples cases to generate in order to approximate the current query.
-
-
-
Method Detail
-
getSampleCount
Integer getSampleCount()
Gets a value indicating how many samples cases to generate in order to approximate the current query. The higher the value, the more accurate the predictions will be, at the expense of query time.When null, the algorithm being used will decide how many samples to use.
-
setSampleCount
void setSampleCount(Integer value)
Sets a value indicating how many samples cases to generate in order to approximate the current query. The higher the value, the more accurate the predictions will be, at the expense of query time.When null, the algorithm being used will decide how many samples to use.
-
-