crtests: Classification and Regression Tests

Provides wrapper functions for running classification and regression tests using different machine learning techniques, such as Random Forests and decision trees. The package provides standardized methods for preparing data to suit the algorithm's needs, training a model, making predictions, and evaluating results. Also, some functions are provided to run multiple instances of a test.

AuthorSjoerd van der Spoel [aut, cre]
Date of publication2016-05-20 22:36:56
MaintainerSjoerd van der Spoel <R@sjoerdvanderspoel.nl>
LicenseGPL-3 | file LICENSE
Version0.2.1

View on CRAN

Man pages

apply_levels: Converts the column factor levels in 'df' to those in...

argument_match_test: Test function with non-matching arguments

capitalize_first: Capitalize the first letter of a word

classification_model: Generic function for creating a classification model

create_and_run_test: Create test and run it

createtest: Create a classification or regression test case

crtests: crtests: A package for creating and executing classification...

drop_na: Remove NAs according to a strategy

evaluate: Evaluate the performance of a prediction.

evaluate_problem: Generic function for evaluation of test results

evaluation: Create an evaluation object

extract_formula: Extract a formula from a test

factor_length: Determine the length of the factors in a data.frame

group_levels: Group infrequent levels in 'data', either a factor or a...

group_levels.default: Group infrequent factor levels

is_complete_row: Determine if the rows in a data.frame have NAs

make_predictions: Make predictions using a model Generic function for testing a...

method_prepare: Method-specific data preparation

multisample: Make multiple samples of data

multitest: Create and run multiple instances of a test

multitest_evaluation: Create an evaluation of multiple tests

na_count: Count the number of NAs in an object

prepare: Prepare the data for the specified test.

prepare_data: Prepare data for training or testing.

print.evaluation: Print an 'evaluation' object

print.multitest_evaluation: Print a multitest_evaluation

print.multitest_evaluation.summary: Print a multitest_evaluation.summary object

random_string: Generate a random string

regression_model: Fit a regression model Generic function for fitting a...

remove_names: Set any names of x to ""

replace_names: Replace strings in the names of an object

runtest: Run a classification or regression test

summary.evaluation: Summary of an evaluation

summary.multitest_evaluation: Make a summary of multiple test evaluations

train_model: Train a classification or regression model

util: Utility functions

Files in this package

crtests
crtests/inst
crtests/inst/doc
crtests/inst/doc/overview.R
crtests/inst/doc/overview.html
crtests/inst/doc/extending.html
crtests/inst/doc/overview.Rmd
crtests/inst/doc/extending.Rmd
crtests/tests
crtests/tests/testthat.R
crtests/tests/testthat
crtests/tests/testthat/test.prepare.R
crtests/tests/testthat/test.runtest.R
crtests/tests/testthat/test.evaluate.R
crtests/tests/testthat/test.createtest.R
crtests/NAMESPACE
crtests/NEWS.md
crtests/R
crtests/R/multisample.R crtests/R/method_prepare.R crtests/R/train_helpers.R crtests/R/prepare_helpers.R crtests/R/evaluate.R crtests/R/multitest_helpers.R crtests/R/train_model.R crtests/R/crtests.R crtests/R/prepare.R crtests/R/regression_model.R crtests/R/multitest.R crtests/R/classification_model.R crtests/R/runtest.R crtests/R/createtest.R crtests/R/util.R crtests/R/evaluate_helpers.R crtests/R/make_predictions.R
crtests/vignettes
crtests/vignettes/overview.Rmd
crtests/vignettes/extending.Rmd
crtests/README.md
crtests/MD5
crtests/build
crtests/build/vignette.rds
crtests/DESCRIPTION
crtests/man
crtests/man/evaluation.Rd crtests/man/capitalize_first.Rd crtests/man/replace_names.Rd crtests/man/prepare_data.Rd crtests/man/create_and_run_test.Rd crtests/man/summary.multitest_evaluation.Rd crtests/man/evaluate_problem.Rd crtests/man/group_levels.Rd crtests/man/evaluate.Rd crtests/man/group_levels.default.Rd crtests/man/util.Rd crtests/man/factor_length.Rd crtests/man/print.evaluation.Rd crtests/man/remove_names.Rd crtests/man/train_model.Rd crtests/man/drop_na.Rd crtests/man/prepare.Rd crtests/man/is_complete_row.Rd crtests/man/classification_model.Rd crtests/man/apply_levels.Rd crtests/man/random_string.Rd crtests/man/multisample.Rd crtests/man/na_count.Rd crtests/man/regression_model.Rd crtests/man/method_prepare.Rd crtests/man/multitest_evaluation.Rd crtests/man/multitest.Rd crtests/man/crtests.Rd crtests/man/summary.evaluation.Rd crtests/man/print.multitest_evaluation.summary.Rd crtests/man/make_predictions.Rd crtests/man/extract_formula.Rd crtests/man/print.multitest_evaluation.Rd crtests/man/createtest.Rd crtests/man/runtest.Rd crtests/man/argument_match_test.Rd
crtests/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.