Constructors
constructor
- new TrainData(samples, layout, responses, varIdx?, sampleIdx?, sampleWeights?, varType?): TrainData
Parameters
samples: Mat
layout: number
responses: Mat
Optional
varIdx: number[]
Optional
sampleIdx: number[]
Optional
sampleWeights: number[]
Optional
varType: number[]
- new TrainData(samples, layout, responses, opt): TrainData
Parameters
samples: Mat
layout: number
responses: Mat
Properties
Readonly
layout
layout: number
Readonly
responses
Readonly
sampleWeights
sampleWeights: number[]
Readonly
samples
Readonly
varIdx
varIdx: number[]
Readonly
varType
varType: number[]