CatBoost
Installation
Overview
Python package installation
CatBoost for Apache Spark installation
R package installation
Command-line version binary
Build from source
Key Features
Training parameters
Python package
Quick start
CatBoost
CatBoostClassifier
CatBoostRanker
CatBoostRegressor
cv
datasets
FeaturesData
MetricVisualizer
Pool
Overview
Attributes
get_baseline
get_cat_feature_indices
get_embedding_feature_indices
get_features
get_group_id
get_label
get_text_feature_indices
get_weight
is_quantized
num_col
num_row
quantize
save
save_quantization_borders
set_baseline
set_feature_names
set_group_id
set_group_weight
set_pairs
set_pairs_weight
set_subgroup_id
set_timestamp
set_weight
slice
Pool initialization
sample_gaussian_process
sum_models
to_classifier
to_regressor
train
Text processing
utils
Usage examples
CatBoost for Apache Spark
R package
Command-line version
Applying models
Objectives and metrics
Model analysis
Data format description
Parameter tuning
Speeding up the training
Data visualization
Algorithm details
FAQ
Educational materials
Development and contributions
Contacts
num_col
In this article:
Method call format
Type of return value
Python package
Pool
num_col
num_col
Method call format
Type of return value
Return the number of columns that contain feature data.
Method call format
num_col()
Type of return value
int
Was the article helpful?
Yes
No
Previous
is_quantized
Next
num_row