diff --git a/bdikit/api.py b/bdikit/api.py index 8ab8bb6..63acaa8 100644 --- a/bdikit/api.py +++ b/bdikit/api.py @@ -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: """ diff --git a/bdikit/config.py b/bdikit/config.py index 40c5a25..fdae265 100644 --- a/bdikit/config.py +++ b/bdikit/config.py @@ -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: