swh:1:snp:bbfddd3343a0fc8af19439fcdc0183e28cced444
Raw File
Tip revision: 62446e021fb0d4ee8f2563698e86bc576570702a authored by pat-s on 05 October 2020, 09:36:26 UTC
http -> https
Tip revision: 62446e0
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}
back to top