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

Method free_network

python-package/lightgbmmt/basic.py:1862–1872  ·  view source on GitHub ↗

Free Booster's network. Returns ------- self : Booster Booster with freed network.

(self)

Source from the content-addressed store, hash-verified

1860 return self
1861
1862 def free_network(self):
1863 """Free Booster's network.
1864
1865 Returns
1866 -------
1867 self : Booster
1868 Booster with freed network.
1869 """
1870 _safe_call(_LIB.LGBM_NetworkFree())
1871 self.network = False
1872 return self
1873
1874 def set_train_data_name(self, name):
1875 """Set the name to the training Dataset.

Callers 1

__del__Method · 0.95

Calls 1

_safe_callFunction · 0.85

Tested by

no test coverage detected