warning in doc build: The fit may be unsuccessful (modeling tied constraints)
See original GitHub issueDescription
I noticed in the doc build for #11367 it failed due to a likely unrelated warning coming from the modeling package:
/home/docs/checkouts/readthedocs.org/user_builds/astropy/envs/11367/lib/python3.8/site-packages/scipy/optimize/optimize.py:282: RuntimeWarning: Values in x were outside bounds during a minimize step, clipping to bounds
warnings.warn("Values in x were outside bounds during a "
/home/docs/checkouts/readthedocs.org/user_builds/astropy/envs/11367/lib/python3.8/site-packages/astropy/modeling/fitting.py:1166: AstropyUserWarning: The fit may be unsuccessful; check fit_info['message'] for more information.
warnings.warn("The fit may be unsuccessful; check "
I thought it might be a fluke, but locally I get the same warning, as well as
/home/embray/src/astropy/astropy/astropy/timeseries/__init__.py:docstring of astropy.timeseries.BoxLeastSquaresResults.popitem:: WARNING: py:class reference target not found: (k, v), remove and return some (key, value) pair as a
There is something fishy going on here.
System Details
Linux-5.4.0-65-generic-x86_64-with-Ubuntu-18.04-bionic Python 3.7.5 (default, Nov 7 2019, 10:50:52) [GCC 8.3.0] Numpy 1.19.4 astropy 4.3.dev644+gbb12bf9b2 Scipy 1.5.4 Matplotlib 3.3.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Source code for astropy.modeling.fitting
[docs]class ModelLinearityError(ModelsError): """Raised when a non-linear model is passed to a linear fitter.""" class UnsupportedConstraintError(ModelsError, ...
Read more >Runtime warnings and convergence problems - Stan
In most cases the warnings actually indicate important problems with your model. This does not mean that every time you see a warning...
Read more >Edge TPU Compiler - Coral.ai
In this case, cache space is first allocated to model A's data (as much as can fit). If space remains after that, cache...
Read more >Troubleshoot Dataflow errors - Google Cloud
This error occurs if your job's graph size exceeds 10 MB. Certain conditions in your pipeline can cause the job graph to exceed...
Read more >CRAN - Package 'survival'
inherently non-parametric; a fit of the model will normally be followed ... The check for tied survival times can fail due to floating...
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
Putting a
traceback.print_stack()
in thedid not parse as fits unit
unit warning confirms that those uncatched warnings come from the plots (matplotlib.sphinxext.plot_directive
).@dhomeier fixed the existing warnings in #12788 . Hopefully we are more vigilant going forward so they don’t creep back in. Thanks, Derek!