From classifier
Trains a text classifier model with labeled examples using required category label and text or file pattern.
npx claudepluginhub cardmagic/classifier# /classifier:train Train a classifier with labeled examples. ## Usage ## Examples ## Instructions Run the classifier train command: After training, inform the user they can: 1. Add more training examples with additional `/classifier:train` commands 2. Classify new text with `classifier "text to classify"` 3. Save the model with `classifier save model-name.json` For best results, recommend balanced training data across all categories.
/trainTrains an ML model on specified dataset and parameters using scikit-learn, PyTorch, TensorFlow, or XGBoost. Generates code for data prep, training with CV, metrics, and model saving.
/trainTrains machine learning or deep learning models in the project via standard workflow: environment checks, data preparation, configuration, launch with GPU support, and monitoring.
Train a classifier with labeled examples.
/classifier:train <category> <text or file pattern>
/classifier:train spam "Buy cheap viagra now"
/classifier:train ham "Meeting scheduled for tomorrow"
/classifier:train positive reviews/good/*.txt
/classifier:train negative reviews/bad/*.txt
Run the classifier train command:
classifier train "$category" "$text_or_pattern"
After training, inform the user they can:
/classifier:train commandsclassifier "text to classify"classifier save model-name.jsonFor best results, recommend balanced training data across all categories.