Skip to content

Commit

Permalink
chore: Change default schema matching method to 'ct_learning'
Browse files Browse the repository at this point in the history
  • Loading branch information
roquelopez committed Jan 17, 2025
1 parent 5d37f9f commit b974695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bdikit/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def top_matches(
columns: Optional[List[str]] = None,
target: Union[str, pd.DataFrame] = "gdc",
top_k: int = 10,
method: Union[str, BaseTopkSchemaMatcher] = "ct_learning",
method: Union[str, BaseTopkSchemaMatcher] = DEFAULT_SCHEMA_MATCHING_METHOD,
method_args: Optional[Dict[str, Any]] = None,
) -> pd.DataFrame:
"""
Expand Down
2 changes: 1 addition & 1 deletion bdikit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
BDIKIT_DEVICE: str = os.getenv("BDIKIT_DEVICE", default="cpu")
VALUE_MATCHING_THRESHOLD = 0.3
DEFAULT_VALUE_MATCHING_METHOD = "tfidf"
DEFAULT_SCHEMA_MATCHING_METHOD = "coma"
DEFAULT_SCHEMA_MATCHING_METHOD = "ct_learning"


def get_device() -> str:
Expand Down

0 comments on commit b974695

Please sign in to comment.