[ENH] Migrate mvts_transformer classifier from old `_pytorch.py` to new `_base_torch.py` interface
Is your feature request related to a problem? Please describe.
This is a sub-issue of #8699
Migrate the mvts_transformer classifier (implemented in sktime/sktime/classification/deep_learning/) from the old _pytorch.py to new _base_torch.py interface.
Describe the solution you'd like
Currently MVTSTransformerClassifier class inherits from BaseDeepClassifierPytorch class implemented in sktime.classification.deep_learning._pytorch.
Change the inheritance to BaseDeepClassifierPytorch class implemented in sktime.classification.deep_learning.base and ensure non-breakage of current behaviour.
If there is a breakage, investigate and implement the fix for a successful migration.
Expectations of the task:
- Compare the
_pytorch.pywith_base_torch.pyand share your observations on places where there are differences and possible chances of breakage when migrating the mvtc_transformer classifier. - Thoughts/ideas on addressing those differences/breakages.
- Corresponding implementation for the successful migration.
Hey @RecreationalMath I worked on this issue properly, moreover I tested it all and migration is working successfully. I've raised and linked the proof there. PTAL. Thanks.
I see multiple PRs on this. FYI I'll adopt the FIFO principle for these requests. @sabasiddique1's PR has been dormant for two weeks after receiving the initial feedback/review. So moving on to the next contributor in the queue @Ashu463 .
@RecreationalMath I would like to work on this issue. !!!!
My understanding of the task is:
- Migrate the
MVTS_TransformerClassifierfrom the old_pytorch.pyinterface to the new_base_torch.pyinterface. - Update the class inheritance accordingly.
- Ensure that the existing functionality and behavior remain unchanged after migration.
My approach would be:
- Review and compare the implementations of
_pytorch.pyand_base_torch.py. - Identify the required changes in the classifier implementation.
- Update the inheritance and related methods to follow the new interface.
- Run the existing tests to confirm that the migration does not introduce regressions.
---->> If the issue is still available, please assign it to me.
Hey @saurabhyuvi14-ai welcome to the repository, but I'm assigned to this issue and already have made PR and bunch of follow ups there. So would urge to move forward with other open unassigned issues. Please ping me if you need any help. Thanks.