{
  "_id": "6a49d8d82c82cd3614823273",
  "Package": "mltools",
  "Type": "Package",
  "Title": "Machine Learning Tools",
  "Version": "0.3.6",
  "Author": "Ben Gorman",
  "Maintainer": "Ben Gorman <bgorman@GormAnalysis.com>",
  "Description": "A collection of machine learning helper functions,\nparticularly assisting in the Exploratory Data Analysis phase.\nMakes heavy use of the 'data.table' package for optimal speed\nand memory efficiency. Highlights include a versatile\nbin_data() function, sparsify() for converting a data.table to\nsparse matrix format with one-hot encoding, fast evaluation\nmetrics, and empirical_cdf() for calculating empirical\nMultivariate Cumulative Distribution Functions.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/ben519/mltools",
  "BugReports": "https://github.com/ben519/mltools/issues",
  "LazyData": "TRUE",
  "RoxygenNote": "7.1.2",
  "Encoding": "UTF-8",
  "Repository": "https://ben519.r-universe.dev",
  "Date/Publication": "2021-09-20 15:54:08 UTC",
  "RemoteUrl": "https://github.com/ben519/mltools",
  "RemoteRef": "HEAD",
  "RemoteSha": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-15 08:28:53 UTC",
    "User": "root"
  },
  "_user": "ben519",
  "_type": "src",
  "_file": "mltools_0.3.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/80a2fb7034ea619509194d90979214a6eda8d2fa23d20ce6f91fa24170ae4ed5",
  "_filesize": 182837,
  "_sha256": "80a2fb7034ea619509194d90979214a6eda8d2fa23d20ce6f91fa24170ae4ed5",
  "_expires": "2026-10-13T04:08:55.000Z",
  "_created": "2026-06-15T08:28:53.000Z",
  "_published": "2026-07-05T04:08:56.631Z",
  "_jobs": [
    {
      "job": 85191497098,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7632829801"
    },
    {
      "job": 85191497095,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7632827789"
    },
    {
      "job": 85191497054,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7632832704"
    },
    {
      "job": 85191497162,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7632832649"
    },
    {
      "job": 85191496954,
      "time": 146,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7632779451"
    },
    {
      "job": 85191497062,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7632816358"
    },
    {
      "job": 85191496989,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7632814738"
    },
    {
      "job": 85191497045,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7632815316"
    },
    {
      "job": 85191497122,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7632809984"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741",
  "_status": "success",
  "_upstream": "https://github.com/ben519/mltools",
  "_commit": {
    "id": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
    "author": "Ben <bgorman519@gmail.com>",
    "committer": "Ben <bgorman519@gmail.com>",
    "message": "fixed spelling errors\n",
    "time": 1632153248
  },
  "_maintainer": {
    "name": "Ben Gorman",
    "email": "bgorman@gormanalysis.com"
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "version": ">= 1.9.7",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "ben519",
  "_selfowned": true,
  "_usedby": 9,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "exploratory-data-analysis",
    "machine-learning"
  ],
  "_stars": 74,
  "_contributors": [
    {
      "user": "ben519",
      "count": 176,
      "uuid": 723099
    },
    {
      "user": "michaelchirico",
      "count": 2,
      "uuid": 7606389
    },
    {
      "user": "shuckle16",
      "count": 1,
      "uuid": 5322820
    }
  ],
  "_userbio": {
    "uuid": 723099,
    "type": "user",
    "name": "Ben Gorman",
    "followers": 253,
    "description": "Data Scientist · GormAnalysis · RehabAlpha · PracticeProbs"
  },
  "_downloads": {
    "count": 1734,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mltools"
  },
  "_mentions": 5,
  "_devurl": "https://github.com/ben519/mltools",
  "_searchresults": 1948,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mltools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ben519/mltools",
  "_realowner": "ben519",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2016-11-27"
    },
    {
      "version": "0.2.0",
      "date": "2017-01-03"
    },
    {
      "version": "0.3.0",
      "date": "2017-06-28"
    },
    {
      "version": "0.3.1",
      "date": "2017-07-11"
    },
    {
      "version": "0.3.2",
      "date": "2017-08-28"
    },
    {
      "version": "0.3.3",
      "date": "2017-09-12"
    },
    {
      "version": "0.3.4",
      "date": "2017-12-05"
    },
    {
      "version": "0.3.5",
      "date": "2018-05-12"
    }
  ],
  "_exports": [
    "auc_roc",
    "bin_data",
    "date_factor",
    "empirical_cdf",
    "explore_dataset",
    "exponential_weight",
    "folds",
    "geometric_weight",
    "gini_impurities",
    "gini_impurity",
    "mcc",
    "mse",
    "msle",
    "one_hot",
    "relative_position",
    "replace_na",
    "rmse",
    "rmsle",
    "roc_scores",
    "set_factor",
    "skewness",
    "sparsify"
  ],
  "_datasets": [
    {
      "name": "alientest",
      "title": "Alien test dataset",
      "object": "alientest",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "SkinColor",
        "IQScore",
        "Cat1",
        "Cat2",
        "Cat3"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "alientrain",
      "title": "Alien training dataset",
      "object": "alientrain",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "SkinColor",
        "IQScore",
        "Cat1",
        "Cat2",
        "Cat3",
        "IsAlien"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "alientest",
      "title": "Alien test dataset",
      "topics": [
        "alientest"
      ]
    },
    {
      "page": "alientrain",
      "title": "Alien training dataset",
      "topics": [
        "alientrain"
      ]
    },
    {
      "page": "auc_roc",
      "title": "Area Under the ROC Curve",
      "topics": [
        "auc_roc"
      ]
    },
    {
      "page": "bin_data",
      "title": "Map a vector of numeric values into bins",
      "topics": [
        "bin_data"
      ]
    },
    {
      "page": "date_factor",
      "title": "Date Factor",
      "topics": [
        "date_factor"
      ]
    },
    {
      "page": "empirical_cdf",
      "title": "Empirical Cumulative Distribution Function",
      "topics": [
        "empirical_cdf"
      ]
    },
    {
      "page": "explore_dataset",
      "title": "Explore Dataset",
      "topics": [
        "explore_dataset"
      ]
    },
    {
      "page": "exponential_weight",
      "title": "Exponential Weight",
      "topics": [
        "exponential_weight"
      ]
    },
    {
      "page": "folds",
      "title": "Cross Validation Folds",
      "topics": [
        "folds"
      ]
    },
    {
      "page": "geometric_weight",
      "title": "Geometric Weight",
      "topics": [
        "geometric_weight"
      ]
    },
    {
      "page": "gini_impurities",
      "title": "Gini Impurities",
      "topics": [
        "gini_impurities"
      ]
    },
    {
      "page": "gini_impurity",
      "title": "Gini Impurity",
      "topics": [
        "gini_impurity"
      ]
    },
    {
      "page": "mcc",
      "title": "Matthews correlation coefficient",
      "topics": [
        "mcc"
      ]
    },
    {
      "page": "mse",
      "title": "Mean Square Error",
      "topics": [
        "mse"
      ]
    },
    {
      "page": "msle",
      "title": "Mean Square Logarithmic Error",
      "topics": [
        "msle"
      ]
    },
    {
      "page": "one_hot",
      "title": "One Hot Encode",
      "topics": [
        "one_hot"
      ]
    },
    {
      "page": "relative_position",
      "title": "Relative Position",
      "topics": [
        "relative_position"
      ]
    },
    {
      "page": "replace_na",
      "title": "Replace NA Values",
      "topics": [
        "replace_na"
      ]
    },
    {
      "page": "rmse",
      "title": "Root Mean Square Error",
      "topics": [
        "rmse"
      ]
    },
    {
      "page": "rmsle",
      "title": "Root Mean Square Logarithmic Error",
      "topics": [
        "rmsle"
      ]
    },
    {
      "page": "roc_scores",
      "title": "ROC scores",
      "topics": [
        "roc_scores"
      ]
    },
    {
      "page": "set_factor",
      "title": "Set Factor",
      "topics": [
        "set_factor"
      ]
    },
    {
      "page": "skewness",
      "title": "Skewness",
      "topics": [
        "skewness"
      ]
    },
    {
      "page": "sparsify",
      "title": "Sparsify",
      "topics": [
        "sparsify"
      ]
    }
  ],
  "_readme": "https://github.com/ben519/mltools/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "lattice",
    "Matrix"
  ],
  "_score": 9.528203533908771,
  "_indexed": true,
  "_nocasepkg": "mltools",
  "_universes": [
    "ben519"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.6",
      "date": "2026-06-15T08:30:56.000Z",
      "distro": "noble",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/a075f0410a60c5bea8ba038d39879b0ce37cb420fd4ff824fb962e81e57c61bf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.6",
      "date": "2026-06-15T08:30:51.000Z",
      "distro": "noble",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/f59733aead2220f87185100f2ea64015c55d2273dd27e30c22522780c0502bc3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.6",
      "date": "2026-06-15T08:31:14.000Z",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/9d3c75f777e2cbfe8512c83aa478e2010762dd04a201c458c7bb040f64ddb536",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.6",
      "date": "2026-06-15T08:31:11.000Z",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/31061ecd02dc0c91f4c5ffd742cf6f07126f10c2c5328a11d93d46b4cca8e3eb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.6",
      "date": "2026-06-15T08:30:49.000Z",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/afb53452bb188d49cd6afec59e38a6130ce97fac0e5a3e74d48f147dc3f79629",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.6",
      "date": "2026-06-15T08:30:09.000Z",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/d7c414b07182550fd354a90aa7f023b6004e5ef0afe9ced7c59e66c0a9f23ae5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.6",
      "date": "2026-06-15T08:30:13.000Z",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/350e4dd99dc2faeea7b8b8bda3c9d747cf54bbee44d7284e8578081d20df4eb8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.6",
      "date": "2026-06-15T08:30:00.000Z",
      "commit": "22d9c397aad1e7bc9d01366d4bcc76f39ae0d579",
      "fileid": "https://r2.ropensci.org/351b212595dbb2010067220184d07a146ecaf84f3fa31b6de05a0a6e471c8df2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ben519/actions/runs/27533662741"
    }
  ]
}