print.ftrl.Dataset: Print ftrl.Dataset

Description Usage Arguments Examples

View source: R/ftrl.Dataset.R

Description

Print information about ftrl.Dataset Currently it displays dimensions and presence of feature mapping.

Usage

1
2
## S3 method for class 'ftrl.Dataset'
print(x, verbose = FALSE, ...)

Arguments

x

a object of ftrl.Dataset.

verbose

whether to print mapping

...

not currently used

Examples

1
2
3
4
5
6
7
8
9
library(data.table)
library(FeatureHashing)
data(ipinyou)
f <- ~ 0 + BidID + IP + City + AdExchange + BiddingPrice + PayingPrice
m.train <- FTRLProx_Model_Matrix(f, ipinyou.train[, -"IsClick", with = FALSE],
                                 label = as.numeric(ipinyou.train$IsClick))

m.train
print(m.train, verbose = TRUE)

yanyachen/rFTRLProximal documentation built on May 4, 2019, 2:30 p.m.