Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TrainData

Index

Constructors

Properties

Constructors

constructor

  • new TrainData(samples: Mat, layout: number, responses: Mat, varIdx?: number[], sampleIdx?: number[], sampleWeights?: number[], varType?: number[]): TrainData
  • Parameters

    • samples: Mat
    • layout: number
    • responses: Mat
    • Optional varIdx: number[]
    • Optional sampleIdx: number[]
    • Optional sampleWeights: number[]
    • Optional varType: number[]

    Returns TrainData

Properties

Readonly layout

layout: number

Readonly responses

responses: Mat

Readonly samples

samples: Mat

Readonly varType

varType: number[]