jadsasa commited on
Commit
21b111c
·
verified ·
1 Parent(s): e12feb1

Update README.md

Browse files

fixing model card

Files changed (1) hide show
  1. README.md +192 -161
README.md CHANGED
@@ -1,161 +1,192 @@
1
-
2
- # Model description
3
-
4
- [More Information Needed]
5
-
6
- ## Intended uses & limitations
7
-
8
- [More Information Needed]
9
-
10
- ## Training Procedure
11
-
12
- [More Information Needed]
13
-
14
- ### Hyperparameters
15
-
16
- <details>
17
- <summary> Click to expand </summary>
18
-
19
- | Hyperparameter | Value |
20
- | :------------: | :---: |
21
- | priors | None |
22
- | var_smoothing | 1e-09 |
23
-
24
- </details>
25
-
26
- ### Model Plot
27
-
28
- <style>#sk-container-id-4 {/* Definition of color scheme common for light and dark mode */--sklearn-color-text: #000;--sklearn-color-text-muted: #666;--sklearn-color-line: gray;/* Definition of color scheme for unfitted estimators */--sklearn-color-unfitted-level-0: #fff5e6;--sklearn-color-unfitted-level-1: #f6e4d2;--sklearn-color-unfitted-level-2: #ffe0b3;--sklearn-color-unfitted-level-3: chocolate;/* Definition of color scheme for fitted estimators */--sklearn-color-fitted-level-0: #f0f8ff;--sklearn-color-fitted-level-1: #d4ebff;--sklearn-color-fitted-level-2: #b3dbfd;--sklearn-color-fitted-level-3: cornflowerblue;/* Specific color for light theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, white)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-icon: #696969;@media (prefers-color-scheme: dark) {/* Redefinition of color scheme for dark theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, #111)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-icon: #878787;}
29
- }#sk-container-id-4 {color: var(--sklearn-color-text);
30
- }#sk-container-id-4 pre {padding: 0;
31
- }#sk-container-id-4 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;
32
- }#sk-container-id-4 div.sk-dashed-wrapped {border: 1px dashed var(--sklearn-color-line);margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: var(--sklearn-color-background);
33
- }#sk-container-id-4 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }`but bootstrap.min.css set `[hidden] { display: none !important; }`so we also need the `!important` here to be able to override thedefault hidden behavior on the sphinx rendered scikit-learn.org.See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;
34
- }#sk-container-id-4 div.sk-text-repr-fallback {display: none;
35
- }div.sk-parallel-item,
36
- div.sk-serial,
37
- div.sk-item {/* draw centered vertical line to link estimators */background-image: linear-gradient(var(--sklearn-color-text-on-default-background), var(--sklearn-color-text-on-default-background));background-size: 2px 100%;background-repeat: no-repeat;background-position: center center;
38
- }/* Parallel-specific style estimator block */#sk-container-id-4 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 2px solid var(--sklearn-color-text-on-default-background);flex-grow: 1;
39
- }#sk-container-id-4 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: var(--sklearn-color-background);position: relative;
40
- }#sk-container-id-4 div.sk-parallel-item {display: flex;flex-direction: column;
41
- }#sk-container-id-4 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;
42
- }#sk-container-id-4 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;
43
- }#sk-container-id-4 div.sk-parallel-item:only-child::after {width: 0;
44
- }/* Serial-specific style estimator block */#sk-container-id-4 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: var(--sklearn-color-background);padding-right: 1em;padding-left: 1em;
45
- }/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
46
- clickable and can be expanded/collapsed.
47
- - Pipeline and ColumnTransformer use this feature and define the default style
48
- - Estimators will overwrite some part of the style using the `sk-estimator` class
49
- *//* Pipeline and ColumnTransformer style (default) */#sk-container-id-4 div.sk-toggleable {/* Default theme specific background. It is overwritten whether we have aspecific estimator or a Pipeline/ColumnTransformer */background-color: var(--sklearn-color-background);
50
- }/* Toggleable label */
51
- #sk-container-id-4 label.sk-toggleable__label {cursor: pointer;display: flex;width: 100%;margin-bottom: 0;padding: 0.5em;box-sizing: border-box;text-align: center;align-items: start;justify-content: space-between;gap: 0.5em;
52
- }#sk-container-id-4 label.sk-toggleable__label .caption {font-size: 0.6rem;font-weight: lighter;color: var(--sklearn-color-text-muted);
53
- }#sk-container-id-4 label.sk-toggleable__label-arrow:before {/* Arrow on the left of the label */content: "▸";float: left;margin-right: 0.25em;color: var(--sklearn-color-icon);
54
- }#sk-container-id-4 label.sk-toggleable__label-arrow:hover:before {color: var(--sklearn-color-text);
55
- }/* Toggleable content - dropdown */#sk-container-id-4 div.sk-toggleable__content {display: none;text-align: left;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
56
- }#sk-container-id-4 div.sk-toggleable__content.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
57
- }#sk-container-id-4 div.sk-toggleable__content pre {margin: 0.2em;border-radius: 0.25em;color: var(--sklearn-color-text);/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
58
- }#sk-container-id-4 div.sk-toggleable__content.fitted pre {/* unfitted */background-color: var(--sklearn-color-fitted-level-0);
59
- }#sk-container-id-4 input.sk-toggleable__control:checked~div.sk-toggleable__content {/* Expand drop-down */display: block;width: 100%;overflow: visible;
60
- }#sk-container-id-4 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";
61
- }/* Pipeline/ColumnTransformer-specific style */#sk-container-id-4 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
62
- }#sk-container-id-4 div.sk-label.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: var(--sklearn-color-fitted-level-2);
63
- }/* Estimator-specific style *//* Colorize estimator box */
64
- #sk-container-id-4 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
65
- }#sk-container-id-4 div.sk-estimator.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
66
- }#sk-container-id-4 div.sk-label label.sk-toggleable__label,
67
- #sk-container-id-4 div.sk-label label {/* The background is the default theme color */color: var(--sklearn-color-text-on-default-background);
68
- }/* On hover, darken the color of the background */
69
- #sk-container-id-4 div.sk-label:hover label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
70
- }/* Label box, darken color on hover, fitted */
71
- #sk-container-id-4 div.sk-label.fitted:hover label.sk-toggleable__label.fitted {color: var(--sklearn-color-text);background-color: var(--sklearn-color-fitted-level-2);
72
- }/* Estimator label */#sk-container-id-4 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;
73
- }#sk-container-id-4 div.sk-label-container {text-align: center;
74
- }/* Estimator-specific */
75
- #sk-container-id-4 div.sk-estimator {font-family: monospace;border: 1px dotted var(--sklearn-color-border-box);border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
76
- }#sk-container-id-4 div.sk-estimator.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
77
- }/* on hover */
78
- #sk-container-id-4 div.sk-estimator:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
79
- }#sk-container-id-4 div.sk-estimator.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
80
- }/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
81
- a:link.sk-estimator-doc-link,
82
- a:visited.sk-estimator-doc-link {float: right;font-size: smaller;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1em;height: 1em;width: 1em;text-decoration: none !important;margin-left: 0.5em;text-align: center;/* unfitted */border: var(--sklearn-color-unfitted-level-1) 1pt solid;color: var(--sklearn-color-unfitted-level-1);
83
- }.sk-estimator-doc-link.fitted,
84
- a:link.sk-estimator-doc-link.fitted,
85
- a:visited.sk-estimator-doc-link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
86
- }/* On hover */
87
- div.sk-estimator:hover .sk-estimator-doc-link:hover,
88
- .sk-estimator-doc-link:hover,
89
- div.sk-label-container:hover .sk-estimator-doc-link:hover,
90
- .sk-estimator-doc-link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
91
- }div.sk-estimator.fitted:hover .sk-estimator-doc-link.fitted:hover,
92
- .sk-estimator-doc-link.fitted:hover,
93
- div.sk-label-container:hover .sk-estimator-doc-link.fitted:hover,
94
- .sk-estimator-doc-link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
95
- }/* Span, style for the box shown on hovering the info icon */
96
- .sk-estimator-doc-link span {display: none;z-index: 9999;position: relative;font-weight: normal;right: .2ex;padding: .5ex;margin: .5ex;width: min-content;min-width: 20ex;max-width: 50ex;color: var(--sklearn-color-text);box-shadow: 2pt 2pt 4pt #999;/* unfitted */background: var(--sklearn-color-unfitted-level-0);border: .5pt solid var(--sklearn-color-unfitted-level-3);
97
- }.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
98
- }.sk-estimator-doc-link:hover span {display: block;
99
- }/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-4 a.estimator_doc_link {float: right;font-size: 1rem;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1rem;height: 1rem;width: 1rem;text-decoration: none;/* unfitted */color: var(--sklearn-color-unfitted-level-1);border: var(--sklearn-color-unfitted-level-1) 1pt solid;
100
- }#sk-container-id-4 a.estimator_doc_link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
101
- }/* On hover */
102
- #sk-container-id-4 a.estimator_doc_link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
103
- }#sk-container-id-4 a.estimator_doc_link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);
104
- }.estimator-table summary {padding: .5rem;font-family: monospace;cursor: pointer;
105
- }.estimator-table details[open] {padding-left: 0.1rem;padding-right: 0.1rem;padding-bottom: 0.3rem;
106
- }.estimator-table .parameters-table {margin-left: auto !important;margin-right: auto !important;
107
- }.estimator-table .parameters-table tr:nth-child(odd) {background-color: #fff;
108
- }.estimator-table .parameters-table tr:nth-child(even) {background-color: #f6f6f6;
109
- }.estimator-table .parameters-table tr:hover {background-color: #e0e0e0;
110
- }.estimator-table table td {border: 1px solid rgba(106, 105, 104, 0.232);
111
- }.user-set td {color:rgb(255, 94, 0);text-align: left;
112
- }.user-set td.value pre {color:rgb(255, 94, 0) !important;background-color: transparent !important;
113
- }.default td {color: black;text-align: left;
114
- }.user-set td i,
115
- .default td i {color: black;
116
- }.copy-paste-icon {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTIwOCAwTDMzMi4xIDBjMTIuNyAwIDI0LjkgNS4xIDMzLjkgMTQuMWw2Ny45IDY3LjljOSA5IDE0LjEgMjEuMiAxNC4xIDMzLjlMNDQ4IDMzNmMwIDI2LjUtMjEuNSA0OC00OCA0OGwtMTkyIDBjLTI2LjUgMC00OC0yMS41LTQ4LTQ4bDAtMjg4YzAtMjYuNSAyMS41LTQ4IDQ4LTQ4ek00OCAxMjhsODAgMCAwIDY0LTY0IDAgMCAyNTYgMTkyIDAgMC0zMiA2NCAwIDAgNDhjMCAyNi41LTIxLjUgNDgtNDggNDhMNDggNTEyYy0yNi41IDAtNDgtMjEuNS00OC00OEwwIDE3NmMwLTI2LjUgMjEuNS00OCA0OC00OHoiLz48L3N2Zz4=);background-repeat: no-repeat;background-size: 14px 14px;background-position: 0;display: inline-block;width: 14px;height: 14px;cursor: pointer;
117
- }
118
- </style><body><div id="sk-container-id-4" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>GaussianNB()</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-4" type="checkbox" checked><label for="sk-estimator-id-4" class="sk-toggleable__label fitted sk-toggleable__label-arrow"><div><div>GaussianNB</div></div><div><a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.7/modules/generated/sklearn.naive_bayes.GaussianNB.html">?<span>Documentation for GaussianNB</span></a><span class="sk-estimator-doc-link fitted">i<span>Fitted</span></span></div></label><div class="sk-toggleable__content fitted" data-param-prefix=""><div class="estimator-table"><details><summary>Parameters</summary><table class="parameters-table"><tbody><tr class="default"><td><i class="copy-paste-icon"onclick="copyToClipboard('priors',this.parentElement.nextElementSibling)"></i></td><td class="param">priors&nbsp;</td><td class="value">None</td></tr><tr class="default"><td><i class="copy-paste-icon"onclick="copyToClipboard('var_smoothing',this.parentElement.nextElementSibling)"></i></td><td class="param">var_smoothing&nbsp;</td><td class="value">1e-09</td></tr></tbody></table></details></div></div></div></div></div></div><script>function copyToClipboard(text, element) {// Get the parameter prefix from the closest toggleable contentconst toggleableContent = element.closest('.sk-toggleable__content');const paramPrefix = toggleableContent ? toggleableContent.dataset.paramPrefix : '';const fullParamName = paramPrefix ? `${paramPrefix}${text}` : text;const originalStyle = element.style;const computedStyle = window.getComputedStyle(element);const originalWidth = computedStyle.width;const originalHTML = element.innerHTML.replace('Copied!', '');navigator.clipboard.writeText(fullParamName).then(() => {element.style.width = originalWidth;element.style.color = 'green';element.innerHTML = "Copied!";setTimeout(() => {element.innerHTML = originalHTML;element.style = originalStyle;}, 2000);}).catch(err => {console.error('Failed to copy:', err);element.style.color = 'red';element.innerHTML = "Failed!";setTimeout(() => {element.innerHTML = originalHTML;element.style = originalStyle;}, 2000);});return false;
119
- }document.querySelectorAll('.fa-regular.fa-copy').forEach(function(element) {const toggleableContent = element.closest('.sk-toggleable__content');const paramPrefix = toggleableContent ? toggleableContent.dataset.paramPrefix : '';const paramName = element.parentElement.nextElementSibling.textContent.trim();const fullParamName = paramPrefix ? `${paramPrefix}${paramName}` : paramName;element.setAttribute('title', fullParamName);
120
- });
121
- </script></body>
122
-
123
- ## Evaluation Results
124
-
125
- [More Information Needed]
126
-
127
- # How to Get Started with the Model
128
-
129
- [More Information Needed]
130
-
131
- # Model Card Authors
132
-
133
- This model card is written by following authors:
134
-
135
- [More Information Needed]
136
-
137
- # Model Card Contact
138
-
139
- You can contact the model card authors through following channels:
140
- [More Information Needed]
141
-
142
- # Citation
143
-
144
- Below you can find information related to citation.
145
-
146
- **BibTeX:**
147
- ```
148
- [More Information Needed]
149
- ```
150
-
151
- # Model Card Author
152
-
153
- Jad Alsassa
154
-
155
- # Intended Uses & Limitations
156
-
157
- This model is for educational and demonstration purposes only. It is not validated for medical or clinical use.
158
-
159
- # Model Description
160
-
161
- This Gaussian Naive Bayes model predicts breast tumor malignancy using the Wisconsin Diagnostic Breast Cancer dataset. Features were standardized and PCA was applied for visualization but not during training.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # Model description
3
+
4
+ This model is a Gaussian Naive Bayes classifier trained on the Wisconsin Diagnostic Breast Cancer (WDBC) dataset. It predicts whether a breast tumor is malignant (cancerous) or benign (non-cancerous) based on 30 numerical features computed from a digitized image of a fine needle aspirate (FNA) of a breast mass.
5
+
6
+ The model uses Gaussian Naive Bayes because the features are continuous and approximately normally distributed after scaling. PCA was also used to visualize structure and variance in the dataset, confirming that classes were fairly separable in reduced dimensions.
7
+
8
+
9
+ ## Intended uses & limitations
10
+
11
+ **Intended use:**
12
+ This model is for **educational and research purposes only**. It demonstrates binary classification, feature scaling, and probabilistic modeling using Gaussian Naive Bayes.
13
+
14
+ **Not for clinical or real-world use.**
15
+ The dataset comes from a medical diagnostic context, but this model has not been clinically validated or certified for healthcare applications.
16
+
17
+ **Limitations:**
18
+ - Naive Bayes assumes feature independence, which may not hold perfectly in real data.
19
+ - Performance depends heavily on data quality and class balance.
20
+ - Should not be used to make real patient predictions or medical decisions.
21
+
22
+
23
+ ## Training Procedure
24
+
25
+ **Training data:**
26
+ Wisconsin Diagnostic Breast Cancer dataset, containing 569 samples and 30 numeric features (radius, texture, area, smoothness, etc.).
27
+
28
+ **Preprocessing:**
29
+ - Features were standardized using `StandardScaler`.
30
+ - PCA (2 components) was used for visualization only, not for model fitting.
31
+
32
+ **Training/testing split:**
33
+ - 80% training / 20% testing (stratified)
34
+ - The training data was further split into subtrain/validation (75%/20% of total).
35
+
36
+ **Model:**
37
+ - Gaussian Naive Bayes (default parameters)
38
+ - Fitted on scaled features.
39
+
40
+ **Evaluation metrics:**
41
+ - Confusion matrix and classification report were generated.
42
+ - The model achieved high precision and recall, indicating good generalization on the test set.
43
+
44
+
45
+ ### Hyperparameters
46
+
47
+ <details>
48
+ <summary> Click to expand </summary>
49
+
50
+ | Hyperparameter | Value |
51
+ | :------------: | :---: |
52
+ | priors | None |
53
+ | var_smoothing | 1e-09 |
54
+
55
+ </details>
56
+
57
+ ### Model Plot
58
+
59
+ <style>#sk-container-id-4 {/* Definition of color scheme common for light and dark mode */--sklearn-color-text: #000;--sklearn-color-text-muted: #666;--sklearn-color-line: gray;/* Definition of color scheme for unfitted estimators */--sklearn-color-unfitted-level-0: #fff5e6;--sklearn-color-unfitted-level-1: #f6e4d2;--sklearn-color-unfitted-level-2: #ffe0b3;--sklearn-color-unfitted-level-3: chocolate;/* Definition of color scheme for fitted estimators */--sklearn-color-fitted-level-0: #f0f8ff;--sklearn-color-fitted-level-1: #d4ebff;--sklearn-color-fitted-level-2: #b3dbfd;--sklearn-color-fitted-level-3: cornflowerblue;/* Specific color for light theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, white)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-icon: #696969;@media (prefers-color-scheme: dark) {/* Redefinition of color scheme for dark theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, #111)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-icon: #878787;}
60
+ }#sk-container-id-4 {color: var(--sklearn-color-text);
61
+ }#sk-container-id-4 pre {padding: 0;
62
+ }#sk-container-id-4 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;
63
+ }#sk-container-id-4 div.sk-dashed-wrapped {border: 1px dashed var(--sklearn-color-line);margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: var(--sklearn-color-background);
64
+ }#sk-container-id-4 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }`but bootstrap.min.css set `[hidden] { display: none !important; }`so we also need the `!important` here to be able to override thedefault hidden behavior on the sphinx rendered scikit-learn.org.See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;
65
+ }#sk-container-id-4 div.sk-text-repr-fallback {display: none;
66
+ }div.sk-parallel-item,
67
+ div.sk-serial,
68
+ div.sk-item {/* draw centered vertical line to link estimators */background-image: linear-gradient(var(--sklearn-color-text-on-default-background), var(--sklearn-color-text-on-default-background));background-size: 2px 100%;background-repeat: no-repeat;background-position: center center;
69
+ }/* Parallel-specific style estimator block */#sk-container-id-4 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 2px solid var(--sklearn-color-text-on-default-background);flex-grow: 1;
70
+ }#sk-container-id-4 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: var(--sklearn-color-background);position: relative;
71
+ }#sk-container-id-4 div.sk-parallel-item {display: flex;flex-direction: column;
72
+ }#sk-container-id-4 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;
73
+ }#sk-container-id-4 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;
74
+ }#sk-container-id-4 div.sk-parallel-item:only-child::after {width: 0;
75
+ }/* Serial-specific style estimator block */#sk-container-id-4 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: var(--sklearn-color-background);padding-right: 1em;padding-left: 1em;
76
+ }/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
77
+ clickable and can be expanded/collapsed.
78
+ - Pipeline and ColumnTransformer use this feature and define the default style
79
+ - Estimators will overwrite some part of the style using the `sk-estimator` class
80
+ *//* Pipeline and ColumnTransformer style (default) */#sk-container-id-4 div.sk-toggleable {/* Default theme specific background. It is overwritten whether we have aspecific estimator or a Pipeline/ColumnTransformer */background-color: var(--sklearn-color-background);
81
+ }/* Toggleable label */
82
+ #sk-container-id-4 label.sk-toggleable__label {cursor: pointer;display: flex;width: 100%;margin-bottom: 0;padding: 0.5em;box-sizing: border-box;text-align: center;align-items: start;justify-content: space-between;gap: 0.5em;
83
+ }#sk-container-id-4 label.sk-toggleable__label .caption {font-size: 0.6rem;font-weight: lighter;color: var(--sklearn-color-text-muted);
84
+ }#sk-container-id-4 label.sk-toggleable__label-arrow:before {/* Arrow on the left of the label */content: "▸";float: left;margin-right: 0.25em;color: var(--sklearn-color-icon);
85
+ }#sk-container-id-4 label.sk-toggleable__label-arrow:hover:before {color: var(--sklearn-color-text);
86
+ }/* Toggleable content - dropdown */#sk-container-id-4 div.sk-toggleable__content {display: none;text-align: left;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
87
+ }#sk-container-id-4 div.sk-toggleable__content.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
88
+ }#sk-container-id-4 div.sk-toggleable__content pre {margin: 0.2em;border-radius: 0.25em;color: var(--sklearn-color-text);/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
89
+ }#sk-container-id-4 div.sk-toggleable__content.fitted pre {/* unfitted */background-color: var(--sklearn-color-fitted-level-0);
90
+ }#sk-container-id-4 input.sk-toggleable__control:checked~div.sk-toggleable__content {/* Expand drop-down */display: block;width: 100%;overflow: visible;
91
+ }#sk-container-id-4 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";
92
+ }/* Pipeline/ColumnTransformer-specific style */#sk-container-id-4 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
93
+ }#sk-container-id-4 div.sk-label.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: var(--sklearn-color-fitted-level-2);
94
+ }/* Estimator-specific style *//* Colorize estimator box */
95
+ #sk-container-id-4 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
96
+ }#sk-container-id-4 div.sk-estimator.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
97
+ }#sk-container-id-4 div.sk-label label.sk-toggleable__label,
98
+ #sk-container-id-4 div.sk-label label {/* The background is the default theme color */color: var(--sklearn-color-text-on-default-background);
99
+ }/* On hover, darken the color of the background */
100
+ #sk-container-id-4 div.sk-label:hover label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
101
+ }/* Label box, darken color on hover, fitted */
102
+ #sk-container-id-4 div.sk-label.fitted:hover label.sk-toggleable__label.fitted {color: var(--sklearn-color-text);background-color: var(--sklearn-color-fitted-level-2);
103
+ }/* Estimator label */#sk-container-id-4 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;
104
+ }#sk-container-id-4 div.sk-label-container {text-align: center;
105
+ }/* Estimator-specific */
106
+ #sk-container-id-4 div.sk-estimator {font-family: monospace;border: 1px dotted var(--sklearn-color-border-box);border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
107
+ }#sk-container-id-4 div.sk-estimator.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
108
+ }/* on hover */
109
+ #sk-container-id-4 div.sk-estimator:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
110
+ }#sk-container-id-4 div.sk-estimator.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
111
+ }/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
112
+ a:link.sk-estimator-doc-link,
113
+ a:visited.sk-estimator-doc-link {float: right;font-size: smaller;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1em;height: 1em;width: 1em;text-decoration: none !important;margin-left: 0.5em;text-align: center;/* unfitted */border: var(--sklearn-color-unfitted-level-1) 1pt solid;color: var(--sklearn-color-unfitted-level-1);
114
+ }.sk-estimator-doc-link.fitted,
115
+ a:link.sk-estimator-doc-link.fitted,
116
+ a:visited.sk-estimator-doc-link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
117
+ }/* On hover */
118
+ div.sk-estimator:hover .sk-estimator-doc-link:hover,
119
+ .sk-estimator-doc-link:hover,
120
+ div.sk-label-container:hover .sk-estimator-doc-link:hover,
121
+ .sk-estimator-doc-link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
122
+ }div.sk-estimator.fitted:hover .sk-estimator-doc-link.fitted:hover,
123
+ .sk-estimator-doc-link.fitted:hover,
124
+ div.sk-label-container:hover .sk-estimator-doc-link.fitted:hover,
125
+ .sk-estimator-doc-link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
126
+ }/* Span, style for the box shown on hovering the info icon */
127
+ .sk-estimator-doc-link span {display: none;z-index: 9999;position: relative;font-weight: normal;right: .2ex;padding: .5ex;margin: .5ex;width: min-content;min-width: 20ex;max-width: 50ex;color: var(--sklearn-color-text);box-shadow: 2pt 2pt 4pt #999;/* unfitted */background: var(--sklearn-color-unfitted-level-0);border: .5pt solid var(--sklearn-color-unfitted-level-3);
128
+ }.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
129
+ }.sk-estimator-doc-link:hover span {display: block;
130
+ }/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-4 a.estimator_doc_link {float: right;font-size: 1rem;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1rem;height: 1rem;width: 1rem;text-decoration: none;/* unfitted */color: var(--sklearn-color-unfitted-level-1);border: var(--sklearn-color-unfitted-level-1) 1pt solid;
131
+ }#sk-container-id-4 a.estimator_doc_link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
132
+ }/* On hover */
133
+ #sk-container-id-4 a.estimator_doc_link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
134
+ }#sk-container-id-4 a.estimator_doc_link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);
135
+ }.estimator-table summary {padding: .5rem;font-family: monospace;cursor: pointer;
136
+ }.estimator-table details[open] {padding-left: 0.1rem;padding-right: 0.1rem;padding-bottom: 0.3rem;
137
+ }.estimator-table .parameters-table {margin-left: auto !important;margin-right: auto !important;
138
+ }.estimator-table .parameters-table tr:nth-child(odd) {background-color: #fff;
139
+ }.estimator-table .parameters-table tr:nth-child(even) {background-color: #f6f6f6;
140
+ }.estimator-table .parameters-table tr:hover {background-color: #e0e0e0;
141
+ }.estimator-table table td {border: 1px solid rgba(106, 105, 104, 0.232);
142
+ }.user-set td {color:rgb(255, 94, 0);text-align: left;
143
+ }.user-set td.value pre {color:rgb(255, 94, 0) !important;background-color: transparent !important;
144
+ }.default td {color: black;text-align: left;
145
+ }.user-set td i,
146
+ .default td i {color: black;
147
+ }.copy-paste-icon {background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTIwOCAwTDMzMi4xIDBjMTIuNyAwIDI0LjkgNS4xIDMzLjkgMTQuMWw2Ny45IDY3LjljOSA5IDE0LjEgMjEuMiAxNC4xIDMzLjlMNDQ4IDMzNmMwIDI2LjUtMjEuNSA0OC00OCA0OGwtMTkyIDBjLTI2LjUgMC00OC0yMS41LTQ4LTQ4bDAtMjg4YzAtMjYuNSAyMS41LTQ4IDQ4LTQ4ek00OCAxMjhsODAgMCAwIDY0LTY0IDAgMCAyNTYgMTkyIDAgMC0zMiA2NCAwIDAgNDhjMCAyNi41LTIxLjUgNDgtNDggNDhMNDggNTEyYy0yNi41IDAtNDgtMjEuNS00OC00OEwwIDE3NmMwLTI2LjUgMjEuNS00OCA0OC00OHoiLz48L3N2Zz4=);background-repeat: no-repeat;background-size: 14px 14px;background-position: 0;display: inline-block;width: 14px;height: 14px;cursor: pointer;
148
+ }
149
+ </style><body><div id="sk-container-id-4" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>GaussianNB()</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-4" type="checkbox" checked><label for="sk-estimator-id-4" class="sk-toggleable__label fitted sk-toggleable__label-arrow"><div><div>GaussianNB</div></div><div><a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.7/modules/generated/sklearn.naive_bayes.GaussianNB.html">?<span>Documentation for GaussianNB</span></a><span class="sk-estimator-doc-link fitted">i<span>Fitted</span></span></div></label><div class="sk-toggleable__content fitted" data-param-prefix=""><div class="estimator-table"><details><summary>Parameters</summary><table class="parameters-table"><tbody><tr class="default"><td><i class="copy-paste-icon"onclick="copyToClipboard('priors',this.parentElement.nextElementSibling)"></i></td><td class="param">priors&nbsp;</td><td class="value">None</td></tr><tr class="default"><td><i class="copy-paste-icon"onclick="copyToClipboard('var_smoothing',this.parentElement.nextElementSibling)"></i></td><td class="param">var_smoothing&nbsp;</td><td class="value">1e-09</td></tr></tbody></table></details></div></div></div></div></div></div><script>function copyToClipboard(text, element) {// Get the parameter prefix from the closest toggleable contentconst toggleableContent = element.closest('.sk-toggleable__content');const paramPrefix = toggleableContent ? toggleableContent.dataset.paramPrefix : '';const fullParamName = paramPrefix ? `${paramPrefix}${text}` : text;const originalStyle = element.style;const computedStyle = window.getComputedStyle(element);const originalWidth = computedStyle.width;const originalHTML = element.innerHTML.replace('Copied!', '');navigator.clipboard.writeText(fullParamName).then(() => {element.style.width = originalWidth;element.style.color = 'green';element.innerHTML = "Copied!";setTimeout(() => {element.innerHTML = originalHTML;element.style = originalStyle;}, 2000);}).catch(err => {console.error('Failed to copy:', err);element.style.color = 'red';element.innerHTML = "Failed!";setTimeout(() => {element.innerHTML = originalHTML;element.style = originalStyle;}, 2000);});return false;
150
+ }document.querySelectorAll('.fa-regular.fa-copy').forEach(function(element) {const toggleableContent = element.closest('.sk-toggleable__content');const paramPrefix = toggleableContent ? toggleableContent.dataset.paramPrefix : '';const paramName = element.parentElement.nextElementSibling.textContent.trim();const fullParamName = paramPrefix ? `${paramPrefix}${paramName}` : paramName;element.setAttribute('title', fullParamName);
151
+ });
152
+ </script></body>
153
+
154
+ ## Evaluation Results
155
+
156
+ [More Information Needed]
157
+
158
+ # How to Get Started with the Model
159
+
160
+ [More Information Needed]
161
+
162
+ # Model Card Authors
163
+
164
+ This model card is written by following authors:
165
+
166
+ [More Information Needed]
167
+
168
+ # Model Card Contact
169
+
170
+ You can contact the model card authors through following channels:
171
+ [More Information Needed]
172
+
173
+ # Citation
174
+
175
+ Below you can find information related to citation.
176
+
177
+ **BibTeX:**
178
+ ```
179
+ [More Information Needed]
180
+ ```
181
+
182
+ # Model Card Author
183
+
184
+ Jad Alsassa
185
+
186
+ # Intended Uses & Limitations
187
+
188
+ This model is for educational and demonstration purposes only. It is not validated for medical or clinical use.
189
+
190
+ # Model Description
191
+
192
+ This Gaussian Naive Bayes model predicts breast tumor malignancy using the Wisconsin Diagnostic Breast Cancer dataset. Features were standardized and PCA was applied for visualization but not during training.