Skip to content

Commit ec17a3f

Browse files
committed
add supplememtal material
1 parent 78ffc58 commit ec17a3f

24 files changed

+8
-161
lines changed

AfterImageExtractor/AfterImage.pyx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,8 @@ cdef class extrapolator:
804804

805805
# =======================================================================
806806
# =======================================================================
807+
# ================= Optimizated AfterImag ===============================
808+
# =======================================================================
807809
# =======================================================================
808810
cdef class incStatDB2(incStatDB):
809811

@@ -812,21 +814,21 @@ cdef class incStatDB2(incStatDB):
812814
# cdef dict HT
813815
cdef public dict HT2
814816

815-
## 2020.04修改-支持回退 ----
817+
## 2020.04 Update Roll back ----
816818
cdef public dict backup1
817819
cdef public dict backup2
818820
cdef public int roll_back
819-
## ---- 2020.04修改-支持回退
821+
## ---- 2020.04 Update Roll back
820822

821823
def __init__(self,double limit=np.Inf,double default_lambda=np.nan,roll_back=False):
822824
super().__init__(limit,default_lambda)
823825
self.HT2 = dict()
824826

825-
## 2020.04修改-支持回退 ----
827+
## 2020.04 Update Roll back ----
826828
self.backup1 = dict()
827829
self.backup2 = dict()
828830
self.roll_back = roll_back
829-
## ---- 2020.04修改-支持回退
831+
## ---- 2020.04 Update Roll back
830832

831833
def register(self, str ID, double Lambda=1,double init_time=0,
832834
int isTypeDiff=False, str dir='o'):
@@ -888,9 +890,6 @@ cdef class incStatDB2(incStatDB):
888890
else:
889891
raise RuntimeError("Invalid Params: dir")
890892

891-
## 2020.04修改-支持回退 ----
892-
## ---- 2020.04修改-支持回退
893-
894893
return incS
895894

896895
def update_get_1D2D_Stats(self, str ID1, str ID2, double t1,double v1,double Lambda=1): # weight, mean, std

KitNET/executeKitNET/KitNET.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ def __init__(self,model_save_path,n,max_autoencoder_size=10,learning_rate=0.1,hi
4040
self.n = n
4141

4242
# Variables
43-
''' 修改标注 '''
43+
''' My Update '''
4444
# self.n_trained = 55000+10 # the number of training instances so far
4545
self.n_executed = 0 # the number of executed instances so far
4646
# self.v = feature_map
47-
''' 修改标注 '''
47+
''' My Update '''
4848
# if self.v is None:
4949
self.v = pickle.load(f)
5050
print("## mapping(v) has been loaded from file...")
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)