module

Mining

Constants

BINARY = 'B'.ord.to_u8
CONTINUOUS = 'C'.ord.to_u8
EQ = '='.ord.to_u8
GE = '>'.ord.to_u8
GRB_CUTOFF = 6
GRB_INF_OR_UNBD = 4
GRB_INFEASIBLE = 3
GRB_INPROGRESS = 14
GRB_INTERRUPTED = 11
GRB_ITERATION_LIMIT = 7
GRB_LOADED = 1

Model status codes

GRB_MAXIMIZE = -1
GRB_MINIMIZE = 1
GRB_NODE_LIMIT = 8
GRB_NUMERIC = 12
GRB_OPTIMAL = 2
GRB_SOLUTION_LIMIT = 10
GRB_SUBOPTIMAL = 13
GRB_TIME_LIMIT = 9
GRB_UNBOUNDED = 5
GRB_USER_OBJ_LIMIT = 15
INTEGER = 'I'.ord.to_u8
LE = '<'.ord.to_u8
SEMICONT = 'S'.ord.to_u8
SEMIINT = 'N'.ord.to_u8

Instance methods

buildTree(obs : Set(Int32), perm : Array(Descriptor), pi : Array(Int32), tab : Table, idx = 0)
Source
classify(object : Array(String), with tree) : String
Source
dTreeFromMTS(training : Table, validation : Table, mts : Set(Descriptor))
Source
encodeProblem(tab : Table, dict : Hash(Descriptor, Int32))
Source
findAllDescriptors(tab : Table) : Hash(Descriptor, Int32)
Source
findMinTestSet(tab : Table, dict : Hash(Descriptor, Int32)) : Set(Descriptor)
Source
findNumOfClases(tab : Table) : Int32

Assuming a decision as 0, 1, 2, ...

Source
loadTable(filename : String)
Source

Nested types