Skip to content

Conversation

@maclin726
Copy link
Contributor

@maclin726 maclin726 commented Jan 7, 2025

What does this PR do?

In liblinear 2.48, a w_recalc flag is implemented for reducing the weight density when solving L1/L2-SVM dual.
By applying this setting, the number of non-zeros in the linear model also decreases.

Test CLI & API (bash tests/autotest.sh)

Test APIs used by main.py.

  • Test Pass
    • (Copy and paste the last outputted line here.)
  • Not Applicable (i.e., the PR does not include API changes.)

Check API Document

If any new APIs are added, please check if the description of the APIs is added to API document.

  • API document is updated (linear, nn)
  • Not Applicable (i.e., the PR does not include API changes.)

Test quickstart & API (bash tests/docs/test_changed_document.sh)

If any APIs in quickstarts or tutorials are modified, please run this test to check if the current examples can run correctly after the modified APIs are released.

@maclin726 maclin726 added enhancement New feature or request model/linear labels Jan 7, 2025
@maclin726 maclin726 requested review from a team and cjlin1 as code owners January 7, 2025 11:35
@will945945945 will945945945 merged commit e028e2d into ntumlgroup:master Jan 9, 2025
1 check passed
@maclin726 maclin726 deleted the recalc branch January 12, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request model/linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants