Skip to content

Commit

Permalink
Explicitly convert x and y (array-like) to numpy arrays.
Browse files Browse the repository at this point in the history
  • Loading branch information
arvkevi committed Oct 24, 2020
1 parent 03078c1 commit f8fad00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yellowbrick/utils/kneed.py
Expand Up @@ -93,8 +93,8 @@ def __init__(
):

# Raw Input
self.x = x
self.y = y
self.x = np.array(x)
self.y = np.array(y)
self.curve_nature = curve_nature
self.curve_direction = curve_direction
self.N = len(self.x)
Expand Down

0 comments on commit f8fad00

Please sign in to comment.