Skip to content

refactor(ml/incr): convert loss function names to kebab-case#13641

Open
Ashutosh-1304 wants to merge 1 commit into
stdlib-js:developfrom
Ashutosh-1304:refactor/ml-incr-loss-kebab-case
Open

refactor(ml/incr): convert loss function names to kebab-case#13641
Ashutosh-1304 wants to merge 1 commit into
stdlib-js:developfrom
Ashutosh-1304:refactor/ml-incr-loss-kebab-case

Conversation

@Ashutosh-1304

Copy link
Copy Markdown
Contributor

Resolves #13359

Description

This pull request refactors loss function option names in @stdlib/ml/incr/binary-classification and @stdlib/ml/incr/sgd-regression from camelCase to kebab-case to conform with stdlib naming conventions:

  • @stdlib/ml/incr/binary-classification:
    • modifiedHuber $\rightarrow$ modified-huber
    • squaredHinge $\rightarrow$ squared-hinge
  • @stdlib/ml/incr/sgd-regression:
    • epsilonInsensitive $\rightarrow$ epsilon-insensitive
    • squaredError $\rightarrow$ squared-error

This includes updates to core module options, default configurations, TypeScript definitions, validation checks, tests, REPL files, and package documentation.

Related Issues

This pull request has the following related issues:

Questions

No.

Other

No.

Checklist

  • Read, understood, and followed the [contributing guidelines][contributing].

AI Assistance

  • Yes
  • No

@stdlib-js/reviewers

@Ashutosh-1304
Ashutosh-1304 requested a review from a team July 24, 2026 11:31
@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. First-time Contributor A pull request from a contributor who has never previously committed to the project repository. labels Jul 24, 2026
@Ashutosh-1304
Ashutosh-1304 force-pushed the refactor/ml-incr-loss-kebab-case branch from 87e7622 to ae3b8f3 Compare July 24, 2026 11:36
@stdlib-bot stdlib-bot removed the First-time Contributor A pull request from a contributor who has never previously committed to the project repository. label Jul 24, 2026
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.

[BUG]: usage of camelcase for loss functions in ml/incr/*

2 participants