Skip to content

Commit

Permalink
Update src/nemos/identifiability_constraints.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Jo Venditto <[email protected]>
  • Loading branch information
BalzaniEdoardo and sjvenditto authored Nov 5, 2024
1 parent 4d596e5 commit b71af60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nemos/identifiability_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _find_drop_column(
"""
Find a minimal subset linearly dependent columns that should be dropped.
This function loops over the columns of a matrix and check if each column is linearly dependent from the others.
This function loops over the columns of a matrix and checks if each column is linearly dependent from the others.
If the i-th column is linearly dependent, then drop_cols[i] is set to True, and feature_matrix[:, i] is set to 0.
The loop is stopped when max_drop linearly dependent columns are found.
Expand Down

0 comments on commit b71af60

Please sign in to comment.