MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / readlines

Method readlines

python-package/lightgbmmt/basic.py:160–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 os.remove(self.name)
159
160 def readlines(self):
161 with open(self.name, "r+") as f:
162 ret = f.readlines()
163 return ret
164
165 def writelines(self, lines):
166 with open(self.name, "w+") as f:

Callers 7

_load_pandas_categoricalFunction · 0.80
predictMethod · 0.80
__init__Method · 0.80
load_from_csrFunction · 0.80
load_from_cscFunction · 0.80
load_from_matFunction · 0.80
test_boosterFunction · 0.80

Calls

no outgoing calls

Tested by 5

__init__Method · 0.64
load_from_csrFunction · 0.64
load_from_cscFunction · 0.64
load_from_matFunction · 0.64
test_boosterFunction · 0.64