Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skrebate/relieff.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def fit(self, X, y, weights=None):
Copy of the ReliefF instance
"""
self._X = X # matrix of predictive variables ('independent variables')
self._y = y # vector of values for outcome variable ('dependent variable')
self._y = np.array(y).reshape(-1,) # vector of values for outcome variable ('dependent variable')
if isinstance(weights, np.ndarray):
if isinstance(weights, np.ndarray):
if len(weights) != len(X[0]):
Expand Down