Skip to content

Commit

Permalink
solve circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanLee97 committed Jul 26, 2024
1 parent c51e05d commit ddd97b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions angle_emb/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
)
from scipy.stats import pearsonr, spearmanr

from .angle import AnglE


class CorrelationEvaluator(object):
def __init__(
Expand All @@ -29,7 +27,7 @@ def __init__(
self.labels = labels
self.batch_size = batch_size

def __call__(self, model: AnglE, **kwargs) -> dict:
def __call__(self, model, **kwargs) -> dict:
""" Evaluate the model on the given dataset.
:param model: AnglE, the model to evaluate.
Expand Down

0 comments on commit ddd97b6

Please sign in to comment.