{
  "_id": "6a1eb59fb25058d4daaddd63",
  "Package": "shattering",
  "Title": "Estimate the Shattering Coefficient for a Particular Dataset",
  "Version": "1.0.7",
  "Authors@R": "person(given = \"Rodrigo\",\nfamily = \"F. de Mello\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mellorf@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0435-3992\"))",
  "Description": "The Statistical Learning Theory (SLT) provides the\ntheoretical background to ensure that a supervised algorithm\ngeneralizes the mapping f:X -> Y given f is selected from its\nsearch space bias F. This formal result depends on the\nShattering coefficient function N(F,2n) to upper bound the\nempirical risk minimization principle, from which one can\nestimate the necessary training sample size to ensure the\nprobabilistic learning convergence and, most importantly, the\ncharacterization of the capacity of F, including its under and\noverfitting abilities while addressing specific target\nproblems. In this context, we propose a new approach to\nestimate the maximal number of hyperplanes required to shatter\na given sample, i.e., to separate every pair of points from one\nanother, based on the recent contributions by Har-Peled and\nJones in the dataset partitioning scenario, and use such\nfoundation to analytically compute the Shattering coefficient\nfunction for both binary and multi-class problems. As main\ncontributions, one can use our approach to study the complexity\nof the search space bias F, estimate training sample sizes, and\nparametrize the number of hyperplanes a learning algorithm\nneeds to address some supervised task, what is specially\nappealing to deep neural networks. Reference: de Mello, R.F.\n(2019) \"On the Shattering Coefficient of Supervised Learning\nAlgorithms\" <arXiv:1911.05461>; de Mello, R.F., Ponti, M.A.\n(2018, ISBN: 978-3319949888) \"Machine Learning: A Practical\nApproach on the Statistical Learning Theory\".",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.1.9001",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:38:29 UTC",
    "User": "root"
  },
  "Author": "Rodrigo F. de Mello [aut, cre]\n(<https://orcid.org/0000-0002-0435-3992>)",
  "Maintainer": "Rodrigo F. de Mello <mellorf@gmail.com>",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://mellorf.r-universe.dev",
  "Date/Publication": "2021-08-21 12:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/shattering",
  "RemoteRef": "HEAD",
  "RemoteSha": "0ba348d25ac129d4884fe4696f506b55195bbadd",
  "MD5sum": "85acdbd2b41fb25d9e1c85128ad4473c",
  "_user": "mellorf",
  "_type": "src",
  "_file": "shattering_1.0.7.tar.gz",
  "_fileid": "a4e36bc5f6cea675953a31235149804219775c54c63059aa95356f604ab9c0ac",
  "_filesize": 129670,
  "_sha256": "a4e36bc5f6cea675953a31235149804219775c54c63059aa95356f604ab9c0ac",
  "_created": "2026-06-02T10:38:29.000Z",
  "_published": "2026-06-02T10:51:11.972Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79052353601,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355471664"
    },
    {
      "job": 79052353573,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355478980"
    },
    {
      "job": 79052353694,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355658452"
    },
    {
      "job": 79052353631,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355616004"
    },
    {
      "job": 79051767170,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355425265"
    },
    {
      "job": 79052353537,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355477810"
    },
    {
      "job": 79052353579,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355452426"
    },
    {
      "job": 79052353566,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355458987"
    },
    {
      "job": 79052353558,
      "time": 70,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355451277"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/shattering",
  "_commit": {
    "id": "0ba348d25ac129d4884fe4696f506b55195bbadd",
    "author": "Rodrigo F. de Mello <mellorf@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.7\n",
    "time": 1629550202
  },
  "_maintainer": {
    "name": "Rodrigo F. de Mello",
    "email": "mellorf@gmail.com",
    "login": "mellorf",
    "description": "",
    "uuid": 791656,
    "orcid": "0000-0002-0435-3992"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "FNN",
      "role": "Imports"
    },
    {
      "package": "pdist",
      "role": "Imports"
    },
    {
      "package": "slam",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "Ryacas",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "e1071",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "NMF",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "mellorf",
      "count": 3,
      "uuid": 791656
    }
  ],
  "_userbio": {
    "uuid": 791656,
    "type": "user",
    "name": "Rodrigo Mello"
  },
  "_downloads": {
    "count": 184,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shattering"
  },
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/shattering.html",
    "manual.pdf"
  ],
  "_realowner": "mellorf",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2020-09-25"
    },
    {
      "version": "1.0.1",
      "date": "2020-10-01"
    },
    {
      "version": "1.0.2",
      "date": "2020-10-10"
    },
    {
      "version": "1.0.3",
      "date": "2020-10-17"
    },
    {
      "version": "1.0.4",
      "date": "2020-10-29"
    },
    {
      "version": "1.0.5",
      "date": "2021-05-28"
    },
    {
      "version": "1.0.6",
      "date": "2021-06-03"
    },
    {
      "version": "1.0.7",
      "date": "2021-08-21"
    }
  ],
  "_exports": [
    "apply_classifier",
    "build_classifier",
    "complexity_analysis",
    "compress_space",
    "equivalence_relation",
    "estimate_number_hyperplanes",
    "number_regions"
  ],
  "_help": [
    {
      "page": "apply_classifier",
      "title": "Apply a classifier induced with function build_classifier",
      "topics": [
        "apply_classifier"
      ]
    },
    {
      "page": "build_classifier",
      "title": "Produce a set of SVM classifiers",
      "topics": [
        "build_classifier"
      ]
    },
    {
      "page": "complexity_analysis",
      "title": "Produce a PDF report analyzing the lower and upper shattering coefficient functions",
      "topics": [
        "complexity_analysis"
      ]
    },
    {
      "page": "compress_space",
      "title": "Function to compress the space based on the equivalence relations.",
      "topics": [
        "compress_space"
      ]
    },
    {
      "page": "equivalence_relation",
      "title": "Function to compute equivalence relations among input space points.",
      "topics": [
        "equivalence_relation"
      ]
    },
    {
      "page": "estimate_number_hyperplanes",
      "title": "Function to estimate the number of hyperplanes required to classify such a data sample.",
      "topics": [
        "estimate_number_hyperplanes"
      ]
    },
    {
      "page": "number_regions",
      "title": "Computes the maximal number of space regions",
      "topics": [
        "number_regions"
      ]
    },
    {
      "page": "shattering",
      "title": "shattering: A package to estimate the shattering coefficient for labeled data samples.",
      "topics": [
        "shattering"
      ]
    }
  ],
  "_rundeps": [
    "base64enc",
    "Biobase",
    "BiocGenerics",
    "BiocManager",
    "bslib",
    "cachem",
    "class",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "digest",
    "doParallel",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "FNN",
    "fontawesome",
    "foreach",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridBase",
    "gtable",
    "highr",
    "htmltools",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "NMF",
    "pdist",
    "plyr",
    "pracma",
    "proxy",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "registry",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rngtools",
    "Ryacas",
    "S7",
    "sass",
    "scales",
    "slam",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "shattering",
  "_universes": [
    "mellorf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.7",
      "date": "2026-06-02T10:40:47.000Z",
      "distro": "noble",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "fcc0795953e8de81e3dda9041345d66d8f25a59e5ecfb674358d728e864d8a6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.7",
      "date": "2026-06-02T10:41:06.000Z",
      "distro": "noble",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "7d4eda022059f6133985035663bcbf05d36c38ba703b3420b9a933b36fac18a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.7",
      "date": "2026-06-02T10:50:10.000Z",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "63bd32aa0043233e6e8979f3a7be490bbb03b737b636da02faf66d8d96397390",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.7",
      "date": "2026-06-02T10:47:57.000Z",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "5e5bbd762dc365144459d744b4d7578cca977df25f28a99d4f3d9c1cdcabff19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.7",
      "date": "2026-06-02T10:41:15.000Z",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "4bef8c6c136db7144432281d807d7b47261381dc7f8e6418d1f0baaa44a54877",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.7",
      "date": "2026-06-02T10:39:47.000Z",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "21f6c915cceb2f8e0a3227ae78a9cc2ffd47b27a4528f9748bd0f3d05bde1e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.7",
      "date": "2026-06-02T10:40:04.000Z",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "6a861ebefd285c46e7d0da89224d915a73705cf48e63435b694727a1a350b352",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.7",
      "date": "2026-06-02T10:39:41.000Z",
      "commit": "0ba348d25ac129d4884fe4696f506b55195bbadd",
      "fileid": "7c7edef8e8cce5ef4d37232b7f92e9f35db53f8c363ad1be3b2f70c8435457cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mellorf/actions/runs/26814206412"
    }
  ]
}