26 lines
631 B
R
26 lines
631 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/gradient.R
|
|
\name{grad}
|
|
\alias{grad}
|
|
\title{Compute get gradient of `L(V)` given a dataset `X`.}
|
|
\usage{
|
|
grad(X, Y, V, h, loss.out = FALSE, loss.log = FALSE,
|
|
loss.only = FALSE)
|
|
}
|
|
\arguments{
|
|
\item{X}{Data matrix.}
|
|
|
|
\item{Y}{Responce.}
|
|
|
|
\item{V}{Position to compute the gradient at, aka point on Stiefl manifold.}
|
|
|
|
\item{h}{Bandwidth}
|
|
|
|
\item{loss.only}{Boolean to only compute the loss, of \code{TRUE} a single
|
|
value loss is returned and \code{envir} is ignored.}
|
|
}
|
|
\description{
|
|
Compute get gradient of `L(V)` given a dataset `X`.
|
|
}
|
|
\keyword{internal}
|