-
Notifications
You must be signed in to change notification settings - Fork 209
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
Dev/dev skrub #626
base: master
Are you sure you want to change the base?
Dev/dev skrub #626
Conversation
graphistry/tests/test_umap_utils.py
Outdated
|
||
self.g2 = g2 | ||
fenc = g2._node_encoder | ||
self.X, self.Y = fenc.X, fenc.y | ||
self.EMB = g2._node_embedding | ||
self.emb, self.x, self.y = g2.transform_umap( | ||
ndf_reddit, ndf_reddit, kind="nodes", return_graph=False | ||
ndf_reddit, ndf_reddit[['label', 'type']], kind="nodes", return_graph=False |
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.
this should not be needed...
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.
yeah, i'll back out, and flip to warning
graphistry/tests/test_umap_utils.py
Outdated
) | ||
self.g3 = g2.transform_umap( | ||
ndf_reddit, ndf_reddit, kind="nodes", return_graph=True | ||
ndf_reddit, ndf_reddit[['label', 'type']], kind="nodes", return_graph=True |
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.
It seems that scrub doesn't like the extra columns? I am un clear on where this happens later in pipeline.
Our This may be just requiring py3.10+, not py3.9+, for umap umaplearn -> sklearn -> scipy seems to fail on missing It seems scipy started deprecating/moving
|
Updating from dirty_cat to skrub:
Breaking
dirty-cat
toskrub
:pip install graphistry[umap-learn]
andpip install graphistry[ai]
are now python 3.9+ (was 3.8+)Plottable
's_node_dbscan
/_edge_dbscan
are now_dbscan_nodes
/_dbscan_edges
Feat
Infra
[umap-learn]
install: Replacedirty-cat
withskrub
, unpinscikit-learn
[umap-learn]
+[ai]
unpin deps -scikit
,scipy
,torch
(now 2), etcRefactor
models/compute/{feature,umap,cluster}
print
=>logger
Tests
Fixes
WIP