swh:1:snp:bbfddd3343a0fc8af19439fcdc0183e28cced444
Tip revision: e6c35ae007680eac666baa9bb3d2eddd659f2021 authored by Lars Kotthoff on 07 February 2017, 18:54:00 UTC
bump version
bump version
Tip revision: e6c35ae
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}{[\code{\link{Learner}} | \code{character(1)}]\cr
The learner.
If you pass a string the learner will be created via \code{\link{makeLearner}}.}
\item{id}{[\code{character(1)}]\cr
New id for learner.}
}
\value{
[\code{\link{Learner}}].
}
\description{
Deprecated, use \code{\link{setLearnerId}} instead.
}
\seealso{
Other learner: \code{\link{LearnerProperties}},
\code{\link{getClassWeightParam}},
\code{\link{getHyperPars}}, \code{\link{getLearnerId}},
\code{\link{getLearnerPackages}},
\code{\link{getLearnerParVals}},
\code{\link{getLearnerParamSet}},
\code{\link{getLearnerPredictType}},
\code{\link{getLearnerShortName}},
\code{\link{getLearnerType}}, \code{\link{getParamSet}},
\code{\link{makeLearners}}, \code{\link{makeLearner}},
\code{\link{removeHyperPars}},
\code{\link{setHyperPars}}, \code{\link{setLearnerId}},
\code{\link{setPredictThreshold}},
\code{\link{setPredictType}}
}