Skip to content

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

Description

@nakul-krishnakumar

Description

In continuation to this conversation #13333, we noticed that the packages ml/incr/binary-classification and ml/incr/sgd-regression follow camelCase for mentioning loss functions, where as the current convention is to use kebab-case.

Expected outcome is to refactor all the loss functions from using camelcase to kebabcase.

Related Issues

No response

Questions

No.

Demo

No response

Reproduction

No response

Expected Results

ml/incr/binary-classification

  • modifiedHuber -> modified-huber
  • squaredHinge -> squared-hinge

ml/incr/sgd-regression

  • epsilonInsensitive -> epsilon-insensitive
  • squaredError -> squared-error

Actual Results

Version

No response

Environments

Node.js

Browser Version

No response

Node.js / npm Version

No response

Platform

No response

Checklist

  • Read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Machine LearningIssue or pull request specific to machine learning functionality.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions