\value section (class, structure and meaning),
including the generics explain() and report(),
eda_bivariate(), all plot_*() functions, and
the plot() methods for awe,
AWECompare and AWEExplainer objects. Functions
called for their side effects say so.awe() no longer writes to the console with
cat() and print(). Progress is reported with
message() and is controlled by the new verbose
argument (default interactive(), so scripts, examples,
tests and vignettes are silent). Output can also be silenced with
suppressMessages(). Printing is now confined to
print() and summary() methods.plot_roc() now returns an AWEROC object
(elements roc, auc, positive,
plot) whose print() method draws the curve,
instead of printing a plot inside the function.
plot_residuals() returns an AWEPlotList when
only ggplot2 is available, and plot_confusion() falls back
to a base-graphics mosaic plot instead of printing a table.build/vignette.rds);
0.2.1 was built without it, which CRAN’s incoming check reports as a
NOTE.'ggplot2' in the
description; spelling in DESCRIPTION is now consistently
American English, matching Language: en-US.OMP_THREAD_LIMIT = 2, so that any OpenMP-based engine (for
example xgboost) stays within the two-core limit as well.
The thread caps in awe_model() from 0.2.1 are
unchanged.Rplots.pdf has been removed from
tests/testthat/.plot_tree() no longer passes an invalid
box.palette list to rpart.plot::rpart.plot(),
which produced “NAs introduced by coercion” and “supplied color is
neither numeric nor character” warnings (one pair per node, also when
building the vignette) whenever ‘rpart.plot’ was installed.ranger and xgboost candidates in
awe_model() (training and prediction alike) now explicitly
cap thread usage at num.threads = 2 /
nthread = 2. Both engines default to using every available
core, which is not permitted for default package behaviour on CRAN
(examples, tests, and vignettes must not use more than two cores). This
was the cause of the elevated CPU-vs-elapsed-time ratios flagged by
CRAN’s incoming checks on the Debian flavor for
awe_model(), awe_wrap(),
awe_ensemble(), awe_compare(),
awe_save(), the test suite, and vignette rebuilding; all
are resolved by this change since every path that fits or predicts with
these two engines goes through the same patched code in
models.R.awe_model():
knn_regression (dependency-free base-R
k-NN), ridge_regression / lasso_regression (in
addition to elastic_net, all via glmnet),
mars (earth), pls_regression
(pls), robust_regression
(MASS::rlm), and svm_linear alongside the
existing svm_radial.lda / qda
(MASS), regularized_logistic
(glmnet), svm_linear, svm_kernlab
(kernlab), and a probability-returning
ranger_prob variant.plot_roc()),
and awe_registry(target_type) lists every candidate name
(and whether it supports probabilities) without fitting anything.awe_ensemble(): combines the top-N cross-validated
candidates from an awe_model() leaderboard into a single
performance-weighted ensemble (weighted average for regression, weighted
vote for classification). Returns an
AWEEnsemble/AWEWrapper that works everywhere a
normal wrapper does.awe_tune(): dependency-free grid-search hyperparameter
tuning (decision_tree cp; random_forest mtry;
glmnet alpha; svm_radial cost/gamma) with
k-fold cross-validation, returning the full grid of scores plus a
ready-to-use AWEWrapper fit with the best parameters.awe_compare(): stacks the leaderboards of multiple
awe_model()/awe() runs (e.g. different feature
sets) into one comparable table, with a grouped-bar plot()
method.awe_save() / awe_load(): thin
saveRDS()/readRDS() wrappers for persisting
any AWE object between sessions.theme_awe(), awe_palette(), both exported for
reuse):
plot_roc(): ROC curve and rank-based AUC for binary
targets.plot_confusion(): confusion-matrix heatmap.plot_residuals(): residuals-vs-fitted and normal Q-Q
diagnostics for continuous targets (side by side via
patchwork when installed).eda_report(): combined multi-panel EDA overview
(patchwork / gridExtra).plot.AWEExplainer(type = "pdp")) now
overlays faint individual ICE curves behind the average-prediction
line.plot.awe() gained type = "roc",
"confusion", and "residuals".awe_select_features(): automatic near-zero-variance,
correlation, and univariate-association feature selection, with
plot_feature_selection(). Wired into awe() via
select_features = / top_n_features =.awe_model(): SVM and naive Bayes
(e1071), elastic net (glmnet), gradient
boosting (gbm), k-NN (class), and
ranger random forests are now added automatically when
installed, on top of the existing
lm/glm/rpart/randomForest/nnet/xgboost
candidates. Restrict candidates with the new models =
argument.awe_wrap() gained a which = argument to
wrap any specific fitted candidate, not just the overall best.varImp(): a caret-style
variable-importance generic with a plot() method, using
each engine’s native importance measure when available and falling back
to permutation importance otherwise.plot_correlation(),
plot_missingness(), plot_leaderboard(),
plot_tree() (decision-tree visualisation via
rpart.plot when installed, base rpart plotting
otherwise).plot.awe() gained type = "leaderboard" and
type = "tree".vignette("awe-intro")).glm convergence notices,
nnet iteration traces, glmnet/gbm
verbosity, etc.) while still letting genuine errors surface and drop
that one candidate.gbm candidates now adapt
n.minobsinnode/bag.fraction to small
cross-validation folds instead of failing on small data sets.Initial release.
awe(): single-call end-to-end pipeline (explore ->
preprocess -> model -> wrap -> explain -> evaluate ->
story), returning an awe object with print(),
summary(), plot(), predict(),
explain(), and report() methods.awe_explore(): automatic exploratory summary (types,
missing values, skewness/kurtosis, outliers, correlations).eda_univariate() / eda_bivariate():
automatic plot selection based on variable type, using
ggplot2 when installed and base graphics otherwise.awe_preprocess(): median/mode imputation, zero-variance
column removal, and a train/test split that is stratified by default (by
class for categorical targets, by quartile bin for continuous
targets).awe_model(): automatic target-type detection
(continuous, binary, multiclass) and k-fold cross-validated selection
among candidate models. Base learners
(lm/glm/rpart) are always
available; randomForest, nnet, and
xgboost are added automatically as candidates when
installed.awe_wrap(): wraps any fitted model into a common
AWEWrapper interface with a consistent
predict() method.awe_explain(): permutation feature importance and
partial dependence/ICE curves computed in base R, plus SHAP-style
variable importance via DALEX when installed.awe_evaluate(): regression (RMSE, MAE, MAPE, R2) and
classification (accuracy, precision, recall, F1, confusion matrix)
metrics.awe_story(): automatic plain-language executive
summary, findings, recommendations, and limitations.awe_report(): writes a Markdown report, rendered to
HTML when rmarkdown and Pandoc are available.