Prepare the data
Prepare a mixed numeric-and-categorical table with missing and unseen-category test cases.
Work with categories. Keep encoding inside training.
CatBoost supports categorical features with ordered training techniques. Students should compare its native categorical handling with a carefully fitted one-hot baseline.
Learning concept · Not a validated service
CatBoost supports categorical features with ordered training techniques. Students should compare its native categorical handling with a carefully fitted one-hot baseline.
A possible application for tabular analytics teams: Help analysts evaluate category-heavy tables without ad hoc target encoding. This extension is not delivered by the supplied starter.
Prepare a mixed numeric-and-categorical table with missing and unseen-category test cases.
Train CatBoostClassifier with declared categorical columns and a separate validation set.
Compare held-out scores and calibration, checking high-cardinality and unseen categories.
Provide a documented categorical-feature schema and model comparison report.
The supplied starter creates 800 synthetic binary-classification rows with ten numeric features. It makes a stratified train/test split, fits a scaled RandomForestClassifier pipeline and prints a classification report.
model = Pipeline(
steps=[
("scale", StandardScaler()),
("classifier", RandomForestClassifier(
n_estimators=250, random_state=RANDOM_STATE)),
]
)
model.fit(X_train, y_train)
predictions = model.predict(X_test)
print(classification_report(y_test, predictions))The supplied random-forest example has no CatBoost estimator or categorical fields. Synthetic binary classification does not establish performance on the proposed application. The source report uses one split; it supplies no deployment or real-world validation.
Proposed extension: Help analysts evaluate category-heavy tables without ad hoc target encoding.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its AI Engineer Course, with placement support and hands-on labs.