docs: add changelog entry and module to class list

Signed-off-by: Dev Singh <dev@devksingh.com>
This commit is contained in:
Dev Singh 2020-09-22 18:58:57 +00:00
parent 4e2054a95b
commit d3de029269

View File

@ -5,10 +5,12 @@
# this module is cuda-optimized (as appropriate) and vectorized (except for one small part)
# setup:
__version__ = "0.0.4"
__version__ = "0.0.5"
# changelog should be viewed using print(analysis.regression.__changelog__)
__changelog__ = """
0.0.5:
- add circle fitting with LSC and HyperFit
0.0.4:
- bug fixes
- fixed changelog
@ -41,7 +43,8 @@ __all__ = [
'ExpRegKernel',
'SigmoidalRegKernelArthur',
'SGDTrain',
'CustomTrain'
'CustomTrain',
'CircleFit'
]
import torch
@ -278,4 +281,7 @@ class CircleFit:
R_1 = self.ournp.mean(Ri_1)
# calcualte residual error
residu_1 = self.ournp.sum((Ri_1-R_1)**2)
return xc_1, yc_1, R_1, residu_1
return xc_1, yc_1, R_1, residu_1
def HyperFit(self):
raise AttributeError("HyperFit not yet implemented")
pass