From d3de029269c9ed31a3b88fd9cccba71497d78e5a Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Tue, 22 Sep 2020 18:58:57 +0000 Subject: [PATCH] docs: add changelog entry and module to class list Signed-off-by: Dev Singh --- analysis-master/tra_analysis/regression.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/analysis-master/tra_analysis/regression.py b/analysis-master/tra_analysis/regression.py index 95bf5e9a..5712136f 100644 --- a/analysis-master/tra_analysis/regression.py +++ b/analysis-master/tra_analysis/regression.py @@ -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 \ No newline at end of file + return xc_1, yc_1, R_1, residu_1 + def HyperFit(self): + raise AttributeError("HyperFit not yet implemented") + pass