Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 340bc3c

Browse filesBrowse files
committed
TST add equivalence check for sample weights
1 parent 74dbde9 commit 340bc3c
Copy full SHA for 340bc3c

File tree

Expand file treeCollapse file tree

3 files changed

+152
-142
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+152
-142
lines changed

‎fastcan/narx.py

Copy file name to clipboardExpand all lines: fastcan/narx.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,7 @@ def _validate_feat_delay_ids(
353353
)
354354
# Check if any row of feat_ids only contains -1
355355
if np.all(feat_ids_ == -1, axis=1).any():
356-
raise ValueError(
357-
"`feat_ids` should not contain rows that only have -1."
358-
)
356+
raise ValueError("`feat_ids` should not contain rows that only have -1.")
359357
# Validate delay_ids
360358
delay_ids_ = check_array(
361359
delay_ids,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.