materialsinnovation / pymks

Materials Knowledge System in Python
https://pymks.readthedocs.io/
Other
115 stars 77 forks source link

PrimitiveTransformer should return a numpy array if passes a numpy array #565

Open wd15 opened 3 years ago

wd15 commented 3 years ago
import numpy as np
data = np.array([[0, 1]])

data_ = PrimitiveTransformer(n_state=2, min_=0.0, max_=1.0).transform(data)
type(data_)

data_ should be a numpy array in this case