MCPcopy Create free account
hub / github.com/alibaba/euler / preprocess_feature_idx

Method preprocess_feature_idx

euler/tools/node.py:32–35  ·  view source on GitHub ↗
(self, gmeta)

Source from the content-addressed store, hash-verified

30 self.preprocess_feature_idx(gmeta)
31
32 def preprocess_feature_idx(self, gmeta):
33 expend_list(self.dense, gmeta.node_feature_maxnum['dense'])
34 expend_list(self.sparse, gmeta.node_feature_maxnum['sparse'])
35 expend_list(self.binary, gmeta.node_feature_maxnum['binary'])
36
37 def set_feature(self, feature_type, value, feature_idx):
38 if feature_type == "dense":

Callers 1

__init__Method · 0.95

Calls 1

expend_listFunction · 0.85

Tested by

no test coverage detected