Comments (3)
This is a great issue - thanks for opening!
Do you think it'd be possible to consolidate down to a single C++ entry point or is that too tricky to design?
As you mentioned in a recent email, it's tricky to have grid parameters and multi-rank solutions. (It's ok if it's a "grid" of a single parameter, but it's hard after that...) That might just be a thing we disallow until we can (someday) find a better fix.
from moma.
An update on current APIs' location.
Docs:
https://docs.google.com/document/d/1TM-VW6nR_8CjlLjJ3SrFF6nJVXjeMFD2jDfKOktgPJM/edit?usp=sharing
from moma.
Argument specification | Function | Use case |
---|---|---|
Specify all arguments explicitly | sfpca sfpca.R |
sfpca(X, alpha_u = 1, alpha_v = 2, Omega_u = sec_diff_mat(n), Omega_v = diag(p), EPS = 1e-9, MAX_ITER = 1e+5) |
Parameter values and penalty types are separated; algorithm precision settings are wrapped in moma_pg_settings() |
moma_svd , SFPCA$initialize ... moma_expose.R |
SFPCA$initialize(X, u_sparsity = lasso(), lambda_u = c(1,10), selection_str = "ggbg" ) |
Parameter values and selection method are absorbed in penalty types | moma_sfpca , moma_twpca ... moma_sf*_wrapper.R |
moma_spca(X, u_sparse = moma_lasso(lambda = seq(0, 2, 0.2), select_scheme = "b") ) |
The above table summarizes ways to specify penalty arguments.
from moma.
Related Issues (20)
- End-to-End Tests
- Skip RNG Set-Up
- Accessor with interpolation
- Add RcppFiveDList::operator()
- Absorb parameter values into sparsity-type/smoothness-type specification HOT 3
- Interpolate by projection onto an ellipsoid HOT 1
- Use Rcpp::checkUserInterrupt()
- Improve the `b` / `g` coding
- Remove `mget(ls()) ` in `create_moma_sparsity_func`
- Support Correspondance Analysis
- Improve code coverage
- GSoC (Google Summer of Code) 2019 Report HOT 1
- Citation File
- Vignettes for Parameter Selection
- Portably Render MoMA Problem in README
- LDA Example Data: Rockhoppers
- Handle passing deflation scheme encoding between R and C++ HOT 1
- Make `X_original` constant HOT 1
- Move to GitHub Actions for CI and Deployment
- Improve BIC Search Algorithm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moma.