Hi Michael, many thanks for your package. I was trying to run the first example in the demo
import numpy as np import bayesfit as bf data = np.array([[0.0010, 45, 90], [0.0015, 50, 90], [0.0020, 44, 90], [0.0025, 44, 90], [0.0030, 52, 90], [0.0035, 53, 90], [0.0040, 62, 90], [0.0045, 64, 90], [0.0050, 76, 90], [0.0060, 79, 90], [0.0070, 88, 90], [0.0080, 90, 90], [0.0100, 90, 90]]); metrics, options = bf.fitmodel(data, sigmoid_type='logistic')
It returns
TypeError: 'float' object cannot be interpreted as an integer
May I know how to solve the issue
Hi Michael, many thanks for your package. I was trying to run the first example in the demo
import numpy as np import bayesfit as bf data = np.array([[0.0010, 45, 90], [0.0015, 50, 90], [0.0020, 44, 90], [0.0025, 44, 90], [0.0030, 52, 90], [0.0035, 53, 90], [0.0040, 62, 90], [0.0045, 64, 90], [0.0050, 76, 90], [0.0060, 79, 90], [0.0070, 88, 90], [0.0080, 90, 90], [0.0100, 90, 90]]); metrics, options = bf.fitmodel(data, sigmoid_type='logistic')
It returnsTypeError: 'float' object cannot be interpreted as an integer
May I know how to solve the issue