{
  "_id": "6a1eb55ab25058d4daadda67",
  "Type": "Package",
  "Package": "mildsvm",
  "Title": "Multiple-Instance Learning with Support Vector Machines",
  "Version": "0.4.1.9000",
  "Authors@R": "c(\nperson(\"Sean\", \"Kent\", , \"skent259@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8697-9069\")),\nperson(\"Yifei\", \"Liou\", role = \"aut\")\n)",
  "Description": "Weakly supervised (WS), multiple instance (MI) data lives\nin numerous interesting applications such as drug discovery,\nobject detection, and tumor prediction on whole slide images.\nThe 'mildsvm' package provides an easy way to learn from this\ndata by training Support Vector Machine (SVM)-based\nclassifiers. It also contains helpful functions for building\nand printing multiple instance data frames. The core methods\nfrom 'mildsvm' come from the following references: Kent and Yu\n(2024) <doi:10.1214/24-AOAS1876>; Xiao, Liu, and Hao (2018)\n<doi:10.1109/TNNLS.2017.2766164>; Muandet et al. (2012)\n<https://proceedings.neurips.cc/paper/2012/file/9bf31c7ff062936a96d3c8bd1f8f2ff3-Paper.pdf>;\nChu and Keerthi (2007) <doi:10.1162/neco.2007.19.3.792>; and\nAndrews et al. (2003)\n<https://papers.nips.cc/paper/2232-support-vector-machines-for-multiple-instance-learning.pdf>.\nMany functions use the 'Gurobi' optimization back-end to\nimprove the optimization problem speed; the 'gurobi' R package\nand associated software can be downloaded from\n<https://www.gurobi.com> after obtaining a license.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/skent259/mildsvm",
  "BugReports": "https://github.com/skent259/mildsvm/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://skent259.r-universe.dev",
  "Date/Publication": "2025-09-05 02:13:59 UTC",
  "RemoteUrl": "https://github.com/skent259/mildsvm",
  "RemoteRef": "HEAD",
  "RemoteSha": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:35:28 UTC",
    "User": "root"
  },
  "Author": "Sean Kent [aut, cre] (ORCID: <https://orcid.org/0000-0001-8697-9069>),\nYifei Liou [aut]",
  "Maintainer": "Sean Kent <skent259@gmail.com>",
  "MD5sum": "84ded8f93cc87ecc5681d3d5e028222b",
  "_user": "skent259",
  "_type": "src",
  "_file": "mildsvm_0.4.1.9000.tar.gz",
  "_fileid": "375052a2824e8d8ec08dfbee7f1c7e3aafb8d913ef9df28e7440fcea15c50c36",
  "_filesize": 621412,
  "_sha256": "375052a2824e8d8ec08dfbee7f1c7e3aafb8d913ef9df28e7440fcea15c50c36",
  "_created": "2026-06-02T10:35:28.000Z",
  "_published": "2026-06-02T10:50:02.618Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79051882429,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355425615"
    },
    {
      "job": 79051882416,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355420244"
    },
    {
      "job": 79051882444,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355576704"
    },
    {
      "job": 79051882414,
      "time": 178,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355639927"
    },
    {
      "job": 79051293215,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355363771"
    },
    {
      "job": 79051882347,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355402952"
    },
    {
      "job": 79051882487,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355412311"
    },
    {
      "job": 79051882442,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355407140"
    },
    {
      "job": 79051882466,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355412334"
    }
  ],
  "_buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/skent259/mildsvm",
  "_commit": {
    "id": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
    "author": "Sean Kent <skent259@gmail.com>",
    "committer": "Sean Kent <skent259@gmail.com>",
    "message": "Increment version number to 0.4.1.9000\n",
    "time": 1757038439
  },
  "_maintainer": {
    "name": "Sean Kent",
    "email": "skent259@gmail.com",
    "login": "skent259",
    "orcid": "0000-0001-8697-9069",
    "description": "Ph.D. student in Statistics at UW-Madison",
    "uuid": 41379385
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "e1071",
      "role": "Imports"
    },
    {
      "package": "kernlab",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "gurobi",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "skent259",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-33",
      "n": 3
    },
    {
      "week": "2025-36",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.4.1",
      "date": "2025-08-14"
    }
  ],
  "_topics": [
    "distributional-data",
    "multiple-instance-learning",
    "ordinal",
    "svm",
    "weakly-supervised-learning"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "skent259",
      "count": 180,
      "uuid": 41379385
    }
  ],
  "_userbio": {
    "uuid": 41379385,
    "type": "user",
    "name": "Sean Kent",
    "description": "Ph.D. student in Statistics at UW-Madison"
  },
  "_downloads": {
    "count": 148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mildsvm"
  },
  "_devurl": "https://github.com/skent259/mildsvm",
  "_searchresults": 42,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mildsvm.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/skent259/mildsvm",
  "_realowner": "skent259",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2022-07-14"
    },
    {
      "version": "0.4.1",
      "date": "2025-08-19"
    }
  ],
  "_exports": [
    "as_mi_df",
    "as_mild_df",
    "bag_instance_sampling",
    "build_fm",
    "build_instance_feature",
    "classify_bags",
    "cv_misvm",
    "generate_mild_df",
    "kfm_exact",
    "kfm_nystrom",
    "kme",
    "mi",
    "mi_df",
    "mild",
    "mild_df",
    "mior",
    "mismm",
    "misvm",
    "misvm_orova",
    "omisvm",
    "smm",
    "summarize_samples",
    "svor_exc"
  ],
  "_datasets": [
    {
      "name": "ordmvnorm",
      "title": "Sample ordinal MIL data using mvnorm",
      "object": "ordmvnorm",
      "class": [
        "mi_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "bag_label",
        "bag_name",
        "V1",
        "V2",
        "V3",
        "V4",
        "V5"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_mi_df",
      "title": "Coerce to MI data frame",
      "topics": [
        "as_mi_df"
      ]
    },
    {
      "page": "as_mild_df",
      "title": "Coerce to MILD data frame",
      "topics": [
        "as_mild_df"
      ]
    },
    {
      "page": "bag_instance_sampling",
      "title": "Sample 'mild_df' object by bags and instances",
      "topics": [
        "bag_instance_sampling"
      ]
    },
    {
      "page": "build_fm",
      "title": "Build a feature map on new data",
      "topics": [
        "build_fm",
        "build_fm.kfm_exact",
        "build_fm.kfm_nystrom"
      ]
    },
    {
      "page": "build_instance_feature",
      "title": "Flatten 'mild_df' data to the instance level",
      "topics": [
        "build_instance_feature"
      ]
    },
    {
      "page": "classify_bags",
      "title": "Classify y from bags",
      "topics": [
        "classify_bags"
      ]
    },
    {
      "page": "cv_misvm",
      "title": "Fit MI-SVM model to the data using cross-validation",
      "topics": [
        "cv_misvm",
        "cv_misvm.default",
        "cv_misvm.formula",
        "cv_misvm.mi_df"
      ]
    },
    {
      "page": "formatting",
      "title": "Printing multiple instance data frames",
      "topics": [
        "formatting",
        "print.mild_df",
        "print.mi_df"
      ]
    },
    {
      "page": "generate_mild_df",
      "title": "Generate mild_df using multivariate t and normal distributions.",
      "topics": [
        "generate_mild_df"
      ]
    },
    {
      "page": "kfm_exact",
      "title": "Create an exact kernel feature map",
      "concept": [
        "kernel feature map functions"
      ],
      "topics": [
        "kfm_exact"
      ]
    },
    {
      "page": "kfm_nystrom",
      "title": "Fit a Nyström kernel feature map approximation",
      "concept": [
        "kernel feature map functions"
      ],
      "topics": [
        "kfm_nystrom",
        "kfm_nystrom.default",
        "kfm_nystrom.mild_df"
      ]
    },
    {
      "page": "kme",
      "title": "Calculate the kernel mean embedding matrix",
      "topics": [
        "kme",
        "kme.default",
        "kme.mild_df"
      ]
    },
    {
      "page": "mi",
      "title": "Create an 'mi' object",
      "concept": [
        "multiple instance formula helper functions"
      ],
      "topics": [
        "mi"
      ]
    },
    {
      "page": "mi_df",
      "title": "Build a multiple instance (MI) data frame",
      "topics": [
        "mi_df"
      ]
    },
    {
      "page": "mild",
      "title": "Create a mild object",
      "concept": [
        "multiple instance formula helper functions"
      ],
      "topics": [
        "mild"
      ]
    },
    {
      "page": "mild_df",
      "title": "Build a MILD data frame",
      "topics": [
        "mild_df"
      ]
    },
    {
      "page": "mior",
      "title": "Fit MIOR model to the data",
      "topics": [
        "mior",
        "mior.default",
        "mior.formula",
        "mior.mi_df"
      ]
    },
    {
      "page": "mismm",
      "title": "Fit MILD-SVM model to the data",
      "topics": [
        "mismm",
        "mismm.default",
        "mismm.formula",
        "mismm.mild_df"
      ]
    },
    {
      "page": "misvm",
      "title": "Fit MI-SVM model to the data",
      "topics": [
        "misvm",
        "misvm.default",
        "misvm.formula",
        "misvm.mild_df",
        "misvm.mi_df"
      ]
    },
    {
      "page": "misvm_orova",
      "title": "Fit MI-SVM model to ordinal outcome data using One-vs-All",
      "topics": [
        "misvm_orova",
        "misvm_orova.default",
        "misvm_orova.formula",
        "misvm_orova.mi_df"
      ]
    },
    {
      "page": "omisvm",
      "title": "Fit MI-SVM-OR model to ordinal outcome data",
      "topics": [
        "omisvm",
        "omisvm.default",
        "omisvm.formula",
        "omisvm.mi_df"
      ]
    },
    {
      "page": "ordmvnorm",
      "title": "Sample ordinal MIL data using mvnorm",
      "topics": [
        "ordmvnorm"
      ]
    },
    {
      "page": "predict.cv_misvm",
      "title": "Predict method for 'cv_misvm' object",
      "topics": [
        "predict.cv_misvm"
      ]
    },
    {
      "page": "predict.mior",
      "title": "Predict method for 'mior' object",
      "topics": [
        "predict.mior"
      ]
    },
    {
      "page": "predict.mismm",
      "title": "Predict method for 'mismm' object",
      "topics": [
        "predict.mismm"
      ]
    },
    {
      "page": "predict.misvm",
      "title": "Predict method for 'misvm' object",
      "topics": [
        "predict.misvm"
      ]
    },
    {
      "page": "predict.misvm_orova",
      "title": "Predict method for 'misvm_orova' object",
      "topics": [
        "predict.misvm_orova"
      ]
    },
    {
      "page": "predict.omisvm",
      "title": "Predict method for 'omisvm' object",
      "topics": [
        "predict.omisvm"
      ]
    },
    {
      "page": "predict.smm",
      "title": "Predict method for 'smm' object",
      "topics": [
        "predict.smm"
      ]
    },
    {
      "page": "predict.svor_exc",
      "title": "Predict method for 'svor_exc' object",
      "topics": [
        "predict.svor_exc"
      ]
    },
    {
      "page": "SMM",
      "title": "Fit SMM model to the data",
      "topics": [
        "smm",
        "smm.default",
        "smm.formula",
        "smm.mild_df"
      ]
    },
    {
      "page": "summarize_samples",
      "title": "Summarize data across functions",
      "topics": [
        "summarize_samples",
        "summarize_samples.default",
        "summarize_samples.mild_df"
      ]
    },
    {
      "page": "svor_exc",
      "title": "Fit SVOR-EXC model to ordinal outcome data",
      "topics": [
        "svor_exc",
        "svor_exc.default",
        "svor_exc.formula",
        "svor_exc.mi_df"
      ]
    }
  ],
  "_readme": "https://github.com/skent259/mildsvm/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "cli",
    "cpp11",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "kernlab",
    "lifecycle",
    "magrittr",
    "MASS",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "pROC",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.100370545117563,
  "_indexed": true,
  "_nocasepkg": "mildsvm",
  "_universes": [
    "skent259"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:37:43.000Z",
      "distro": "noble",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "0c8a775260f777211e66d00eedaf2ce4b03b12e4ff6d77ebc867f7fdc7a45fdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:37:45.000Z",
      "distro": "noble",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "0db614c51e9ce914f962dbb05a9c9b6481cd721be12cb40b79643302dcf7f183",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:45:43.000Z",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "87808dd64f8d1b7a94adc759fcbf098b5e034b15206c737d7a14d1e95af9e142",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:48:46.000Z",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "8afc92f930806184653afeb9c166310a1139850db5460bab56452551fc831292",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:37:40.000Z",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "52675623d164aab9cf4fe6a449dfcc93614429ed565662ff758927a241241810",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:36:58.000Z",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "951c28aa48e0cbdbf7857c08416d2fa2de1d7aea0c79e787f734c8d1bd4fb82f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:36:50.000Z",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "1a403ac691637e43fcecb04e4b0e8360ffb1c2e9f47b70c75ebdf6237db61de0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1.9000",
      "date": "2026-06-02T10:37:01.000Z",
      "commit": "9c57fe05ddfdd8d28be756a75d1f750ee123f5d8",
      "fileid": "7dfe2b8cf2d03f22e7cf2757d0ed9798b908f5ffac171aa2f94f3e9450333f7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/skent259/actions/runs/26814071909"
    }
  ]
}