TransactionEncoder 4-linerte.fit(data).transform(data) → pd.DataFrame(ary, columns=te.columns_)
use_colnames=Truealways — the default gives you column indices, not item names
fpgrowth > apriorisame results, no candidate generation, dramatically faster
fpmax ✗ association_rulesmaximal itemsets drop their subsets → confidence can't be computed
lift = 1 → independentfilter rules on lift; confidence alone flatters universally-bought items
boolean matrix onlycounts raise ValueError in the miners — df = df > 0
plot_decision_regions is 2-D>2 features → feature_index + filler_feature_values, and you're seeing a slice
floating=TrueSFFS/SBFS — the one thing sklearn's SequentialFeatureSelector can't do
k_features='parsimonious'smallest subset within 1 std-err of the best score
StackingCV, not Stackingthe non-CV variant trains the meta-learner on in-sample predictions
paired_ttest_5x2cvDietterich's pick · paired_ttest_kfold_cv has inflated Type-I error
mcnemar for fitted modelscompares disagreements on one test set — no refitting needed
bias_variance_decomphigh bias → underfit · high variance → overfit · mse sums exactly, 0-1_loss doesn't
.632+ bootstraplow-variance accuracy estimate — shines on small datasets
mlxtend.image is GONEremoved entirely · any tutorial using it is stale
~5 imports justify itfrequent_patterns · plot_decision_regions · evaluate · floating SFS. Rest → sklearn.