I have trained a ElasticNet model on a A dataset and also I get the two hyperparameters of the trained ElasticNet model Lambda (ratio of Lasso and Ridge) and Alpha (penalty). I want to see the generalization of the model on the B dataset. If I don't use sklearn's predict method directly, can I directly specify the previous Lambda and Alpha to build a new model and see the performance in the new database? In other words, can Lambda and Alpha determine a unique ElasticNet model?
Any help is greatly appreciated!
Ito