brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
supervised-learningSelect, fit, predict, and debug ML-From-Scratch supervised learning estimators.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task involves mlfromscratch.supervised_learning estimators for classical supervised prediction: regression, binary or multiclass classification, trees, ensembles, SVMs, Naive Bayes, LDA, boosting, XGBoost, Perceptron, Neuroevolution, or ParticleSwarmOptimizedNN.
fit, predict, or transform calls.cvxopt, or headless plotting issues in supervised workflows.../unsupervised-learning/.../deep-learning/.../reinforcement-learning/.../../references/package-overview.md and ../../references/troubleshooting.md when they are present.LinearRegression, PolynomialRegression, RidgeRegression, LassoRegression, PolynomialRidgeRegression, ElasticNet, RegressionTree, or GradientBoostingRegressor.LogisticRegression, SupportVectorMachine, Adaboost, LDA, NaiveBayes, KNN, or a tree/ensemble.KNN, ClassificationTree, RandomForest, NaiveBayes, GradientBoostingClassifier, XGBoost, MultiClassLDA for projection, or one-hot neural classifiers.references/model-catalog.md for constructors, method signatures, and label conventions. Do not assume scikit-learn estimator APIs.references/workflows.md for concise regression and classification recipes, including 2-D feature shaping and label conversions.references/troubleshooting.md before changing models. Most failures are shape, label, dependency, NumPy compatibility, or convergence issues.python scripts/run_regression_smoke.py --helppython scripts/run_regression_smoke.py --model linear-gdpython scripts/run_classification_smoke.py --helppython scripts/run_classification_smoke.py --model all-fastX should be a 2-D numeric array of shape (n_samples, n_features). Convert a 1-D feature vector with np.asarray(x).reshape(-1, 1).{-1, 1} for binary tasks; LogisticRegression expects 0/1; tree/KNN/NaiveBayes/boosting models use nominal integer labels; Perceptron and neural optimization wrappers expect one-hot targets from to_categorical.KNN has no fit method; call predict(X_test, X_train, y_train).SupportVectorMachine depends on cvxopt; because the supervised package exports SVM at import time, missing cvxopt can also break package-level supervised imports.divide_on_feature helper and may need the NumPy-compatibility troubleshooting path in current environments.