-
Notifications
You must be signed in to change notification settings - Fork 8
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
Updates example section in the Readme #48
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…e package and is only used for the repo
for more information, see https://pre-commit.ci
Hey @Trybnetic, is this still a work in progress ? |
I actually struggled with explaining on the use of |
…found in the .github/ folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, made some suggestions, let me know what you think and let's merge this.
However, not always you have or can have the data available in the format mentioned in | ||
the previous example (e.g. if the dataset is too large). In this case, the weights | ||
between the true and predicted labels can also be calculated beforehand and used to | ||
create the sankey diagram. In this example, we continue to work with the data loaded | ||
already in the previous example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, not always you have or can have the data available in the format mentioned in | |
the previous example (e.g. if the dataset is too large). In this case, the weights | |
between the true and predicted labels can also be calculated beforehand and used to | |
create the sankey diagram. In this example, we continue to work with the data loaded | |
already in the previous example: | |
However, the data may not always be available in the format mentioned in | |
the previous example (for instance, if the dataset is too large). In such cases, the weights | |
between the true and predicted labels can be calculated in advance and used to | |
create the Sankey diagram. In this example, we will continue working with the data that was loaded | |
in the previous example: |
`pysankey` contains a simple expected/predicted dataset called `fruits.txt` which looks | ||
the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`pysankey` contains a simple expected/predicted dataset called `fruits.txt` which looks | |
the following: | |
`pysankey` contains a simple expected/predicted dataset called `fruits.txt` which looks | |
like the following: |
As outlined in #47, this PR updates the documentation in the readme. Specifically, I made the examples consistent in the sense that they are both using the
fruits.txt
dataset now and extended the descriptions of the examples a bit.Changes introduced in this PR:
fruits.txt
in the examplesI see some further changes that could be included in this PR:
leftWeight
andrightWeight