{
  "_id": "6ac21ba2773a0037682c222d",
  "Package": "DSAM",
  "Title": "Data Splitting Algorithms for Model Developments",
  "Version": "1.0.2",
  "Authors@R": "c(person(\ngiven=\"Feifei\",\nfamily=\"Zheng\",\nemail=\"feifeizheng@zju.edu.cn\",\nrole=c(\"aut\", \"ths\")),\nperson(\ngiven=\"Junyi\",\nfamily=\"Chen\",\nemail=\"jun1chen@zju.edu.cn\",\nrole=c(\"aut\", \"cre\"),\ncomment=c(ORCID = \"0009-0001-1978-6475\"))\n)",
  "Description": "Providing six different algorithms that can be used to\nsplit the available data into training, test and validation\nsubsets with similar distribution for hydrological model\ndevelopments. The dataSplit() function will help you divide the\ndata according to specific requirements, and you can refer to\nthe par.default() function to set the parameters for data\nsplitting. The getAUC() function will help you measure the\nsimilarity of distribution features between the data subsets.\nFor more information about the data splitting algorithms,\nplease refer to: Chen et al. (2022)\n<doi:10.1016/j.jhydrol.2022.128340>, Zheng et al. (2022)\n<doi:10.1029/2021WR031818>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/lark-max/DSAM",
  "BugReports": "https://github.com/lark-max/DSAM/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-04 09:21:51 UTC",
    "User": "root"
  },
  "Author": "Feifei Zheng [aut, ths], Junyi Chen [aut, cre]\n(<https://orcid.org/0009-0001-1978-6475>)",
  "Maintainer": "Junyi Chen <jun1chen@zju.edu.cn>",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://lark-max.r-universe.dev",
  "Date/Publication": "2025-01-19 13:26:54 UTC",
  "RemoteUrl": "https://github.com/lark-max/dsam",
  "RemoteRef": "HEAD",
  "RemoteSha": "579637540c202a406b1712c7d7e7fc643c2d2d75",
  "_user": "lark-max",
  "_type": "src",
  "_file": "DSAM_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/359a5b3cd1ff69d31ed1805e0dfc719591bfe0399a829858860650bc157393e3",
  "_filesize": 172627,
  "_sha256": "359a5b3cd1ff69d31ed1805e0dfc719591bfe0399a829858860650bc157393e3",
  "_expires": "2027-01-12T09:25:52.000Z",
  "_created": "2026-10-04T09:21:51.000Z",
  "_published": "2026-10-04T09:25:54.474Z",
  "_jobs": [
    {
      "job": 111405785569,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11298614845"
    },
    {
      "job": 111405785564,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11299755102"
    },
    {
      "job": 111405785542,
      "time": 189,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11299635855"
    },
    {
      "job": 111405785576,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11298974003"
    },
    {
      "job": 111405292871,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11298843955"
    },
    {
      "job": 111405785527,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11298604814"
    },
    {
      "job": 111405785589,
      "time": 115,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11299606356"
    },
    {
      "job": 111405785601,
      "time": 117,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11298614777"
    },
    {
      "job": 111405785570,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11298704468"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449",
  "_status": "success",
  "_upstream": "https://github.com/lark-max/dsam",
  "_commit": {
    "id": "579637540c202a406b1712c7d7e7fc643c2d2d75",
    "author": "JunyiChen <80371592+lark-max@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1737293214
  },
  "_maintainer": {
    "name": "Junyi Chen",
    "email": "jun1chen@zju.edu.cn",
    "orcid": "0009-0001-1978-6475"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "kohonen",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "xgboost",
      "role": "Imports"
    }
  ],
  "_owner": "lark-max",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "lark-max",
      "count": 4,
      "uuid": 80371592
    }
  ],
  "_userbio": {
    "uuid": 80371592,
    "type": "user",
    "name": "JunyiChen",
    "followers": 2
  },
  "_downloads": {
    "count": 327,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DSAM"
  },
  "_devurl": "https://github.com/lark-max/dsam",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DSAM.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/lark-max/dsam",
  "_realowner": "lark-max",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-08-16"
    },
    {
      "version": "1.0.1",
      "date": "2023-08-19"
    },
    {
      "version": "1.0.2",
      "date": "2024-01-29"
    }
  ],
  "_exports": [
    "dataSplit",
    "getAUC",
    "getMax",
    "getMean",
    "getMin"
  ],
  "_datasets": [
    {
      "name": "DSAM_test_largeData",
      "title": "large test dataset",
      "object": "DSAM_test_largeData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Idex",
        "I",
        "I.1",
        "I.2",
        "O"
      ],
      "rows": 3650,
      "table": true,
      "tojson": true
    },
    {
      "name": "DSAM_test_modData",
      "title": "Moderate test dataset",
      "object": "DSAM_test_modData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Idex",
        "I",
        "I.1",
        "I.2",
        "O"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "DSAM_test_smallData",
      "title": "Small test dataset",
      "object": "DSAM_test_smallData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Idex",
        "I",
        "I.1",
        "I.2",
        "O"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "checkFull",
      "title": "Check whether the sample set is full",
      "topics": [
        "checkFull"
      ]
    },
    {
      "page": "dataSplit",
      "title": "Main function of data splitting algorithm",
      "topics": [
        "dataSplit"
      ]
    },
    {
      "page": "DP.initialSample",
      "title": "Initial sampling of DUPLEX",
      "topics": [
        "DP.initialSample"
      ]
    },
    {
      "page": "DP.reSample",
      "title": "Repeat sampling of DUPLEX",
      "topics": [
        "DP.reSample"
      ]
    },
    {
      "page": "DSAM_test_largeData",
      "title": "large test dataset",
      "topics": [
        "DSAM_test_largeData"
      ]
    },
    {
      "page": "DSAM_test_modData",
      "title": "Moderate test dataset",
      "topics": [
        "DSAM_test_modData"
      ]
    },
    {
      "page": "DSAM_test_smallData",
      "title": "Small test dataset",
      "topics": [
        "DSAM_test_smallData"
      ]
    },
    {
      "page": "DUPLEX",
      "title": "'DSAM' - DUPLEX algorithm",
      "topics": [
        "DUPLEX"
      ]
    },
    {
      "page": "getAUC",
      "title": "Get the AUC value between two datasets",
      "topics": [
        "getAUC"
      ]
    },
    {
      "page": "getMax",
      "title": "Get the maximum of the output column from the original data set",
      "topics": [
        "getMax"
      ]
    },
    {
      "page": "getMean",
      "title": "Get the mean and standard deviation of the output column from the original data set",
      "topics": [
        "getMean"
      ]
    },
    {
      "page": "getMin",
      "title": "Get the minimum of the output column from the original data set",
      "topics": [
        "getMin"
      ]
    },
    {
      "page": "getSnen",
      "title": "Get sampling number of each SOM neuron",
      "topics": [
        "getSnen"
      ]
    },
    {
      "page": "MDUPLEX",
      "title": "'DSAM' - MDUPLEX algorithm",
      "topics": [
        "MDUPLEX"
      ]
    },
    {
      "page": "par.default",
      "title": "Default parameter list",
      "topics": [
        "par.default"
      ]
    },
    {
      "page": "remainUnsample",
      "title": "Get the remain unsampled data after 'SSsample'",
      "topics": [
        "remainUnsample"
      ]
    },
    {
      "page": "SBSS.P",
      "title": "'DSAM' - SBSS.P algorithm",
      "topics": [
        "SBSS.P"
      ]
    },
    {
      "page": "selectData",
      "title": "Select specific split data",
      "topics": [
        "selectData"
      ]
    },
    {
      "page": "somCluster",
      "title": "Self-organized map clustering",
      "topics": [
        "somCluster"
      ]
    },
    {
      "page": "SOMPLEX",
      "title": "'DSAM' - SOMPLEX algorithm",
      "topics": [
        "SOMPLEX"
      ]
    },
    {
      "page": "SS",
      "title": "'DSAM' - SS algorithm",
      "topics": [
        "SS"
      ]
    },
    {
      "page": "SSsample",
      "title": "Core function of SS sampling",
      "topics": [
        "SSsample"
      ]
    },
    {
      "page": "standardise",
      "title": "Standardized data",
      "topics": [
        "standardise"
      ]
    },
    {
      "page": "timeCon",
      "title": "'DSAM' - Time-consecutive algorithm",
      "topics": [
        "TIMECON"
      ]
    }
  ],
  "_readme": "https://github.com/lark-max/dsam/raw/HEAD/README.md",
  "_rundeps": [
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "jsonlite",
    "KernSmooth",
    "kohonen",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xgboost"
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "dsam",
  "_universes": [
    "lark-max"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-04T09:24:02.000Z",
      "distro": "resolute",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/667ed6379db1c46c994def1dd167034492d2e187e90c0789798f68996717791f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-04T09:24:01.000Z",
      "distro": "resolute",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/543f40a4244491f62f1b1b01efc83788deb552259f2584aab76dd63fde2afe4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-04T09:24:32.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/b1fff8bc091562ae600609ac9d2b167aec4125d2f51e819f22e2d248ef9b562b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-04T09:23:43.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/47168e4b985e8767427321f0a0523ced908720d8b41121179ab2af0faddf5c4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-10-04T09:23:53.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/c7acba06964a3601eaff1aae09c55d2a721d44f69efdf58a2ac2178d3c6c88ad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-04T09:23:06.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/9c2e6ea4fd01a651cb7985985976645fbd8a985ceeae5353e02da77aa336f628",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-04T09:23:12.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/1e104220e8dda0b91a43b8699ec7204f9618d4b1cdd3b78ab3a1e74f9447e443",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-04T09:23:08.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "https://r2.ropensci.org/5502fe32f14cb3e2fceb6e9cbd9d91f052e507ba87f9e702e881c8a0819cdafe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/37191755449"
    }
  ]
}