Prepare the data
Prepare licensed product descriptions with editor-verified categories and group variants before splitting.
Suggest a category. Let editors confirm it.
Product categorisation maps catalogue descriptions to a controlled taxonomy. Duplicate variants and changing categories require careful splitting and an explicit unknown-category path.
Learning concept · Not a validated service
Product categorisation maps catalogue descriptions to a controlled taxonomy. Duplicate variants and changing categories require careful splitting and an explicit unknown-category path.
A possible application for catalogue editors: Help small merchants reduce repetitive catalogue labelling while preserving editorial control. This extension is not delivered by the supplied starter.
Prepare licensed product descriptions with editor-verified categories and group variants before splitting.
Train a TF-IDF text classifier with a fallback for low-confidence or unseen categories.
Measure macro F1 and confusion between neighbouring taxonomy branches on held-out products.
Provide top candidate categories and an editor correction workflow.
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 source contains synthetic numeric features, not product descriptions or a taxonomy. 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 small merchants reduce repetitive catalogue labelling while preserving editorial control.
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.