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) # this module is cuda-optimized (as appropriate) and vectorized (except for one small part)
# setup: # setup:
__version__ = "0.0.4" __version__ = "0.0.5"
# changelog should be viewed using print(analysis.regression.__changelog__) # changelog should be viewed using print(analysis.regression.__changelog__)
__changelog__ = """ __changelog__ = """
0.0.5:
- add circle fitting with LSC and HyperFit
0.0.4: 0.0.4:
- bug fixes - bug fixes
- fixed changelog - fixed changelog
@ -41,7 +43,8 @@ __all__ = [
'ExpRegKernel', 'ExpRegKernel',
'SigmoidalRegKernelArthur', 'SigmoidalRegKernelArthur',
'SGDTrain', 'SGDTrain',
'CustomTrain' 'CustomTrain',
'CircleFit'
] ]
import torch import torch
@ -279,3 +282,6 @@ class CircleFit:
# calcualte residual error # calcualte residual error
residu_1 = self.ournp.sum((Ri_1-R_1)**2) 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