Skip to content
/ Cyclops Public

Cyclops (Cyclic coordinate descent for logistic, Poisson and survival analysis) is an R package for performing large scale regularized regressions.

Notifications You must be signed in to change notification settings

OHDSI/Cyclops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e9fa5fb · Dec 2, 2024
Nov 1, 2024
Nov 1, 2024
Mar 22, 2020
Dec 6, 2014
Apr 22, 2020
Sep 19, 2018
Oct 31, 2023
Oct 31, 2023
Apr 4, 2023
Aug 1, 2016
Aug 19, 2019
Nov 1, 2024
Jan 13, 2015
May 6, 2024
Sep 7, 2022
Nov 9, 2023
May 30, 2024
Apr 14, 2023
Jul 15, 2021
Jun 3, 2015
Oct 19, 2023
Jul 4, 2019
Oct 24, 2023
Nov 1, 2024
Nov 2, 2023
Nov 1, 2024
Mar 17, 2019
Jun 6, 2024
Jun 8, 2020
Apr 5, 2023
May 1, 2021
Apr 5, 2023
Apr 5, 2023
Dec 2, 2024
Jun 23, 2022

Repository files navigation

Cyclops

Build Status codecov.io CRAN_Status_Badge CRAN_Status_Badge

Cyclops is part of the HADES.

Introduction

Cyclops (Cyclic coordinate descent for logistic, Poisson and survival analysis) is an R package for performing large scale regularized regressions.

Features

  • Regression of very large problems: up to millions of observations, millions of variables
  • Supports (conditional) logistic regression, (conditional) Poisson regression, as well as (conditional) Cox regression
  • Uses a sparse representation of the independent variables when appropriate
  • Supports using no prior, a normal prior or a Laplace prior
  • Supports automatic selection of hyperparameter through cross-validation
  • Efficient estimation of confidence intervals for a single variable using a profile-likelihood for that variable

Examples

  library(Cyclops)
  cyclopsData <- createCyclopsDataFrame(formula)
  cyclopsFit <- fitCyclopsModel(cyclopsData)

Technology

Cyclops in an R package, with most functionality implemented in C++. Cyclops uses cyclic coordinate descent to optimize the likelihood function, which makes use of the sparse nature of the data.

System Requirements

Requires R (version 3.1.0 or higher). Compilation on Windows requires RTools >= 3.4.

Installation

In R, to install the latest stable version, install from CRAN:

install.packages("Cyclops")

To install the latest development version, install from GitHub. Note that this will require RTools to be installed.

install.packages("devtools")
devtools::install_github("OHDSI/Cyclops")

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available:

Support

Contributing

Read here how you can contribute to this package.

License

Cyclops is licensed under Apache License 2.0. Cyclops contains the TinyThread libray.

The TinyThread library is licensed under the zlib/libpng license as described here.

Development

Cyclops is being developed in R Studio.

Acknowledgements

  • This project is supported in part through the National Science Foundation grants IIS 1251151 and DMS 1264153.

About

Cyclops (Cyclic coordinate descent for logistic, Poisson and survival analysis) is an R package for performing large scale regularized regressions.

Topics

Resources

Citation

Stars

Watchers

Forks