haifengl / smile

Statistical Machine Intelligence & Learning Engine
https://haifengl.github.io
Other
5.99k stars 1.12k forks source link

replacement for smile.validation.test #696

Closed dlaflamme closed 2 years ago

dlaflamme commented 2 years ago

the smile-2.6.0 distribution archive has a script, examples/usps.sc that calls smile.validation.test(). However, test() seems to have disappeared between 2.5.0 and 2.6.0. What is the replacement?

haifengl commented 2 years ago

You can use one of smile.validation.classification() methods with your test data. It train and test in one call.