is.regression:
Check if a certain predictive task is a regression problem
Description
This function tests if a task defined by a formula over a data set is
a regression task, which will be the case if the target variable is
numeric.
Usage
is.regression(task)
Arguments
task
An object of class PredTask
Value
A logical value
References
Torgo, L. (2014) An Infra-Structure for Performance
Estimation and Experimental Comparison of Predictive Models in R. arXiv:1412.0436 [cs.MS]
http://arxiv.org/abs/1412.0436