Revision e9e80dfdfbf8685c47ba116081144d159d1d5d7e authored by IyarLin on 28 August 2018, 01:04:36 UTC, committed by Lars Kotthoff on 28 August 2018, 01:04:36 UTC
* fixed ibrier measure * Changed F to FALSE
1 parent 93d3d3e
UnsupervisedTask.R
makeUnsupervisedTask = function(type, data, weights, blocking, fixup.data, check.data, coordinates) {
task = makeTask(type, data, weights, blocking, fixup.data = fixup.data, check.data = check.data,
coordinates = coordinates)
if (check.data) {
# we can't use getTaskData to access the tasks's data here because we then
# want to access the description object which is not existing yet
checkTaskData(task$env$data)
}
addClasses(task, "UnsupervisedTask")
}
#' @export
print.UnsupervisedTask = function(x, print.weights = TRUE, ...) {
td = x$task.desc
catf("Unsupervised task: %s", td$id)
catf("Type: %s", td$type)
catf("Observations: %i", td$size)
catf("Features:")
catf(printToChar(td$n.feat, collapse = "\n"))
catf("Missings: %s", td$has.missings)
if (print.weights)
catf("Has weights: %s", td$has.weights)
catf("Has blocking: %s", td$has.blocking)
catf("Has coordinates: %s", td$has.coordinates)
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...