View source: R/TrainingPredictions.R
DownloadTrainingPredictions | R Documentation |
Download training predictions on a specified data set.
DownloadTrainingPredictions(
project,
predictionId,
filename,
encoding = "UTF-8"
)
project |
character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier. |
predictionId |
character. ID of the prediction to retrieve training predictions for. |
filename |
character. Filename of file to save reason codes rows |
encoding |
character. Optional. Character string A string representing the encoding to use in the output file, defaults to 'UTF-8'. |
NULL, but will produce a CSV with a dataframe with out-of-fold predictions for the training data.
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
predictions <- ListTrainingPredictions(projectId)
predictionId <- predictions[[1]]$predictionId
file <- file.path(tempdir(), "myTrainingPredictions.csv")
DownloadTrainingPredictions(projectId, predictionId, file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.