unable to get repr for lassonet class
wowSUNBOY opened this issue · comments
Hi, thank you so much for your wonderful code.
But I have some problems in my practice, in debug mode of Pycharm, it indicated "reg: Unable to get repr for <'class 'lassonet.interfaces.LassoNetRegressor'>" as in the below picture
Is my python package version not right?
Thank you very much!
Look forward to your reply.
Hi, thanks for using LassoNet!
Thanks for reporting this, I think it's due to some sklearn functions I did not implement yet. Will try to fix it asap!
Thank you for your reply!! I am using .path function now. it is okay and I can get the results now.
Also, during the network training, I do not find the batch_size parameter, Can you help me find it?
Thank you so much!
I think I solved the repr problem, you can install the latest version (before it's pushed on PyPI) with pip install git+https://github.com/lasso-net/lassonet
.
We are implementing batched optimization, please bear with us!
Just pushed a new version with batch_size if you want to test it!
weird, can you try pip install -U git+https://github.com/lasso-net/lassonet
?
Did you restart you interpreter / notebook kernel?
(btw this is a bad idea for lambda_seq because you will only test 2 values but I'm sure you know it).
Yes, I did restart my jupyter notebook.
So in my package, lambda_seq and batch_size are both not available.
It should be something wrong in my package or anaconda I think.
I don't know at all, maybe you have two python installations. I recommend https://pythondiscord.com/ to quickly get help on such matters!
Thank you so much!