X-Git-Url: https://git.auder.net/assets/img/logo_Westcastle.png?a=blobdiff_plain;f=man%2FModel.Rd;h=12fc373c08f143c1da62c8a1904cfa960370975b;hb=a78bd1c09d34868df1cf11664bfc5cef4a9384d6;hp=a16f8aefe4a65b6a947e368df5677275e57b8c11;hpb=c5946158cae8f7b9400f107c533e745f835eb20f;p=agghoo.git
diff --git a/man/Model.Rd b/man/Model.Rd
index a16f8ae..12fc373 100644
--- a/man/Model.Rd
+++ b/man/Model.Rd
@@ -21,6 +21,7 @@ Model family can be chosen among "rf", "tree", "ppr" and "knn" for now.
\itemize{
\item \href{#method-new}{\code{Model$new()}}
\item \href{#method-get}{\code{Model$get()}}
+\item \href{#method-getParam}{\code{Model$getParam()}}
\item \href{#method-clone}{\code{Model$clone()}}
}
}
@@ -30,7 +31,7 @@ Model family can be chosen among "rf", "tree", "ppr" and "knn" for now.
\subsection{Method \code{new()}}{
Create a new generic model.
\subsection{Usage}{
-\if{html}{\out{
}}\preformatted{Model$new(data, target, task, gmodel = NA, params = NA)}\if{html}{\out{
}}
+\if{html}{\out{}}\preformatted{Model$new(data, target, task, gmodel = NULL, params = NULL)}\if{html}{\out{
}}
}
\subsection{Arguments}{
@@ -55,7 +56,6 @@ automatically given data and target nature if not provided.}
\if{latex}{\out{\hypertarget{method-get}{}}}
\subsection{Method \code{get()}}{
Returns the model at index "index", trained on dataHO/targetHO.
-index is between 1 and self$nmodels.
\subsection{Usage}{
\if{html}{\out{}}\preformatted{Model$get(dataHO, targetHO, index)}\if{html}{\out{
}}
}
@@ -67,6 +67,23 @@ index is between 1 and self$nmodels.
\item{\code{targetHO}}{Vector of targets (generally numeric or factor)}
+\item{\code{index}}{Index of the model in 1...nmodels}
+}
+\if{html}{\out{}}
+}
+}
+\if{html}{\out{
}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-getParam}{}}}
+\subsection{Method \code{getParam()}}{
+Returns the parameter at index "index".
+\subsection{Usage}{
+\if{html}{\out{}}\preformatted{Model$getParam(index)}\if{html}{\out{
}}
+}
+
+\subsection{Arguments}{
+\if{html}{\out{}}
+\describe{
\item{\code{index}}{Index of the model in 1...nmodels}
}
\if{html}{\out{
}}