yzhao062/pyod

Does input data not support sparse matrix ?

Open

#140 opened on Nov 5, 2019

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Python (7,762 stars) (1,308 forks)batch import
New Featurehelp wanted

Description

train_X is A sparse matrix call fit(train_X) raise TypeError('A sparse matrix was passed, but dense ' TypeError: A sparse matrix was passed, but dense data is required. Use X.toarray() to convert to a dense numpy array.

Contributor guide