Skip to content

Commit a61659a

Browse files
Merge pull request #45 from MatthewSZhang/minibatch-doc
DOC debug data pruning doc
2 parents 8cd8100 + 3279206 commit a61659a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/plot_pruning.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def _fastcan_pruning(
7575
X.T, atoms.T, n_samples_to_select, batch_size=batch_size, tol=1e-9, verbose=0
7676
)
7777
pruned_lr = LogisticRegression(max_iter=110).fit(X[ids_fastcan], y[ids_fastcan])
78+
print(atoms[0], ids_fastcan[:10])
7879
return pruned_lr.coef_, pruned_lr.intercept_
7980

8081

0 commit comments

Comments
 (0)