rgf
Home repository for the Regularized Greedy Forest (RGF) library. It includes original implementation from the paper and multithreaded one written in C++, along with various language-specific wrappers.
File Explorer
Download Latest Version (.zip)- python_tests.sh
- python_tests_windows.ps1
- r_tests.sh
- r_tests_windows.ps1
- main.yml
- ISSUE_TEMPLATE.MD
- madelon.test
- madelon.train
- .gitignore
- README.md
- run.sh
- config
- feature.names
- housing.test
- housing.train
- .gitignore
- README.md
- run.sh
- README.md
- classifier.h
- data.h
- discretization.h
- dtree.h
- forest.h
- header.h
- utils.h
- classifier.cpp
- CMakeLists.txt
- data.cpp
- discretization.cpp
- utils.cpp
- auc.cpp
- CMakeLists.txt
- discretized_gendata.cpp
- discretized_trainer.cpp
- forest_predict.cpp
- forest_train.cpp
- parser.h
- test_output.h
- CMakeLists.txt
- dtree.cpp
- dtree_trainer.cpp
- feature_mapper.h
- forest.cpp
- forest_trainer.h
- node_trainer.h
- training_target.h
- CHANGES.md
- CMakeLists.txt
- LICENSE
- README.md
- Dockerfile
- FastRGF_classifier_on_iris_dataset.py
- FastRGF_regressor_on_boston_dataset.py
- classification_on_iris_dataset.ipynb
- comparison_RGF_and_GBM_classifiers_on_iris_dataset.py
- comparison_RGF_and_RF_regressors_on_diabetes_dataset.py
- regression_on_diabetes_dataset.ipynb
- __init__.py
- fastrgf_model.py
- rgf_model.py
- sklearn.py
- utils.py
- VERSION
- test_examples.py
- test_rgf_python.py
- LICENSE
- MANIFEST.in
- Readme.rst
- setup.py
- CITATION
- FastRGF_Classifier.Rd
- FastRGF_Regressor.Rd
- Internal_class.Rd
- mat_2scipy_sparse.Rd
- RGF_Classifier.Rd
- RGF_cleanup_temp_files.Rd
- RGF_Regressor.Rd
- TO_scipy_sparse.Rd
- FastRGF_Classifier.R
- FastRGF_Regressor.R
- Internal_class.R
- mat_2scipy_sparse.R
- package.R
- RGF_Classifier.R
- RGF_cleanup_temp_files.R
- RGF_Regressor.R
- TO_scipy_sparse.R
- helper-init.R
- helper-skip.R
- setup.R
- teardown.R
- test-RGF_package.R
- testthat.R
- the_RGF_package.Rmd
- DESCRIPTION
- LICENSE
- LICENSE.note
- NAMESPACE
- NEWS.md
- README.md
- makefile
- predict.inp
- regress.test.x
- regress.test.y
- regress.train.x
- regress.train.y
- regress_train_test.inp
- test.data.x
- test.data.y
- train.data.sparse.x
- train.data.x
- train.data.y
- train.inp
- train_predict.inp
- train_test.inp
- call_exe.pl
- AzBmat.hpp
- AzDmat.cpp
- AzDmat.hpp
- AzException.hpp
- AzHelp.hpp
- AzIntPool.cpp
- AzIntPool.hpp
- AzLoss.cpp
- AzLoss.hpp
- AzMemTempl.hpp
- AzOut.hpp
- AzParam.cpp
- AzParam.hpp
- AzPerfResult.hpp
- AzPrint.hpp
- AzReadOnlyMatrix.hpp
- AzSmat.cpp
- AzSmat.hpp
- AzStrArray.hpp
- AzStrPool.cpp
- AzStrPool.hpp
- AzSvDataS.cpp
- AzSvDataS.hpp
- AzSvFeatInfo.hpp
- AzSvFeatInfoClone.hpp
- AzTaskTools.cpp
- AzTaskTools.hpp
- AzTimer.hpp
- AzTools.cpp
- AzTools.hpp
- AzUtil.cpp
- AzUtil.hpp
- AzDataForTrTree.hpp
- AzFindSplit.cpp
- AzFindSplit.hpp
- AzFsinfo.hpp
- AzOptimizerT.hpp
- AzOptOnTree.cpp
- AzOptOnTree.hpp
- AzOptOnTree_TreeReg.cpp
- AzOptOnTree_TreeReg.hpp
- AzReg_TreeReg.hpp
- AzReg_TreeRegArr.hpp
- AzReg_TreeRegArrImp.hpp
- AzReg_Tsrbase.cpp
- AzReg_Tsrbase.hpp
- AzReg_TsrOpt.cpp
- AzReg_TsrOpt.hpp
- AzReg_TsrSib.cpp
- AzReg_TsrSib.hpp
- AzRegDepth.hpp
- AzRgf_FindSplit.hpp
- AzRgf_FindSplit_Dflt.cpp
- AzRgf_FindSplit_Dflt.hpp
- AzRgf_FindSplit_TreeReg.cpp
- AzRgf_FindSplit_TreeReg.hpp
- AzRgf_kw.hpp
- AzRgf_Optimizer.hpp
- AzRgf_Optimizer_Dflt.cpp
- AzRgf_Optimizer_Dflt.hpp
- AzRgf_Optimizer_TreeReg.hpp
- AzRgforest.cpp
- AzRgforest.hpp
- AzRgforest_TreeReg.hpp
- AzRgfTrainerSel.hpp
- AzRgfTree.cpp
- AzRgfTree.hpp
- AzRgfTreeEnsemble.hpp
- AzRgfTreeEnsImp.hpp
- AzSortedFeat.cpp
- AzSortedFeat.hpp
- AzTE_ModelInfo.hpp
- AzTET_Eval.hpp
- AzTET_Eval_Dflt.hpp
- AzTETmain.cpp
- AzTETmain.hpp
- AzTETmain_kw.hpp
- AzTETproc.cpp
- AzTETproc.hpp
- AzTETrainer.hpp
- AzTETselector.hpp
- AzTree.cpp
- AzTree.hpp
- AzTreeEnsemble.cpp
- AzTreeEnsemble.hpp
- AzTreeNodes.hpp
- AzTreeRule.hpp
- AzTrTree.cpp
- AzTrTree.hpp
- AzTrTree_ReadOnly.hpp
- AzTrTreeEnsemble.hpp
- AzTrTreeEnsemble_ReadOnly.hpp
- AzTrTreeFeat.cpp
- AzTrTreeFeat.hpp
- AzTrTreeNode.hpp
- AzTrTsplit.hpp
- AzTrTtarget.hpp
- driv_rgf.cpp
- rgf.sln
- rgf.vcxproj
- CHANGES.md
- CMakeLists.txt
- COPYING
- README.md
- rgf-guide.rst
- .gitignore
- AWESOME_RGF.md
- codecov.yml
- README.md
# Installation Guide
git clone https://github.com/RGF-team/rgf
Downloads the entire project code from GitHub to your computer.
cd rgf
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f python-package/docker/Dockerfile -t rgf .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 rgf
Runs the built image as an actual container.
3. CMake
Mediumcd FastRGF
This project's files live in a subfolder, so move into it first.
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
4. .NET
Mediumcd RGF/Windows/rgf
This project's files live in a subfolder, so move into it first.
dotnet restore
Downloads the packages the project depends on.
dotnet run
Builds the project and runs it immediately.
5. Python
Easypip install .
Installs the package published on PyPI directly β no need to clone the source.
jupyter notebook
Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.
6. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd RGF/build
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
