Computationally efficient tools for high dimensional predictive modeling (regression and classification). SAM is short for sparse additive modeling, and adopts the computationally efficient basis spline technique. We solve the optimization problems by various computational algorithms including the block coordinate descent algorithm, fast iterative soft-thresholding algorithm, and newton method. The computation is further accelerated by warm-start and active-set tricks.
Sparse Additive Modelling (SAM) with:
R/, src/, man/)python-package/) that reuses the current C++ coreBuild/check:
R CMD build .
R CMD check --as-cran SAM_1.2.tar.gz
Location: python-package/
APIs implemented:
samLL, samHL, samEL, samQLpredict_samLL, predict_samHL, predict_samEL, predict_samQLThe wrapper calls native symbols from src/SAM.so:
grpLR, grpSVM, grpPR, grplassoQuick local run:
bash python-package/scripts/build_native.sh
PYTHONPATH=python-package python3 python-package/examples/run_smoke.py
man/*.Rdpython-package/docs/ + python-package/mkdocs.ymlTo build Python docs locally:
cd python-package
mkdocs build --strict