{
  "_id": "6af4ea5bb90b31e79afd4b01",
  "Package": "mltools",
  "Type": "Package",
  "Title": "Machine Learning Tools",
  "Version": "0.3.5",
  "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": "6.0.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-11 22:15:00 UTC",
    "User": "root"
  },
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-11-11 03:03:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/mltools",
  "RemoteSha": "021bfbfa431b370e873cd227284f9304b3a28951",
  "RemoteSubdir": "mltools",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "mltools_0.3.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/5c3aa3e60c80e4e5d7bbe466bd713030830f8f8b4a136b877db570fdc9ea765d",
  "_filesize": 172861,
  "_sha256": "5c3aa3e60c80e4e5d7bbe466bd713030830f8f8b4a136b877db570fdc9ea765d",
  "_expires": "2027-02-19T22:21:13.000Z",
  "_created": "2026-11-11T22:15:00.000Z",
  "_published": "2026-11-11T22:21:15.221Z",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_status": "success",
  "_maintainer": {
    "name": "Ben Gorman",
    "email": "bgorman@gormanalysis.com"
  },
  "_jobs": [
    {
      "job": 130823971645,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13895029337"
    },
    {
      "job": 130823971635,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13895886969"
    },
    {
      "job": 130823971500,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13895248617"
    },
    {
      "job": 130823971611,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13896566057"
    },
    {
      "job": 130822516866,
      "time": 172,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13895682487"
    },
    {
      "job": 130823971448,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13896186273"
    },
    {
      "job": 130823971625,
      "time": 211,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13895658240"
    },
    {
      "job": 130823971545,
      "time": 179,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13895448078"
    },
    {
      "job": 130823971644,
      "time": 188,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13895767734"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737",
  "_commit": {
    "id": "021bfbfa431b370e873cd227284f9304b3a28951",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add mltools to CRANhaven, because archived on 2026-11-11 03:03:00 +0000\n",
    "time": 1794366180
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "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": "cranhaven",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 1105,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mltools"
  },
  "_mentions": 5,
  "_devurl": "https://github.com/ben519/mltools",
  "_searchresults": 1688,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mltools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ben519/mltools",
  "_realowner": "ben519",
  "_cranurl": false,
  "_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": "alien.test",
      "title": "Alien test dataset",
      "object": "alien_test",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "SkinColor",
        "IQScore",
        "Cat1",
        "Cat2",
        "Cat3"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "alien.train",
      "title": "Alien training dataset",
      "object": "alien_train",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "SkinColor",
        "IQScore",
        "Cat1",
        "Cat2",
        "Cat3",
        "IsAlien"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "alien.test",
      "title": "Alien test dataset",
      "topics": [
        "alien.test"
      ]
    },
    {
      "page": "alien.train",
      "title": "Alien training dataset",
      "topics": [
        "alien.train"
      ]
    },
    {
      "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/cranhaven/cranhaven.r-universe.dev/raw/package/mltools/mltools/README.md",
  "_rundeps": [
    "data.table",
    "lattice",
    "Matrix"
  ],
  "_score": 6.446825979366448,
  "_indexed": false,
  "_nocasepkg": "mltools",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://ben519.r-universe.dev/mltools",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-11-11T22:17:14.000Z",
      "distro": "resolute",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/5f3f5e700e4a8e934653c5847dd6f2467954c05a86781216e1c592497c3a0a93",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.5",
      "date": "2026-11-11T22:16:57.000Z",
      "distro": "resolute",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/d265766727a84e51a38f13f291a23414b77396c0960fafb3e7a7b952e365566a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-11-11T22:18:46.000Z",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/27792cd5e794fa18764975cbcecf7e7c1bb9762c2a03a4dc70683e3daab1f258",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.5",
      "date": "2026-11-11T22:20:23.000Z",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/9ed9f5dabe578bdc6d60dafcee7df32375427213c0af0dc2ce5e778ba998cc09",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5",
      "date": "2026-11-11T22:16:46.000Z",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/4062d629fa95a6ab2207fa1860c992b98a6b9760d9d9d61cff018491e35deddc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-11-11T22:17:36.000Z",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/142413029857b3ca45cd4cfca29562681d13ff410e62c9f86fa316f24407b527",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-11-11T22:17:04.000Z",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/3d918be35d44f43ca289f3217645aa5f8f052653986d8d2fbd98079c0ecfe588",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.5",
      "date": "2026-11-11T22:17:19.000Z",
      "commit": "021bfbfa431b370e873cd227284f9304b3a28951",
      "fileid": "https://r2.ropensci.org/a937bd8dacad9a02da0af764778605ade7cfde59f5f37e26d7b88222e6b8557c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43109769737"
    }
  ]
}