Documentation ¶
Index ¶
- Constants
- type DataRow
- type Error
- type MiningModel
- type Model
- type RegressionModel
- func (m *RegressionModel) Compile() error
- func (m *RegressionModel) Evaluate(input DataRow) (DataRow, error)
- func (m *RegressionModel) EvaluateBinaryClassification(input DataRow) (DataRow, error)
- func (m *RegressionModel) EvaluateMulticlassClassification(input DataRow) (DataRow, error)
- func (m *RegressionModel) EvaluateRegression(input DataRow) (DataRow, error)
- func (m *RegressionModel) Validate() error
- func (m *RegressionModel) Verify() error
- type TreeModel
- type Value
Constants ¶
View Source
const ( ErrNotImplemented = Error("evaluation: not implemented") ErrNotValidated = Error("evaluation: not validated") ErrNotCompiled = Error("evaluation: not compiled") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataRow ¶
func HandleInput ¶
func HandleInput(in DataRow, dd *models.DataDictionary, td *models.TransformationDictionary, lt *models.LocalTransformations, ms *models.MiningSchema) (DataRow, error)
type MiningModel ¶
type MiningModel struct {
// contains filtered or unexported fields
}
func NewMiningModel ¶
func NewMiningModel(dd *models.DataDictionary, td *models.TransformationDictionary, model *models.MiningModel) (*MiningModel, error)
func (*MiningModel) Compile ¶
func (m *MiningModel) Compile() error
func (*MiningModel) Validate ¶
func (m *MiningModel) Validate() error
func (*MiningModel) Verify ¶ added in v0.1.5
func (m *MiningModel) Verify() error
type Model ¶ added in v0.1.5
type Model interface { Verify() error Compile() error Validate() error Evaluate(input DataRow) (DataRow, error) }
func NewModel ¶ added in v0.1.5
func NewModel(dd *models.DataDictionary, td *models.TransformationDictionary, mdl models.ModelElement) (Model, error)
type RegressionModel ¶ added in v0.1.7
type RegressionModel struct {
// contains filtered or unexported fields
}
func NewRegressionModel ¶ added in v0.1.7
func NewRegressionModel(dd *models.DataDictionary, td *models.TransformationDictionary, model *models.RegressionModel) (*RegressionModel, error)
func (*RegressionModel) Compile ¶ added in v0.1.7
func (m *RegressionModel) Compile() error
func (*RegressionModel) Evaluate ¶ added in v0.1.7
func (m *RegressionModel) Evaluate(input DataRow) (DataRow, error)
func (*RegressionModel) EvaluateBinaryClassification ¶ added in v0.1.10
func (m *RegressionModel) EvaluateBinaryClassification(input DataRow) (DataRow, error)
func (*RegressionModel) EvaluateMulticlassClassification ¶ added in v0.1.10
func (m *RegressionModel) EvaluateMulticlassClassification(input DataRow) (DataRow, error)
func (*RegressionModel) EvaluateRegression ¶ added in v0.1.10
func (m *RegressionModel) EvaluateRegression(input DataRow) (DataRow, error)
func (*RegressionModel) Validate ¶ added in v0.1.7
func (m *RegressionModel) Validate() error
func (*RegressionModel) Verify ¶ added in v0.1.7
func (m *RegressionModel) Verify() error
type TreeModel ¶
type TreeModel struct {
// contains filtered or unexported fields
}
func NewTreeModel ¶
func NewTreeModel(dd *models.DataDictionary, td *models.TransformationDictionary, model *models.TreeModel) (*TreeModel, error)
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func HandleExpression ¶ added in v0.1.10
func HandleExpression(expr models.Expression, in DataRow, dd *models.DataDictionary, td *models.TransformationDictionary, lt *models.LocalTransformations, ms *models.MiningSchema) (Value, error)
Click to show internal directories.
Click to hide internal directories.