{
  "name": "Naive Bayes workflow settings and output checks",
  "description": "Original cross-document compilation of the loader, split, GaussianNB and reporting API semantics used in the Iris walkthrough. Reproduction checks are editorial applications of the cited API definitions; example choices are not universal recommendations.",
  "page": "https://casrai.org/guides/scikit-learn-naive-bayes",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-26T08:30:00Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Object or setting",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented meaning",
      "unit": "",
      "description": ""
    },
    {
      "name": "Walkthrough reproduction check",
      "unit": "",
      "description": ""
    },
    {
      "name": "Source",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Object or setting": "load_iris().feature_names",
      "Documented meaning": "Names of the dataset feature columns",
      "Walkthrough reproduction check": "Keep the loaded feature identity with the matrix",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_iris.html"
    },
    {
      "Object or setting": "train_test_split: test_size",
      "Documented meaning": "A float specifies the proportion assigned to testing",
      "Walkthrough reproduction check": "Record the example choice 0.30",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html"
    },
    {
      "Object or setting": "train_test_split: random_state",
      "Documented meaning": "An integer provides reproducible splits across calls",
      "Walkthrough reproduction check": "Record the example choice 42",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html"
    },
    {
      "Object or setting": "GaussianNB: priors",
      "Documented meaning": "Explicit priors are not adjusted according to the data",
      "Walkthrough reproduction check": "Record None in this example",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.GaussianNB.html"
    },
    {
      "Object or setting": "GaussianNB: var_smoothing",
      "Documented meaning": "Portion of the largest feature variance added for stability",
      "Walkthrough reproduction check": "Record 1e-9 in this example",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.GaussianNB.html"
    },
    {
      "Object or setting": "GaussianNB: predict_proba",
      "Documented meaning": "Probability columns follow classes_",
      "Walkthrough reproduction check": "Keep class names aligned with the printed columns",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.GaussianNB.html"
    },
    {
      "Object or setting": "classification_report: target_names",
      "Documented meaning": "Display names must follow the labels order",
      "Walkthrough reproduction check": "Index target_names with model.classes_",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.metrics.classification_report.html"
    },
    {
      "Object or setting": "classification_report: zero_division",
      "Documented meaning": "Controls the returned value for undefined divisions",
      "Walkthrough reproduction check": "Record the example choice 0",
      "Source": "https://scikit-learn.org/stable/modules/generated/sklearn.metrics.classification_report.html"
    }
  ],
  "sources": [
    {
      "title": "loader API reference, scikit-learn",
      "url": "https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_iris.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "split API reference, scikit-learn",
      "url": "https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "model API reference, scikit-learn",
      "url": "https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.GaussianNB.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "report API reference, scikit-learn",
      "url": "https://scikit-learn.org/stable/modules/generated/sklearn.metrics.classification_report.html",
      "accessed": "2026-11-14"
    }
  ]
}