Giter Club home page Giter Club logo

set-tree's People

Contributors

royhirsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ranigb

set-tree's Issues

Inquiry about Datasets

I'm a graduate student at HKUST. I have read your marvelous article " Trees with Attention for Set Prediction Tasks” in ICML 2021 with great interest. Could you please consider sharing your datasets(including Drug Prescription Errors & Redshift Estimation) with me for academic purposes? I'm in particular interested in these two datasets.

Thanks for your consideration!

Unable to define minimum samples for leaf nodes

Hi,

Thank you for this wonderful tool.

I've been unable to change the minimum samples for leaf nodes. Everything else works fine when generating the trees (I was able to change the maximum depth for example).

This is how I instantiated the tree:
set_tree_model = settree.SetTree(
classifier=False,
criterion="mse",
splitter='sklearn',
max_features=None,
min_samples_split=3,
operations=list_of_operations,
use_attention_set=USE_ATTN_SET,
use_attention_set_comp=USE_ATTN_SET_COMP,
attention_set_limit=ATTN_SET_LIMIT,
max_depth=2,
min_samples_leaf=3,
random_state=SEED)

Thanks again!

feature_importances_ of BaseGradientBoostedSetTree (gbest) errors

Hi,

When trying to get the feature importances of a trained gbest, the following errors occur:

  1. line 622 in gbest.py: 'SetSplitNode' object has no attribute 'node_count'
    I tried to fix it by replace the 'node_count' with 'tree.n_nodes'
    but even then, another error appears:

  2. When trying to execute:
    relevant_trees[0].tree_.compute_feature_importances(normalize=False)
    we get
    AttributeError: 'SetSplitNode' object has no attribute 'compute_feature_importances'

It looks like SetSplitNode (or rather settree.set_tree.SetTree) does not implement compute_feature_importances method.

Can you suggest any alternative to calculate the feature importances?

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.