make new functions exported but internal at the same time
This commit is contained in:
Родитель
b87afa97de
Коммит
e962722019
|
@ -1,5 +1,6 @@
|
|||
# Generated by roxygen2: do not edit by hand
|
||||
|
||||
export(ensemble_models)
|
||||
export(forecast_time_series)
|
||||
export(model_hyperparameters)
|
||||
export(model_workflows)
|
||||
|
|
|
@ -908,6 +908,7 @@ construct_prep_time_series <- function(input_data,
|
|||
#'
|
||||
#' @return A dataframe with nested list values for feature engineering applied by recipe
|
||||
#'
|
||||
#' @keywords internal
|
||||
#' @export
|
||||
#' @examples
|
||||
#' feature_engineering <- prep_data(
|
||||
|
|
|
@ -78,6 +78,7 @@ get_back_test_scenario_hist_periods <- function(input_tbl,
|
|||
#' @param back_test_spacing back test spacing
|
||||
#'
|
||||
#' @return Returns back_test_scenarios and hist_periods_80
|
||||
#' @keywords internal
|
||||
#' @export
|
||||
train_test_split <- function(input_tbl,
|
||||
hist_end_date,
|
||||
|
@ -188,6 +189,7 @@ train_test_split <- function(input_tbl,
|
|||
#' @param pca
|
||||
#'
|
||||
#' @return Returns back_test_scenarios and hist_periods_80
|
||||
#' @keywords internal
|
||||
#' @export
|
||||
model_workflows <- function(model_recipe_tbl,
|
||||
models_to_run = NULL,
|
||||
|
@ -306,6 +308,7 @@ model_workflows <- function(model_recipe_tbl,
|
|||
#' @param num_hyperparameters number of hyperparameter combinations
|
||||
#'
|
||||
#' @return table of model hyperparameters
|
||||
#' @keywords internal
|
||||
#' @export
|
||||
model_hyperparameters <- function(model_workflow_tbl,
|
||||
model_recipe_tbl,
|
||||
|
@ -394,6 +397,7 @@ model_hyperparameters <- function(model_workflow_tbl,
|
|||
#' @param seed seed number
|
||||
#'
|
||||
#' @return table
|
||||
#' @keywords internal
|
||||
#' @export
|
||||
tune_hyperparameters <- function(model_recipe_tbl,
|
||||
model_workflow_tbl,
|
||||
|
@ -663,6 +667,7 @@ tune_hyperparameters <- function(model_recipe_tbl,
|
|||
#' @param seed seed number
|
||||
#'
|
||||
#' @return table
|
||||
#' @keywords internal
|
||||
#' @export
|
||||
refit_models <- function(model_fit_tbl,
|
||||
model_recipe_tbl,
|
||||
|
@ -805,7 +810,8 @@ refit_models <- function(model_fit_tbl,
|
|||
#' @param seed seed number
|
||||
#'
|
||||
#' @return table
|
||||
#' @noRd
|
||||
#' @keywords internal
|
||||
#' @export
|
||||
ensemble_models <- function(tuning_tbl,
|
||||
refit_tbl,
|
||||
date_type,
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/finnts_0.2.0_train_models.R
|
||||
\name{ensemble_models}
|
||||
\alias{ensemble_models}
|
||||
\title{Ensemble Models}
|
||||
\usage{
|
||||
ensemble_models(
|
||||
tuning_tbl,
|
||||
refit_tbl,
|
||||
date_type,
|
||||
parallel_processing = NULL,
|
||||
num_cores = NULL,
|
||||
seed = 123
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
\item{seed}{seed number}
|
||||
|
||||
\item{model_recipe_tbl}{model recipe table}
|
||||
|
||||
\item{model_fit_tbl}{model fit table}
|
||||
|
||||
\item{model_train_test_tbl}{model train test split table}
|
||||
|
||||
\item{combo_variables}{combo variables}
|
||||
}
|
||||
\value{
|
||||
table
|
||||
}
|
||||
\description{
|
||||
Ensemble Models
|
||||
}
|
||||
\keyword{internal}
|
|
@ -23,3 +23,4 @@ table of model hyperparameters
|
|||
\description{
|
||||
Get model hyperparameters
|
||||
}
|
||||
\keyword{internal}
|
||||
|
|
|
@ -23,3 +23,4 @@ Returns back_test_scenarios and hist_periods_80
|
|||
\description{
|
||||
Gets model workflows
|
||||
}
|
||||
\keyword{internal}
|
||||
|
|
|
@ -110,3 +110,4 @@ recipe_2 <- feature_engineering \%>\%
|
|||
tidyr::unnest(R2)
|
||||
|
||||
}
|
||||
\keyword{internal}
|
||||
|
|
|
@ -31,3 +31,4 @@ table
|
|||
\description{
|
||||
Refit Models
|
||||
}
|
||||
\keyword{internal}
|
||||
|
|
|
@ -30,3 +30,4 @@ Returns back_test_scenarios and hist_periods_80
|
|||
\description{
|
||||
Gets the train test splits
|
||||
}
|
||||
\keyword{internal}
|
||||
|
|
Загрузка…
Ссылка в новой задаче