Packages

object Fit

The Fit companion object provides factory methods for assessing quality of fit for standard types of modeling techniques.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MIN_FOLDS: Int
  5. def apply(y: VectoD, e: VectoD, n: Int): Fit

    Create a Fit object that provides methods to determine basic quality of fit measures.

    Create a Fit object that provides methods to determine basic quality of fit measures. This factory method assume a standard regression model with an intercept.

    y

    the values in the m-dimensional output/response vector

    n

    the number of parameters (b.dim)

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def fitLabel: Seq[String]

    Return the labels for the Quality of Fit (QoF) measures.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def help: String

    Return the help string that describes the Quality of Fit (QoF) measures provided by the Fit class.

    Return the help string that describes the Quality of Fit (QoF) measures provided by the Fit class. The QoF measures are divided into two groups: general and statistical (that often require degrees of freedom and/or log-likelihoods).

    See also

    www.ncbi.nlm.nih.gov/pmc/articles/PMC5570302/

    https://en.wikipedia.org/wiki/Coefficient_of_determination

  14. val index_aic: Int
  15. val index_bic: Int
  16. val index_df: Int
  17. val index_dfm: Int
  18. val index_fStat: Int
  19. val index_mae: Int
  20. val index_mape: Int
  21. val index_mse0: Int
  22. val index_rSq: Int
  23. val index_rSqBar: Int
  24. val index_rmse: Int
  25. val index_smape: Int
  26. val index_sse: Int
  27. val index_sst: Int
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def qofStatTable: Array[Statistic]

    Create a table to store statistics for QoF measures, where each row corresponds to the statistics on a particular QoF measure, e.g., rSq.

  33. def qofVector(fit: VectoD, cv_fit: Array[Statistic]): VectorD

    Collect qof results for a model having say 'l' parameters and return them in a vector.

    Collect qof results for a model having say 'l' parameters and return them in a vector. Adjust 'index_?' to customize Quality of Fit (QoF) measures.

    fit

    the fit vector with regard to the training set

    cv_fit

    the fit array of statistics for cross-validation (upon test sets)

  34. def showQofStatTable(stats: Array[Statistic]): Unit

    Show the table storing the statistics for QoF measures.

  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def tallyQof(stats: Array[Statistic], qof: VectoD): Unit

    Tally the current QoF measures into the statistical accumulators.

    Tally the current QoF measures into the statistical accumulators.

    stats

    the statistics table being updated

    qof

    the current QoF measure vector

  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped