Relational Functional Gradient Boosting (rfgb)
rfgb: Relational Functional Gradient Boosting (in Python).
Documentation: https://rfgb.readthedocs.io/en/latest/
Questions? Contact Alexander L. Hayes (hayesall)
Installation
Stable builds may be installed from PyPi
pip install rfgb
Or develop further by cloning the repository
git clone https://github.com/hayesall/rfgb.git
cd rfgb/
python setup.py develop
Quick-Start
Learning with a relational dependency network.
cd testDomains/Logistics/
rfgb init
rfgb learn rdn -target unload
Additional options for each subcommand may be viewed by passing -h as a parameter.
rfgb -h
rfgb learn rdn -h
Classification with Expert Advice (-advice)
Preferred and non-preferred labels may be provided as advice during classification via logical rules. This advice may be specified in a file named advice.txt in the train directory for a dataset.
Four datasets (BlocksWorld, HeartAttack, Logistics, and MoodDisorder) have an advice file included for demonstration
Logistics
cd testDomains/Logistics/
rfgb init
rfgb learn rdn -advice -target unload
HeartAttack
cd testDomains/HeartAttack/
rfgb init
rfgb learn rdn -advice -target ha
Targets
“Targets” specify what is learned, examples of the target are provided in pos.txt, neg.txt, or examples.txt (for regression). These are specified here for convenience.
Dataset |
Target |
BlocksWorld |
putdown |
BostonHousing |
medv |
HeartAttack |
ha |
Insurance |
value |
Logistics |
unload |
MoodDisorder |
bipolar |
TicTacToe |
put or dontput |
ToyCancer |
cancer |
XOR |
xor |
In Development
Test cases (codecov >90%)
General interaction improvements for commandline and library
Learning Markov Logic Networks
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A full copy of the license is available in the base of this repository. For more information, see https://www.gnu.org/licenses/
Metadata
Release files for rfgb 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rfgb-0.3.1.tar.gz | 34.4 kB | Without provenance | Details for rfgb-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rfgb-0.3.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for rfgb-0.3.1-py2.py3-none-any.whl |
Total release size: 80.5 kB
Release files / rfgb-0.3.1.tar.gz
| Download URL | rfgb-0.3.1.tar.gz |
|---|---|
| Size | 34.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b557e561414f22de362d99cb0aa79c3ff86d33dcf5ff2c90941f318fb3428e1
|
|
BLAKE2b-256 checksum How to use checksums |
30187ba4d462f5c361699cf6dec66630daf76974c92e4d038e0e1dff03a94d4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
|
Release files / rfgb-0.3.1-py2.py3-none-any.whl
| Download URL | rfgb-0.3.1-py2.py3-none-any.whl |
|---|---|
| Size | 46.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fe89d947293a7d6e169557eff91994e8f7eac6adeddebc3c98573fe4399b1f88
|
|
BLAKE2b-256 checksum How to use checksums |
716f26f33f975a82302545836e0479c4f66b369674e86f54c083f5430b4ba8b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
|
Security for rfgb 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.