After performing m.fit(), I need to read the values of the trained weights and biases. I have checked out functions related to “m” and “md” objects, and I have searched through the forums, but I didn’t find anything helpful. I’ve also tried saving my model using m.save() function, and tried to read the MODEL.h5 output file with h5py library but with no use.

Sorry if this seems like a simple question, but can anyone help me out?
I also wanted to know what’s the default activation function used. I assume it’s ReLU, but is there any way to check it out or change it in my code?

Take a look at MixedInputModel class in column_data.py. Based on your parameters is_multi=True and is_reg=False, the output activation must be sigmoid.

x = self.outp(x)
if not self.is_reg:
if self.is_multi:
x = F.sigmoid(x)
else:
x = F.log_softmax(x)

I have looked into MixedInputModel class in column_data.py, and from there I found that all linear layers “input and hidden layers” use Relu() as the activation function. Only the last output layer’s activation function can be either sigmoid or log_softmax.
Thought I’d post it in here in case someone reads this post