Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

transform

Transforms new data using pre-trained model


Description

Generic function to transform data with pre-trained model (inherits from mlapiTransformation)

Usage

## S3 method for class 'Matrix'
transform(`_data`, model, ...)

## S3 method for class 'matrix'
transform(`_data`, model, ...)

Arguments

_data

= x in other methods. A matrix like object, should inherit from Matrix or matrix

model

object of class mlapiTransformation which implements method $transform(x, ...)

...

additional data/model dependent arguments to downstream functions.


mlapi

Abstract Classes for Building 'scikit-learn' Like API

v0.1.0
MIT + file LICENSE
Authors
Dmitriy Selivanov
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.