Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Operand Type in start*= self.path_multiplier #68

Open
ElrondL opened this issue Nov 4, 2024 · 4 comments
Open

Unsupported Operand Type in start*= self.path_multiplier #68

ElrondL opened this issue Nov 4, 2024 · 4 comments

Comments

@ElrondL
Copy link

ElrondL commented Nov 4, 2024

Heya,

I tried to run LassoNetClassifier but saw error
TypeError: unsupported operand type(s) for *=: 'float' and 'NoneType'

I tried M = 1, 10, 100 and path_multiplier = 1.001. What could have caused this problem? I know it's probably have to do with my training set up..? I have only 1500 training samples, and used 225 for validation and the rest for training. My Batch_Size is 64.

@ElrondL
Copy link
Author

ElrondL commented Nov 4, 2024

I also set gamma = 0

@louisabraham
Copy link
Collaborator

what is the value of path multiplier?

@ElrondL
Copy link
Author

ElrondL commented Nov 8, 2024

I've tried path_multiplier = 1.02 or path_multiplier = 1.001
It looks like setting gamma and gamma_skip to non-zero values solved this problem

@louisabraham
Copy link
Collaborator

Do you have the calltrace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants