cnellington / Contextualized

An SKLearn-style toolbox for estimating and analyzing models, distributions, and functions with context-specific parameters.
http://contextualized.ml/
GNU General Public License v3.0
65 stars 9 forks source link

Reshape inputs to standardized dimensions. #120

Closed blengerich closed 1 year ago

blengerich commented 2 years ago

The Contextualized models expect output (Y) to have at least 2 dimensions, but often users call fit with a 1-dimensional Y-vector. It would be great to automatically reshape inputs to the standardized dimensions.

blengerich commented 1 year ago

Fixed in #166