Skip to content

Commit

Permalink
Merge branch 'branch-21.12-11.5' of https://github.com/bradreeswork/c…
Browse files Browse the repository at this point in the history
…ugraph into branch-21.12-11.5
  • Loading branch information
rlratzel committed Nov 5, 2021
2 parents b24f276 + fff428f commit 7dd5f05
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions python/cugraph/cugraph/link_analysis/hits.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
# limitations under the License.

# from cugraph.link_analysis import hits_wrapper
from cugraph.utilities import (ensure_cugraph_obj_for_nx,
df_score_to_dictionary,
)

# from cugraph.utilities import (ensure_cugraph_obj_for_nx,
# df_score_to_dictionary,
# )


def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True):
Expand Down Expand Up @@ -74,8 +75,8 @@ def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True):
>>> G.from_cudf_edgelist(gdf, source='0', destination='1')
>>> hits = cugraph.hits(G, max_iter = 50)
"""
raise NotImplementedError("Temporarily disabled. New version in 21.12")

"""
G, isNx = ensure_cugraph_obj_for_nx(G)
df = hits_wrapper.hits(G, max_iter, tol) # noqa: F821
Expand All @@ -90,3 +91,5 @@ def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True):
df = (d1, d2)
return df
"""
raise NotImplementedError("Temporarily disabled. New version in 21.12")

0 comments on commit 7dd5f05

Please sign in to comment.