Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to example notebook for "generate yout own JSON" is broken #1

Closed
aflip opened this issue Sep 26, 2022 · 5 comments
Closed

Link to example notebook for "generate yout own JSON" is broken #1

aflip opened this issue Sep 26, 2022 · 5 comments

Comments

@aflip
Copy link

aflip commented Sep 26, 2022

Source URL: https://github.com/poloclub/timbertrek/blob/master/README.md

You can use the web demo to explore your own Rashomon Sets! You just need to choose the my own set tab below the tool and upload a JSON file containing all decision paths in your Rashomon Set.

Check out this example notebook to see how to generate this JSON file.

This link is broken. I liked the paper, and wanted to see if I could use my own data, but it is unclear how to do this. On the timbertek github.io page, in the widget that lets you pick your own data also, the link to how to do this is broken. it redirects to the readme and the link in the readme is broken.

Thank you

@xiaohk
Copy link
Member

xiaohk commented Sep 26, 2022

Hi @aflip, thank you so much for your interest! TimberTrek relies on the TreeFAMRS (Trees FAst RashoMon Sets) algorithm to generate the whole Rashomon set of decision tress. We are still polishing the APIs for TreeFARMS. We will update the TimberTrek example notebooks once we finalize the API (by mid October). I will ping you when it is done.

@xiaohk
Copy link
Member

xiaohk commented Oct 13, 2022

Hello @aflip and @robertfeldt, the TreeFARMS code is public now! https://github.com/ubc-systopia/treeFarms

You can install TreeFARMS with pip install treefarms. You can also checkout this tutorial notebook. Let me know if you have any other question!

@xiaohk xiaohk closed this as completed Oct 13, 2022
@robertfeldt
Copy link

Thanks for this. I have an up-to-date Python 3 version and updated pip but still no luck:

 % python3 --version
Python 3.10.8

 % pip3 install --upgrade pip
Requirement already satisfied: pip in /opt/homebrew/lib/python3.10/site-packages (22.2.2)

 % pip3 install treefarms
ERROR: Could not find a version that satisfies the requirement treefarms (from versions: none)
ERROR: No matching distribution found for treefarms

Ideas/help welcome, not sure what to do.

@robertfeldt
Copy link

I managed to build it on my machine and the example seems to work, so no problem (for now).

@xiaohk
Copy link
Member

xiaohk commented Oct 14, 2022

Glad you can build it on your machine. pip install should also work though. cc @zbw8388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants