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

Method Init

python-package/compile/src/io/metadata.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void Metadata::Init(const char* data_filename, const char* initscore_file) {
24 data_filename_ = data_filename;
25 // for lambdarank, it needs query data for partition data in parallel learning
26 LoadQueryBoundaries();
27 LoadWeights();
28 LoadQueryWeights();
29 LoadInitialScore(initscore_file);
30}
31
32Metadata::~Metadata() {
33}

Callers 15

BoosterMethod · 0.45
ResetConfigMethod · 0.45
AddValidDataMethod · 0.45
LoadFromFileMethod · 0.45
LoadFromBinFileMethod · 0.45
CheckCanLoadFromBinMethod · 0.45
DatasetMethod · 0.45
CopySubsetMethod · 0.45
SaveBinaryFileMethod · 0.45
ReadKLineFromFileFunction · 0.45

Calls 4

push_backMethod · 0.80
emptyMethod · 0.45
clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected