Class ItemClassifierSettings

  • All Implemented Interfaces:
    Serializable

    public final class ItemClassifierSettings
    extends Object
    implements Serializable
    All the collected settings needed in order to run the ItemClassifier.
    Author:
    tyler
    See Also:
    Serialized Form
    • Field Detail

      • _settings

        public edu.columbia.tjw.item.ItemSettings _settings
    • Constructor Detail

      • ItemClassifierSettings

        public ItemClassifierSettings​(ItemClassifierSettings base_,
                                      edu.columbia.tjw.item.ItemSettings settings_)
      • ItemClassifierSettings

        public ItemClassifierSettings​(edu.columbia.tjw.item.ItemSettings settings_,
                                      String intercept_,
                                      edu.columbia.tjw.item.base.SimpleStatus status_,
                                      int maxParamCount_,
                                      List<String> regressors_,
                                      Set<String> curveRegressors_)
        Use this to construct settings unless you really know what you're doing.
        Parameters:
        settings_ - Item settings to use, can be null.
        intercept_ - Which regressor will be the intercept. You don't need to specify this in the data, it will be assumed to be 1.0 always.
        status_ - Which status are we projecting from (only interesting for markov chains, just make a simple 2 status family if in doubt).
        maxParamCount_ - How many parameters is the model allowed to use. Each curve will use approximately 3 params.
        regressors_ - The list (in order) of the regressors to use. This must be in the same order that they appear in the features column.
        curveRegressors_ - The regressors that can support curves (i.e. they are not binary flags), order doesn't matter for these.
    • Method Detail

      • getSettings

        public edu.columbia.tjw.item.ItemSettings getSettings()
      • getFromStatus

        public edu.columbia.tjw.item.base.SimpleStatus getFromStatus()
      • getIntercept

        public edu.columbia.tjw.item.base.SimpleRegressor getIntercept()
      • getFactory

        public edu.columbia.tjw.item.ItemCurveFactory<edu.columbia.tjw.item.base.SimpleRegressor,​edu.columbia.tjw.item.base.StandardCurveType> getFactory()
      • getMaxParamCount

        public int getMaxParamCount()
      • getRegressors

        public List<edu.columbia.tjw.item.base.SimpleRegressor> getRegressors()
      • getCurveRegressors

        public SortedSet<edu.columbia.tjw.item.base.SimpleRegressor> getCurveRegressors()
      • getNonCurveRegressors

        public Set<edu.columbia.tjw.item.base.SimpleRegressor> getNonCurveRegressors()