Skip to content

[ENH] Add clone_estimator MCP tool for duplicating estimator handles#380

Open
Vaishnav88sk wants to merge 1 commit into
sktime:mainfrom
Vaishnav88sk:feat/clone-estimator
Open

[ENH] Add clone_estimator MCP tool for duplicating estimator handles#380
Vaishnav88sk wants to merge 1 commit into
sktime:mainfrom
Vaishnav88sk:feat/clone-estimator

Conversation

@Vaishnav88sk

Copy link
Copy Markdown

Reference Issues/PRs

Fixes #376

What does this implement/fix? Explain your changes.

  • Adds clone_estimator_tool() in src/sktime_mcp/tools/instantiate.py
  • Registers the tool in server.py
  • Updates tools/init.py exports
  • Adds unit tests in tests/test_clone_estimator.py

Does your contribution introduce a new dependency? If yes, which one?

What should a reviewer concentrate their feedback on?

Any other comments?

PR checklist

For all contributions
  • I've added myself to the list of contributors.
  • Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
  • I've added unit tests and made sure they pass locally.
For new estimators
  • I've added the estimator to the online documentation.
  • I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

…stance creation

Per reviewer feedback, instead of adding a separate clone_estimator tool,
the multi-instance creation functionality is integrated into the existing
instantiate_estimator tool via a new n_instances parameter.

When n_instances=1 (default), behavior is fully backward-compatible.
When n_instances>1, independent copies are created via sklearn.base.clone,
each with its own handle for A/B testing or parallel experimentation.

Closes sktime#376
@Vaishnav88sk Vaishnav88sk force-pushed the feat/clone-estimator branch from 96409db to 0893957 Compare June 9, 2026 19:57
@Vaishnav88sk

Copy link
Copy Markdown
Author

@Shashankss1205 I think good to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH] Add clone_estimator tool to duplicate estimator handles for experimentation

1 participant