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

add gfql colab links to readme #547

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ It is easy to turn arbitrary data into insightful graphs. PyGraphistry comes wit
g2.plot()
```

* GFQL: Cypher-style graph pattern mining queries on dataframes with optional GPU acceleration ([ipynb demo](demos/more_examples/graphistry_features/hop_and_chain_graph_pattern_mining.ipynb), [benchmark](demos/gfql/benchmark_hops_cpu_gpu.ipynb))
* GFQL: Cypher-style graph pattern mining queries on dataframes with optional GPU acceleration ([ipynb demo](demos/more_examples/graphistry_features/hop_and_chain_graph_pattern_mining.ipynb), [benchmark](demos/gfql/benchmark_hops_cpu_gpu.ipynb)). One run this [full benchmark on colab](https://github.com/dcolinmorgan/grph/blob/main/clean_gfql_cpu_gpu_benchmark.ipynb), or run a [smaller demo on colab](https://github.com/dcolinmorgan/grph/blob/main/simple_GFQL.ipynb))

Run Cypher-style graph queries natively on dataframes without going to a database or Java with GFQL:

Expand Down Expand Up @@ -1250,6 +1250,8 @@ PyGraphistry supports GFQL, its PyData-native variant of the popular Cypher grap

See also [graph pattern matching tutorial](demos/more_examples/graphistry_features/hop_and_chain_graph_pattern_mining.ipynb) and the CPU/GPU [benchmark](demos/gfql/benchmark_hops_cpu_gpu.ipynb)

Run a [small demo on google colab](https://github.com/dcolinmorgan/grph/blob/main/simple_GFQL.ipynb) T4 GPU for free, or run the [entire benchmark on colab](https://github.com/dcolinmorgan/grph/blob/main/clean_gfql_cpu_gpu_benchmark.ipynb)

Traverse within a graph, or expand one graph against another

Simple node and edge filtering via `filter_edges_by_dict()` and `filter_nodes_by_dict()`:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def unique_flatten_dict(d):
}

base_extras_heavy = {
'umap-learn': ['umap-learn', 'dirty-cat==0.2.0', 'scikit-learn>=1.0'],
'umap-learn': ['umap-learn', 'dirty-cat==0.2.0', 'scikit-learn<=1.3.2'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we keep >=1.0 here, and make just ci require <=1.3.2? I don't want to mess up people's installs as we're just one lib of many

also, do we know what's going on here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i moved this guidance to test deps in #548, so you can rebase as that lands

}
# https://github.com/facebookresearch/faiss/issues/1589 for faiss-cpu 1.6.1, #'setuptools==67.4.0' removed
base_extras_heavy['ai'] = base_extras_heavy['umap-learn'] + ['scipy', 'dgl', 'torch<2', 'sentence-transformers', 'faiss-cpu', 'joblib']
Expand Down
Loading