|
a |
|
b/man/choose_rho.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/helper_function.R |
|
|
3 |
\name{choose_rho} |
|
|
4 |
\alias{choose_rho} |
|
|
5 |
\title{Draw error curve} |
|
|
6 |
\usage{ |
|
|
7 |
choose_rho(data, n_fold, rho) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{data}{This is a matrix.} |
|
|
11 |
|
|
|
12 |
\item{n_fold}{This parameter specifies the n number in n-fold cross_validation.} |
|
|
13 |
|
|
|
14 |
\item{rho}{This is the regularization parameter values to be evalueated in terms their errors.} |
|
|
15 |
} |
|
|
16 |
\value{ |
|
|
17 |
A list of errors and their corresponding \eqn{log(rho)}. |
|
|
18 |
} |
|
|
19 |
\description{ |
|
|
20 |
This function draws error curve using cross-validation. |
|
|
21 |
} |