MCPcopy Create free account
hub / github.com/Anoise/WTFlib / Naive_thread

Class Naive_thread

LDPS_Graph/models/Stat_models.py:20–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 return x # [B, L, D]
19
20class Naive_thread(threading.Thread):
21 def __init__(self,func,args=()):
22 super(Naive_thread,self).__init__()
23 self.func = func
24 self.args = args
25
26 def run(self):
27 self.results = self.func(*self.args)
28
29 def return_result(self):
30 threading.Thread.join(self)
31 return self.results
32
33def _arima(seq,pred_len,bt,i):
34 model = pm.auto_arima(seq)

Callers 3

forwardMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected