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

[BUG] g2.search(..., fuzzy=True, cols=['title','text'] ), AssertionError: ydf must be provided to transform data #629

Open
maksim-mihtech opened this issue Jan 4, 2025 · 3 comments

Comments

@maksim-mihtech
Copy link

Describe the bug
It seems, exact match(fuzzy=False) works well, but for fuzzy=True it fails giving the following error:
AssertionError: ydf must be provided to transform data

To Reproduce
Code, including data, than can be run without editing:

Ask-HackerNews-Demo.ipynb

g2 = g.umap(X=['title','text']..... )
g2.search(..., fuzzy=True, cols=['title','text'] ),


**Expected behavior**
What should have happened

**Actual behavior**
What did happen

AssertionError: ydf must be provided to transform data

**Screenshots**
This problem could be fixed, look at attached picture 

**Browser environment (please complete the following information):**
 - OS: [e.g. MacOS]
 - Browser [Firefox]
 - Version [e.g. 22]

**Graphistry GPU server environment**
 - Where run [Hub]
 - If self-hosting, Graphistry Version [e.g. 0.14.0, see bottom of a viz or login dashboard]
- If self-hosting, any OS/GPU/driver versions

**PyGraphistry API client environment**
 - Where run [e.g., Graphistry 2.35.9 Jupyter]
 - Version [e.g. 0.14.0, print via `graphistry.__version__`]
 - 0.35.4+18.g60177c52.dirty(dev/dev-skrub branch)
 - Python Version [e.g. Python 3.7.7] 

**Additional context**
Add any other context about the problem here.
![Screen Shot 2025-01-04 at 9 03 30 AM](https://github.com/user-attachments/assets/2832ff03-e68f-499a-bff3-d6dd3a3cbc04)
@lmeyerov
Copy link
Contributor

lmeyerov commented Jan 4, 2025

Good catch, thanks!

@maksim-mihtech
Copy link
Author

It seems g2.search_graph() also uses fuzzy=True behind the hood

@maksim-mihtech
Copy link
Author

In the same Ask-HackerNews-Demo.ipynb, I have a problem of running GNN like g25.build_gnn(y_nodes='score').
Does it make sense to open a new issue ?
Screen Shot 2025-01-07 at 11 35 47 AM

Thank you!

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

No branches or pull requests

2 participants