jfpower / anfis-pytorch

Implementation of ANFIS using the pyTorch framework
MIT License
121 stars 44 forks source link

Use lstsq if gels generates attribute error #4

Open GGuedesAB opened 3 years ago

GGuedesAB commented 3 years ago

This fixes https://github.com/jfpower/anfis-pytorch/issues/3 making sure gels is tryied first to keep backwards compatibility.