Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit e1d7a40

Browse files
authored
Removing CDRegressor docstrings references to nonnegative penalties (#152)
Removing nnl1 & nnl2 from docstring since it is not possible for the CD models.
1 parent ecd9ad0 commit e1d7a40

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lightning/impl/primal_cd.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -368,14 +368,12 @@ class CDRegressor(_BaseCD, BaseRegressor):
368368
loss : str, 'squared'
369369
The loss function to be used.
370370
371-
penalty : str, 'l2', 'l1', 'l1/l2', 'nnl1', 'nnl2'
371+
penalty : str, 'l2', 'l1', 'l1/l2'
372372
The penalty to be used.
373373
374374
- l2: ridge
375375
- l1: lasso
376376
- l1/l2: group lasso
377-
- nnl1: non-negative constraints + l1 penalty
378-
- nnl2: non-negative constraints + l2 penalty
379377
380378
For other parameters, see `CDClassifier`.
381379
"""

0 commit comments

Comments
 (0)