store_regression_results: Store results from keras tf regression training and...

Description Usage Arguments Value

View source: R/keras_regression.R

Description

This function extracts information from the keras model generated by training or prediction and stores them in a data.frame. It compares the pre- dicted values in training and prediction to their true values and calculates various measures to describe the difference.

Usage

1
store_regression_results(hist, true_values, predicted_values, training_data)

Arguments

hist

the keras history object

true_values

the values to be predicted from 'trainset_labels' or 'testset_labels'

predicted_values

numerical vector of predicted values

training_data

the training set data.frame

Value

A data frame with one row per keras run and class


RJ333/phyloseq2ML documentation built on June 2, 2020, 9:25 p.m.