{
  "_id": "6a23ebd9a1338011a79ec5bc",
  "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-06-06 09:39:34 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",
  "MD5sum": "1a2838d4e0888fd06e4d430cac991dec",
  "_user": "lark-max",
  "_type": "src",
  "_file": "DSAM_1.0.2.tar.gz",
  "_fileid": "4051d38246c0784178ed9de1d805ccc34116844edbf3b3054d2fd8d5b5752221",
  "_filesize": 167435,
  "_sha256": "4051d38246c0784178ed9de1d805ccc34116844edbf3b3054d2fd8d5b5752221",
  "_created": "2026-06-06T09:39:34.000Z",
  "_published": "2026-06-06T09:43:53.617Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79868133787,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453338222"
    },
    {
      "job": 79868133789,
      "time": 173,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453337655"
    },
    {
      "job": 79868133777,
      "time": 186,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453334763"
    },
    {
      "job": 79868133779,
      "time": 226,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453339700"
    },
    {
      "job": 79867982332,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453318135"
    },
    {
      "job": 79868133776,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453331686"
    },
    {
      "job": 79868133799,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453331404"
    },
    {
      "job": 79868133784,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453333964"
    },
    {
      "job": 79868133801,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453331789"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 166,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DSAM"
  },
  "_devurl": "https://github.com/lark-max/dsam",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DSAM.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-06-06T09:41:58.000Z",
      "distro": "noble",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "ec95eb78610d7f099a2cc254ed18599f1708aa8399e30e6407b4ac30f316466a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-06T09:42:00.000Z",
      "distro": "noble",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "7a5f2a043740700075c8dc4a7020fa1591860eeffb4ad9657b89a105413b5a2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-06-06T09:41:48.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "58c6c84c378996d7e20fd9720f11d9939bcf08ee5c22baaa7e2326e2e2e8f791",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-06-06T09:42:18.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "4177f72af11a7eed96fc40f43a1488bcaf353262ab2846363e3a6af61fbbf439",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-06-06T09:41:53.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "48b73fc600d2427bc55ec923fb5f5de57d8ed8903725682a9ab8d91665a1e2a7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-06-06T09:40:52.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "e24a799be2e5c16b14c9b3044d10513e648992e7e6186bd56dc4177f9df65814",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-06-06T09:41:04.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "7a295d6dbf6725263ef4756612699d3c519d8c3c9f2c4622fa78e34778f87b89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-06-06T09:40:51.000Z",
      "commit": "579637540c202a406b1712c7d7e7fc643c2d2d75",
      "fileid": "aa8ead0dc42a2cf57921f791904d04feba2f9162ec23105e9ca1fa7da66b247d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lark-max/actions/runs/27058828774"
    }
  ]
}