MCPcopy Create free account
hub / github.com/Raibows/MLinRust / train

Method train

src/model/svm.rs:99–146  ·  view source on GitHub ↗

train the SVM model verbose: whether show the training info

(&mut self, dataset: Dataset<usize>, epoch: usize, loss: SVMLoss, early_stop: bool, verbose: bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

test_with_2d_pointsFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 8

evaluateFunction · 0.85
minFunction · 0.85
maxFunction · 0.85
lenMethod · 0.80
iter_mutMethod · 0.80
gradient_backwardMethod · 0.80
repeatMethod · 0.80
clearMethod · 0.80

Tested by 1

test_with_2d_pointsFunction · 0.36