swh:1:snp:bbfddd3343a0fc8af19439fcdc0183e28cced444
Tip revision: f2a19a06ee95dc2145fe3502146812366c16c1a3 authored by pat-s on 06 August 2019, 10:01:56 UTC
Deploy from Travis build 14049 [ci skip]
Deploy from Travis build 14049 [ci skip]
Tip revision: f2a19a0
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}