Documentation of 'org.ddogleg.fitting.modelset.MultipleToSingle' Java class
MultipleToSingle
org.ddogleg.fitting.modelset

Class MultipleToSingle

    • Constructor Summary

      Constructors 
      Constructor and Description
      MultipleToSingle() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getFitQuality()
      Returns the metric used to evaluate the quality of fit.
      int getInputIndex(int matchIndex)
      For an item in the match set, return the index of the item in the original input set.
      java.util.List getMatchSet()
      A set of points which match the provided parameters.
      int getMinimumSize()
      This is the minimum number of observations which can be input and produce a valid model.
      java.lang.Object getModelParameters()
      Model for the match set
      boolean process(java.util.List dataSet)
      Finds a set of points from the provided list that are a good fit for the internal model and computes the fit parameters for the model.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultipleToSingle

        public MultipleToSingle()
    • Method Detail

      • process

        public boolean process(java.util.List dataSet)
        Description copied from interface: ModelMatcher
        Finds a set of points from the provided list that are a good fit for the internal model and computes the fit parameters for the model.
        Specified by:
        process in interface ModelMatcher
        Parameters:
        dataSet - Set of points (with noise) that are to be fit.
        Returns:
        true if it successfully found a solution or false if not.
      • getModelParameters

        public java.lang.Object getModelParameters()
        Description copied from interface: ModelMatcher
        Model for the match set
        Specified by:
        getModelParameters in interface ModelMatcher
        Returns:
        model.
      • getMatchSet

        public java.util.List getMatchSet()
        Description copied from interface: ModelMatcher
        A set of points which match the provided parameters.
        Specified by:
        getMatchSet in interface ModelMatcher
        Returns:
        List of points in the match set.
      • getInputIndex

        public int getInputIndex(int matchIndex)
        Description copied from interface: ModelMatcher
        For an item in the match set, return the index of the item in the original input set.
        Specified by:
        getInputIndex in interface ModelMatcher
        Parameters:
        matchIndex - Index of an element in the match set.
        Returns:
        Index of the same element in the original input list.
      • getFitQuality

        public double getFitQuality()
        Description copied from interface: ModelMatcher
        Returns the metric used to evaluate the quality of fit. Meaning is implementation specific. Larger or smaller values could be preferred depending on implementation..
        Specified by:
        getFitQuality in interface ModelMatcher
        Returns:
        Quality of fit to matched set of points
      • getMinimumSize

        public int getMinimumSize()
        Description copied from interface: ModelMatcher
        This is the minimum number of observations which can be input and produce a valid model.
        Specified by:
        getMinimumSize in interface ModelMatcher
        Returns:
        Minimum number of sample points

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.