Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MulticlassLogisticRegression

Index

Constructors

constructor

Properties

Private batchSize

batchSize: number = 0

Private learningRate

learningRate: number = 0.001

Private logisticRegressions

logisticRegressions: LogisticRegression[]

Private numberOfEpochs

numberOfEpochs: number = 1000

Private regularizationFactor

regularizationFactor: number = 0

Methods

getBatchSize

  • getBatchSize(): number

getHypothesis

  • getHypothesis(): Array<Matrix>

getLearningRate

  • getLearningRate(): number

getNumberOfEpochs

  • getNumberOfEpochs(): number

getRegularizationFactor

  • getRegularizationFactor(): number

predict

resetHypothesis

  • resetHypothesis(): void

setBatchSize

  • setBatchSize(batchSize?: number): void

setHypothesis

  • setHypothesis(hypothesesPerClass: Matrix[]): void

setLearningRate

  • setLearningRate(learningRate: number): void

setNumberOfEpochs

  • setNumberOfEpochs(numberOfEpochs: number): void

setRegularizationFactor

  • setRegularizationFactor(regularizationFactor: number): void

train

Generated using TypeDoc