Description Usage Arguments Value Examples
Calculates average data (here: face) of the given dataset td.
1 | avg_face(td)
|
td |
List of arrays. Training data. |
Returns average face as array.
1 2 3 4 5 | # Import Olivetti-faces
olivetti <- system.file("extdata","olivetti_X.csv",package="eigenfaces")
td <- load_imageset_ef(olivetti, c(64,64))
# Get average face
avg_face(td)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.