tests/testthat/test-KNearestNeighborModel.R

test_that("NaiveBayesModel returns correct class.", {
  expect_type(KNearestNeighborModel(SplitRatio = 0.8, CV = 2, K = 3, NCores = 1, NewData = NULL), "list")
})

Try the MBMethPred package in your browser

Any scripts or data that you put into this service are public.

MBMethPred documentation built on Sept. 18, 2023, 5:13 p.m.