File: getFeatSelResult.R

package info (click to toggle)
r-cran-mlr 2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,760 kB
  • sloc: ansic: 65; sh: 13; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#' Returns the selected feature set and optimization path after training.
#'
#' @param object ([WrappedModel])\cr
#'   Trained Model created with [makeFeatSelWrapper].
#' @return ([FeatSelResult]).
#' @export
#' @family featsel
getFeatSelResult = function(object) {
  assertClass(object, "FeatSelModel")
  object$learner.model$opt.result
}