mnist_show: mnist_show

Description Usage Arguments Details Author(s) Examples

Description

plot logistic regression training set

Usage

1
mnist_show(img, grid = 28, ncol = 10, plot = TRUE, label)

Arguments

img

mnist image matrix

grid

picture pixel resolution

ncol

digit number each row

Details

mnist_show

Author(s)

Yifan Duan

Examples

1
2
3
imag <- loadMNIST()
train <- imag$train$images[(1:100), ]
mnist_show(train)

frankongre/RcppGLM documentation built on May 16, 2019, 1:57 p.m.