forked from neurodata/SPORF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandMatContinuous.Rd
More file actions
33 lines (28 loc) · 899 Bytes
/
RandMatContinuous.Rd
File metadata and controls
33 lines (28 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RandMat.R
\name{RandMatContinuous}
\alias{RandMatContinuous}
\title{Create a Random Matrix: Continuous}
\usage{
RandMatContinuous(p, d, sparsity, catMap = NULL, ...)
}
\arguments{
\item{p}{the number of dimensions.}
\item{d}{the number of desired columns in the projection matrix.}
\item{sparsity}{a real number in \eqn{(0,1)} that specifies the distribution of non-zero elements in the random matrix.}
\item{catMap}{a list specifying specifies which one-of-K encoded columns in X correspond to the same categorical feature.}
\item{...}{used to handle superfluous arguments passed in using paramList.}
}
\value{
A random matrix to use in running \code{\link{RerF}}.
}
\description{
Create a Random Matrix: Continuous
}
\examples{
p <- 8
d <- 3
sparsity <- 0.25
set.seed(4)
(a <- RandMatContinuous(p, d, sparsity))
}