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

Method query_boundaries

include/LightGBM/dataset.h:166–172  ·  view source on GitHub ↗

! * \brief Get data boundaries on queries, if not exists, will return nullptr * we assume data will order by query, * the interval of [query_boundaris[i], query_boundaris[i+1]) * is the data indices for query i. * \return Pointer of data boundaries on queries */

Source from the content-addressed store, hash-verified

164 * \return Pointer of data boundaries on queries
165 */
166 inline const data_size_t* query_boundaries() const {
167 if (!query_boundaries_.empty()) {
168 return query_boundaries_.data();
169 } else {
170 return nullptr;
171 }
172 }
173
174 /*!
175 * \brief Get Number of queries

Callers 7

InitMethod · 0.45
LoadFromBinFileMethod · 0.45
LoadTextDataToMemoryMethod · 0.45
GetIntFieldMethod · 0.45
InitMethod · 0.45
InitMethod · 0.45

Calls 2

dataMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected