https://github.com/berndbischl/mlr
Raw File
Tip revision: b251a1542cf77ae04eb0b76db947f58fc7aab3a9 authored by pat-s on 22 January 2021, 10:10:04 UTC
update update-tic
Tip revision: b251a15
changeData.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Task_operators.R
\name{changeData}
\alias{changeData}
\title{Change Task Data}
\usage{
changeData(task, data, costs, weights, coordinates)
}
\arguments{
\item{task}{(\link{Task})\cr
The task.}

\item{data}{(\link{data.frame})\cr
The new data to associate with the task. The names and types of the feature columns must match with the old data.}

\item{costs}{([data.frame`\cr
Optional: cost matrix.}

\item{weights}{(\link{numeric})\cr
Optional: weight vector.}
}
\description{
Mainly for internal use. Changes the data associated with a task, without modifying other task properties.
}
\keyword{internal}
back to top