load_any_imageset: Load any dataset

Description Usage Arguments Value Examples

View source: R/read_in_and_save.R

Description

Makes it possible to not only load .csv files (as in the case of the Olivetti Dataset) but also to load seperate .png, .jpeg or .bmp files as an imageset.

Usage

1
load_any_imageset(folderpath, filetype)

Arguments

folderpath

str, relative path to the folder (incl. the foldername)

filetype

str, lower letter filetype

Value

td, List of arrays. Training Data.

Examples

1
2
folder <- system.file("extdata","testfiles",package="eigenfaces")
td <- load_any_imageset(folder, "jpg")

Osburg/eigenfaces documentation built on Aug. 26, 2020, 4:41 p.m.