Example Result


1. The optimal model




All-model-result.csv
This file contains detailed performance metrics for all models.
● train, cv, test: Training set, cross-validation set, and test set, respectively.
● mcc: Matthews Correlation Coefficient.
● support: The number of samples.
MissingValueProcessing Standarization Selection Modeling model_ordering train_sensitivity train_f1 train_specificity train_auc train_mcc train_accuracy train_support cv_sensitivity cv_f1 cv_specificity cv_auc cv_mcc cv_accuracy cv_support test_sensitivity test_f1 test_specificity test_auc test_mcc test_accuracy test_support
0 Mean StandardScaler Ensemble LogisticRegression 0 0.992 0.992 0.9864864864864864 0.9995405405405404 0.9784864864864864 0.9899497487437184 398 0.964 0.9678318852293394 0.953103448275862 0.9778160919540232 0.9154513872804196 0.9599683544303798 79.6 0.9813084112149532 0.9722222222222222 0.9375 0.9924065420560748 0.9249063143621196 0.9649122807017544 171
1 Mean StandardScaler Ensemble ElasticLogit 8 0.984 0.9859719438877756 0.9797297297297296 0.9978108108108108 0.9624170557058792 0.9824120603015076 398 0.98 0.9799155425746656 0.966206896551724 0.9952827586206896 0.947095497012102 0.9749367088607596 79.6 0.9906542056074766 0.986046511627907 0.96875 0.9932827102803738 0.9625013365574848 0.9824561403508772 171
2 Mean StandardScaler Ensemble RandomForest 10 1.0 1.0 1.0 1.0 1.0 1.0 398 0.968 0.9605543838172804 0.9195402298850576 0.9876804597701148 0.8942976966446883 0.9498101265822784 79.6 0.9906542056074766 0.9906542056074766 0.984375 0.990946261682243 0.9750292056074766 0.9883040935672516 171
3 Mean StandardScaler Ensemble Support Vector Machine(SVM) 8 0.972 0.9798387096774194 0.9797297297297296 0.9977837837837836 0.9467278442113658 0.9748743718592964 398 0.988 0.9803072922676884 0.9528735632183908 0.995425287356322 0.9469536555256556 0.9749050632911394 79.6 0.9813084112149532 0.9813084112149532 0.96875 0.9935747663551402 0.9500584112149532 0.9766081871345028 171
4 Mean StandardScaler Ensemble LightGBM 7 1.0 1.0 1.0 1.0 1.0 1.0 398 0.972 0.962429760383001 0.919310344827586 0.9853471264367816 0.899562820181718 0.9523417721518987 79.6 0.97196261682243 0.981132075471698 0.984375 0.9953271028037384 0.9506627939735584 0.9766081871345028 171
5 Mean StandardScaler Ensemble DecisionTree 5 0.972 0.9642857142857144 0.9256756756756755 0.9924594594594596 0.9028637468775343 0.9547738693467336 398 0.936 0.9455583823688491 0.9255172413793102 0.9698574712643678 0.8568858991210767 0.9321518987341773 79.6 0.9626168224299064 0.9537037037037036 0.90625 0.9853971962616822 0.8746332756603007 0.9415204678362572 171
features.csv
● These are the feature columns selected by different feature selection methods.
● The earlier a feature appears, the more important it is in that feature selection method.
DT_score_c45 RandomForest_gini LassoLars multi_Lasso SVM
concave_points3 0.908631496014046 1.343853209280944 2.110704769693078 1.0477962681608726 -0.843662892369665
radius3 0.772571709265155 2.389610590657367 1.0873319789925036 -0.1222251694760045 0.1375597184197592
concavity1 0.2098886153277639 0.7881480514347761 nan 0.6867352944711677 1.7421114046398145
perimeter3 0.8810664976572636 -0.3482940029927877 1.397293079987624 0.2321583425355515 -0.6161304546617271
perimeter1 0.3289907364921003 -0.3298625519126479 nan 1.0186002850267557 nan
area1 0.3341848312756867 -0.5196000193228967 nan 1.0477962681608726 nan
area3 0.8323277863060384 -0.0870187199354913 nan 0.1563628366485985 -0.1331958735633147
concave_points1 0.6499919824315209 0.3423358980863874 0.2558589179724853 -1.0728568531283784 0.1708225022068355
texture2 nan nan nan nan -0.1423089520654813
radius1 0.2564510072064858 -0.8166197686191518 -0.7771279561801626 1.0477962681608726 nan
fractal_dimension2 nan nan -0.7922551099014578 nan 0.3079669852710125
fractal_dimension1 nan nan -0.6689832432482499 nan nan
area2 0.2139044009904794 -0.4919971860753835 nan -0.8140928571585863 0.381835599301987
concavity3 -0.4102292306727036 -0.1485538380002572 -0.6064846295005704 0.0066081158336383 nan
smoothness1 nan nan nan nan -1.5000952543451005
symmetry1 nan nan nan -1.776291985532573 nan
concave_points2 nan nan -0.7545087984535324 nan -1.2225633297172067
radius2 -0.9037859285449172 -1.0655367090085557 -0.461834962425608 nan -0.1933735738956947
concavity2 -1.9765791986567955 nan -0.7086364027657364 nan nan
texture3 -2.0974147050921124 -1.0564649535923023 -0.0813576441703736 -1.4583868137027918 1.911034120778781

feature_importance.html

View in full screen

shap_plot.html

View in full screen
model_parameter.csv
● This file contains the parameters of the best-performing classification model.
model parameter result
ElasticNetLogisticRegression Inverse Regularization Strength (C) 0.5658126931384609
ElasticNetLogisticRegression L1/L2 Ratio 0.0695588722286282
optimal-model-scores.csv
● support: The number of samples
● macro avg: The average of metrics across all classes, calculated as (class1 + class2)/2
● weighteed avg: The weighted average of metrics across all classes, calculated as(class1 + class2) / (support(class1) + support(class2))
precision recall f1-score support
B 0.9814814814814815 0.9906542056074766 0.986046511627907 107.0
M 0.9841269841269841 0.96875 0.9763779527559056 64.0
macro avg 0.9828042328042328 0.9797021028037383 0.9812122321919063 171.0
weighted avg 0.9824716111265819 0.9824561403508771 0.9824278697109006 171.0
accuracy 0.9824561403508771 171.0
sensitivity 0.9906542056074766 107.0
specificity 0.96875 107.0

2. Data Overview



Correlation Heatmap.png
Image

The correlation heatmap visualizes correlation coefficients, which measure the linear relationship between two variables. The range of correlation coefficients is from -1 to 1:
● Closer to 1: Indicates a strong positive correlation. ● Closer to 0: Indicates no linear relationship. ● Closer to -1: Indicates a strong negative correlation.

3. Dimensionality Reduction



pca_plot.html
View in full screen

● pc_1, pc_2, pc_3, pc_4 represent different principal components. ● The diagonal plots show the distribution of data for individual components. ● Scatter plots display the relationships between two components (e.g., the top-left plot shows the relationship between pc_1 and pc_2).
● More concentrated distributions indicate components with lower variance. ● More dispersed distributions indicate components capturing higher variance.


pls_plot.html
View in full screen

● PLS component 1 and PLS component 2 are the primary components derived from PLS (Partial Least Squares) analysis.
● PLS component 1 captures the most critical variance for classification, while PLS component 2 provides supplementary information to enhance classification.


umap_plot.html
View in full screen

● If the colored clusters are distinct and well-separated (e.g., forming clearly defined blocks), it indicates that UMAP has successfully preserved the high-dimensional clustering structure in the lower-dimensional space.
● UMAP prioritizes preserving local proximity in the data. Points that are close in the plot are likely to share similar features in the high-dimensional space.
● Points that are far apart generally represent significant differences in features.