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

Hidden layers arg fix + enabling linear encoders #105

Closed cnellington closed 2 years ago

cnellington commented 2 years ago

layers now specifies the number of hidden layers in the encoders. (seems to have previously specified the number of dense connections, which was 2 by default with 1 hidden layer in between)

Users can now specify a linear encoder by using an MLP or NGAM with <1 layers, which defaults to a single matrix of trainable weights with no activations.

cnellington commented 2 years ago

link issue #97