MCPcopy Index your code
hub / github.com/Giyn/DataMiningVisualizationSystem / pushDataSet

Function pushDataSet

App/PoolManager.py:27–39  ·  view source on GitHub ↗
(dataSet, discrete, textColumns, key)

Source from the content-addressed store, hash-verified

25
26
27def pushDataSet(dataSet, discrete, textColumns, key):
28
29 if(pullDataSet(key) is not None) : return False
30
31 if (len(dataPool) >= MAXN):
32 for i in range(0, 10):
33 dataPool.pop(0)
34
35 dataPool.append([key, dataSet, discrete, textColumns])
36
37 print("dataPool :{0}".format(len(dataPool), MAXN))
38
39 return True
40
41def pullModel(hashKey:str):
42

Callers 1

pretreatmentFunction · 0.85

Calls 1

pullDataSetFunction · 0.85

Tested by

no test coverage detected