Interface QuerySamplingOptions

  • All Known Implementing Classes:
    LikelihoodSamplingQueryOptions

    public interface QuerySamplingOptions
    Interface for approximate sampling inference algorithms, which can be implemented in addition to QueryOptions.
    • 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.