Matrix Tensor Factorization
How setup the environment
Recomended Method
- Run
julia
- Add the package with
pkg> add https://github.com/MPF-Optimization-Laboratory/MatrixTensorFactor.jl.git
(usejulia> ]
to get to the package manager) - Import with
using MatrixTensorFactor
OR
In Browser
- Go to https://github.com/MPF-Optimization-Laboratory/MatrixTensorFactor.jl
- Click "<> Code" and press "+" to "Create a codespace on main". It make take a few moments to set up.
- Open the command palett with
Ctrl+Shift+P
(Windows) orCmd+Shift+P
(Mac) - Enter
>Julia: Start REPL
- In the REPL, resolve any dependency issues with
pkg> resolve
andpkg> instantiate
(usejulia> ]
to get to the package manager). It may take a few minutes to download dependencies.
Run one of the example files by opening the file and pressing the triangular "run" button, or >Julia: Execute active File in REPL
.
OR
On your own device
- Clone the repo at https://github.com/MPF-Optimization-Laboratory/MatrixTensorFactor.jl
- Navigate to the root of the repository in a terminal and run
julia
- Activate the project with
pkg> activate .
(usejulia> ]
to get to the package manager) - resolve any dependency issues with
pkg> resolve
Importing the package
Type julia> using MatrixTensorFactor
Examples
smalldata
: decomposes a subset of genomic data to identify gene profiles for learned cell types syntheticdata1d.jl
: generate multiple mixtures of 3, 1d probability distributions syntheticdata2d.jl
: generate multiple mixtures of 3, 2d probability distributions
MatrixTensorFactor
Defines the main factorization function nnmtf
and related mathematical functions. See the full list of Exported Terms.
Index
MatrixTensorFactor
MatrixTensorFactor.DEFAULT_ALPHA
MatrixTensorFactor.DEFAULT_N_SAMPLES
MatrixTensorFactor.IMPLIMENTED_CRITERIA
MatrixTensorFactor.IMPLIMENTED_NORMALIZATIONS
MatrixTensorFactor.IMPLIMENTED_OPTIONS
MatrixTensorFactor.IMPLIMENTED_PROJECTIONS
MatrixTensorFactor.IMPLIMENTED_STEPSIZES
MatrixTensorFactor.MAX_STEP
MatrixTensorFactor.MIN_STEP
Base.:*
MatrixTensorFactor.combined_norm
MatrixTensorFactor.coordzip
MatrixTensorFactor.curvature
MatrixTensorFactor.d2_dx2
MatrixTensorFactor.d_dx
MatrixTensorFactor.default_bandwidth
MatrixTensorFactor.dist_to_Ncone
MatrixTensorFactor.filter_2d_inner_percentile
MatrixTensorFactor.filter_inner_percentile
MatrixTensorFactor.kde2d
MatrixTensorFactor.make_densities
MatrixTensorFactor.make_densities2d
MatrixTensorFactor.mean_rel_error
MatrixTensorFactor.nnmtf
MatrixTensorFactor.nnmtf_proxgrad_online
MatrixTensorFactor.rel_error
MatrixTensorFactor.relative_error
MatrixTensorFactor.repeatcoord
MatrixTensorFactor.slicewise_dot
MatrixTensorFactor.standard_curvature
MatrixTensorFactor.standardize_2d_KDEs
MatrixTensorFactor.standardize_KDEs