Improve handling of missing optimizer in NN classifier/regressor
See original GitHub issueWhat is the expected enhancement?
When an optimizer is not passed to neural network classifier/regressor an exception occurs: AttributeError: 'NoneType' object has no attribute 'optimize'
. In this issue I suggest to improve this behavior and either raise a more meaningful exception or introduce a default optimizer, e.g. Cobyla or SLSQP.
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Various Optimization Algorithms For Training Neural Network
Many people may be using optimizers while training the neural network without knowing ... It is an improvement on both SGD and standard...
Read more >How to Manually Optimize Neural Network Models
In this tutorial, you will discover how to manually optimize the weights of neural network models. After completing this tutorial, you will know ......
Read more >Random Bits Forest: a Strong Classifier/Regressor for Big Data
As a solution, we present Random Bits Forest (RBF), a classification and regression algorithm that integrates neural networks (for depth), ...
Read more >A Comprehensive Guide on Deep Learning Optimizers
An optimizer is a function or an algorithm that modifies the attributes of the neural network, such as weights and learning rate.
Read more >Optimization Algorithms in Neural Networks - KDnuggets
Essentially what we need to do is to take the loss and try to minimize it, because a lower loss means our model...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is information around contributing here https://github.com/Qiskit/qiskit-machine-learning/blob/main/CONTRIBUTING.md#contributing which also links to the main Qiskit contributing docs that have a lot of common information.
The easiest way to get the tools you need for development installed is to do a
pip install -r requirements-dev.txt
- you will see the file in the root of the repo. It has the list of all the tools needed - because they are only needed if you are doing dev they are not part of the standard requirements/install.This is likely due to different line endings in linux and windows:
\n
vs\r\n
. I guess you did not edit copyright notices, so ignore them.