You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone!
Can you help me? I am new in using DeepSurv. I am following the steps given in the examples, but I encounter this issue in the dataset on which I wish to use this package:
Before running the net, I ensured that all the variables I am using were float. I converted categories into numeric values using .cat.codes and then converted into float. I did so since otherwise model_.lr_finder(x_train, y_train, batch_size, tolerance=10) and model_.fit(x_train, y_train, batch_size, epochs, callbacks, verbose, val_data=val, val_batch_size=batch_size) wouldn't have worked due to different "data" type.
This are the setting I am using for the tt.practical.MLPVanilla(in_features, num_nodes, out_features, batch_norm, dropout, output_bias=output_bias):
Hi everyone!
Can you help me? I am new in using
DeepSurv
. I am following the steps given in the examples, but I encounter this issue in the dataset on which I wish to use this package:Before running the net, I ensured that all the variables I am using were float. I converted categories into numeric values using
.cat.codes
and then converted into float. I did so since otherwisemodel_.lr_finder(x_train, y_train, batch_size, tolerance=10)
andmodel_.fit(x_train, y_train, batch_size, epochs, callbacks, verbose, val_data=val, val_batch_size=batch_size)
wouldn't have worked due to different "data" type.This are the setting I am using for the
tt.practical.MLPVanilla(in_features, num_nodes, out_features, batch_norm, dropout, output_bias=output_bias)
:This is the model:
model_ = CoxPH(net_ds, tt.optim.Adam)
This are fit settings for
log = model_.fit(x_train, y_train, batch_size, epochs, callbacks, verbose,val_data=val, val_batch_size=batch_size)
:Thank you in advance!
Cheers
The text was updated successfully, but these errors were encountered: