Skip to content
New issue

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

[MNT] Wrong type annotations for aeon classes #1928

Open
SebastianSchmidl opened this issue Aug 8, 2024 · 3 comments
Open

[MNT] Wrong type annotations for aeon classes #1928

SebastianSchmidl opened this issue Aug 8, 2024 · 3 comments
Assignees
Labels
maintenance Continuous integration, unit testing & package distribution

Comments

@SebastianSchmidl
Copy link
Member

Describe the issue

We started to add Python type hints to our estimators. However, some existing hints for (Aeon) classes are incorrect, e.g.

remove_proportion: float = 0.5,
base_estimator: Optional[Type[BaseEstimator]] = None,
pca_solver: str = "auto",

Suggest a potential alternative/fix

Because the RotationForestClassifier works with an instance as base_estimator the correct type would be base_estimator: BaseEstimator

We need to check the code base for further such issues.

Additional context

No response

@SebastianSchmidl SebastianSchmidl added good first issue Good for newcomers maintenance Continuous integration, unit testing & package distribution labels Aug 8, 2024
@SebastianSchmidl
Copy link
Member Author

@aryan0931
Copy link

i would like to work on this issue

@SebastianSchmidl
Copy link
Member Author

Sure!

@aeon-actions-bot assign @aryan0931

@aeon-actions-bot aeon-actions-bot bot removed the good first issue Good for newcomers label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Continuous integration, unit testing & package distribution
Projects
None yet
Development

No branches or pull requests

2 participants