swh:1:snp:bbfddd3343a0fc8af19439fcdc0183e28cced444
Tip revision: d1eee403945f203115c60a6ad6d46343e15fbd2f authored by pat-s on 20 November 2020, 19:10:22 UTC
add .lintr
add .lintr
Tip revision: d1eee40
setId.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/setId.R
\name{setId}
\alias{setId}
\title{Set the id of a learner object.}
\usage{
setId(learner, id)
}
\arguments{
\item{learner}{(\link{Learner} | \code{character(1)})\cr
The learner.
If you pass a string the learner will be created via \link{makeLearner}.}
\item{id}{(\code{character(1)})\cr
New id for learner.}
}
\value{
\link{Learner}.
}
\description{
Deprecated, use \link{setLearnerId} instead.
}
\seealso{
Other learner:
\code{\link{LearnerProperties}},
\code{\link{getClassWeightParam}()},
\code{\link{getHyperPars}()},
\code{\link{getLearnerId}()},
\code{\link{getLearnerNote}()},
\code{\link{getLearnerPackages}()},
\code{\link{getLearnerParVals}()},
\code{\link{getLearnerParamSet}()},
\code{\link{getLearnerPredictType}()},
\code{\link{getLearnerShortName}()},
\code{\link{getLearnerType}()},
\code{\link{getParamSet}()},
\code{\link{helpLearnerParam}()},
\code{\link{helpLearner}()},
\code{\link{makeLearners}()},
\code{\link{makeLearner}()},
\code{\link{removeHyperPars}()},
\code{\link{setHyperPars}()},
\code{\link{setLearnerId}()},
\code{\link{setPredictThreshold}()},
\code{\link{setPredictType}()}
}
\concept{learner}