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

Method sparse_rate

include/LightGBM/bin.h:102–102  ·  view source on GitHub ↗

! \brief Sparsity of this bin ( num_zero_bins / num_data ) */

Source from the content-addressed store, hash-verified

100 inline bool is_trivial() const { return is_trivial_; }
101 /*! \brief Sparsity of this bin ( num_zero_bins / num_data ) */
102 inline double sparse_rate() const { return sparse_rate_; }
103 /*!
104 * \brief Save binary data to file
105 * \param file File want to write

Callers 2

FastFeatureBundlingFunction · 0.45
FeatureGroupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected