Skip to content

feat: add enum ml/base/cluster/kmeans/metrics#10714

Open
nakul-krishnakumar wants to merge 4 commits intostdlib-js:developfrom
nakul-krishnakumar:ml-kmeans-result
Open

feat: add enum ml/base/cluster/kmeans/metrics#10714
nakul-krishnakumar wants to merge 4 commits intostdlib-js:developfrom
nakul-krishnakumar:ml-kmeans-result

Conversation

@nakul-krishnakumar
Copy link
Member

@nakul-krishnakumar nakul-krishnakumar commented Mar 5, 2026

Resolves None.

Description

What is the purpose of this pull request?

This pull request:

  • Adds enum ml/base/cluster/kmeans/metrics

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

  • None.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

None.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Mar 5, 2026
@nakul-krishnakumar
Copy link
Member Author

This PR adds metrics enum which is a part of the results object used in ml/cluster/strided/dkmeansld.

@nakul-krishnakumar
Copy link
Member Author

/stdlib update-copyright-years

@stdlib-bot stdlib-bot added the bot: In Progress Pull request is currently awaiting automation. label Mar 5, 2026
@stdlib-bot stdlib-bot removed the bot: In Progress Pull request is currently awaiting automation. label Mar 5, 2026
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Mar 5, 2026

Coverage Report

Package Statements Branches Functions Lines
ml/base/cluster/kmeans/metric-enum2str $\color{green}104/104$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}104/104$
$\color{green}+100.00%$
ml/base/cluster/kmeans/metric-resolve-enum $\color{green}97/97$
$\color{green}+100.00%$
$\color{green}9/9$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}97/97$
$\color{green}+100.00%$
ml/base/cluster/kmeans/metric-resolve-str $\color{green}96/96$
$\color{green}+100.00%$
$\color{green}9/9$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}96/96$
$\color{green}+100.00%$
ml/base/cluster/kmeans/metric-str2enum $\color{green}96/96$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}96/96$
$\color{green}+100.00%$
ml/base/cluster/kmeans/metrics $\color{green}145/145$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}145/145$
$\color{green}+100.00%$

The above coverage report was generated for the changes in this PR.

@nakul-krishnakumar nakul-krishnakumar changed the title feat: add enum ml/cluster/base/kmeans/metrics feat: add enum ml/base/cluster/kmeans/metrics Mar 5, 2026
Signed-off-by: Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review A pull request which needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants