We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
def compute_distance_interface(windows: np.ndarray, windows_len, components_len, target: None, metric, **kwargs): correlation_per_window = np.array([]) try: correlation_per_window = np.array(([distance(target[:, current_component], windows[current_window, :, current_component], metric, **kwargs) for current_window in range(windows_len) for current_component in range(components_len)])).reshape(-1, components_len) except ValueError as e: print(f"String or callable object is not valid for sktime library: {e}") try: correlation_per_window = metric(windows, target, windows_len, components_len, **kwargs) except ValueError as e: print("The custom callable couldn't be executed") return correlation_per_window
The text was updated successfully, but these errors were encountered:
jerryperezperez
Cowardenemy
No branches or pull requests
The text was updated successfully, but these errors were encountered: