Model

scalation.modeling.Model
See theModel companion trait
object Model

The Model companion object provides methods useful for classes extending the Model trait.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Model.type

Members list

Value members

Concrete methods

inline def TE_RATIO: Double

Get the TE ratio = ratio of the size of the TESTING-set to size of the FULL dataset.

Get the TE ratio = ratio of the size of the TESTING-set to size of the FULL dataset.

Attributes

def TE_RATIO_=(ratio: Double): Unit

Set the TE ratio = ratio of the size of the TESTING-set to size of the FULL dataset.

Set the TE ratio = ratio of the size of the TESTING-set to size of the FULL dataset.

Value parameters

ratio

the new ratio of the size of the TESTING-set to size of the FULL dataset

Attributes

inline def teSize(m: Int): Int

Calculate the size (number of instances) for a testing set (round up).

Calculate the size (number of instances) for a testing set (round up).

Value parameters

m

the size of the full dataset

Attributes

inline def trSize(m: Int): Int

Calculate the size (number of instances) for a training set.

Calculate the size (number of instances) for a training set.

Value parameters

m

the size of the full dataset

Attributes