mining
Version, currently master branch1 version
- master branchlatestDec 31, 2021
github.com/w-wieczorek/mining
The source code for "Minimum query set for decision tree construction"
Installation
# Add this to your shard.yml
dependencies:
mining:
github: w-wieczorek/mining
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.1.1- License
- MIT
- Author
- Wojciech Wieczorek
- Target
miningfrom src/mining.cr
Dependencies
This version declares no dependencies.
README
mining
This is the implementation of an algorithm for the genaration of decision trees from csv databases. Please read and cite the following article:
Minimum Query Set for Decision Tree Construction, Entropy 2021, 23(12), 1682; https://doi.org/10.3390/e23121682
Our program uses Gurobi Optimizer, at least 9.1.2, which is a powerful mathematical programming solver available for LP and MIP problems (free for academic purposes).
The language of implementation is Crystal and we tested the program under Ubuntu 20.04.3 LTS operating system.
Installation and usage
-
Install the LP solver as descibed on the page Gurobi for Academics and Researchers.
-
Clone our repository:
git clone https://github.com/w-wieczorek/mining.git -
Find the source file
mining.crand change the first line by puting there a correct path (for linux version - gurobi912/linux64/lib) tolibgurobi91.sofile. -
Build and run the code:
cd mining crystal build --no-debug --release src/mining.cr ./mining
Contributing
- Fork it (https://github.com/w-wieczorek/mining/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Wojciech Wieczorek - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Dec 31, 2021
- Crystal
1.1.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/w-wieczorek/mining
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1