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
RadViz does not plot when transform is called #793
Comments
@naresh-bachwani thanks for opening this issue. We are just returning from a hiatus and will address this after catching up on our backlog of PRs and Issues. |
Hi @naresh-bachwani, thank you for your patience as we catch up with our backlog of PRs and Issues! The |
Hi @Kautumn06, the dataset is used just as an example and not to obtain some explicit results. I was working with bikeshare and used one of its categorical columns to produce the output. We can use occupancy or any other dataset. data = load_data("bikeshare")
features = ['temp','humidity','windspeed','registered','riders']
classes = ['holiday','notholiday']
X=data[features]
y=data.holiday where load_data is the same function from yellowbrick's example dataset in documentation |
@naresh-bachwani thank you for bringing this up. In order to investigate this, we'll need to remind ourselves of the API for feature visualizers, so I've labeled the issue as technical debt. In the meantime, I'll say that the most common way we use the feature visualizers is through Because this requires an API review, I will say that we probably won't be able to get to it for a little bit. Is this blocking your work on #507? |
I raised this issue only to highlight this bug in the API. As far as #507 is concerned I will try using fit transform method. Thanks for help!! |
@naresh-bachwani @bbengfort I believe this issue has been resolved following the changes made in #973 and for #960. Now neither of these visualizers actually plots until |
@rebeccabilbro @naresh-bachwani I believe that this issue with the inconsistent API has now been fixed, and it's a matter of more deeply researching how to do multi-visualizer/multi-figure drawing. Let's go ahead and close this issue and explore it more specifically if it comes up in a different way! |
Describe the bug
I wanted to fit the model on the dataset and obtain its plot by using transform function on their subset. While working with RadViz, I found that it plots the graph when fit method is called. However, it should plot the output, when the transform method is implemented as described in the domentation. Moreover, I did not get the desired result (i.e. plotting) when transform method is called.
I was able to get these results using 'Rank1D,' but 'RadViz' did not work.
Output with Rank1D
Output with RadViz
To Reproduce
Dataset
I used bikeshare dataset and used features = ['temp','humidity','windspeed','registered','riders'] and 'holiday' as y.
The text was updated successfully, but these errors were encountered: