Skip to content
/ Cyclops Public
forked from OHDSI/Cyclops

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

cvisb/Cyclops

This branch is 662 commits behind OHDSI/Cyclops:main.

Folders and files

NameName
Last commit message
Last commit date
Nov 23, 2016
Dec 6, 2014
Dec 6, 2014
Aug 5, 2016
May 12, 2016
Jun 3, 2015
Aug 1, 2016
Jan 29, 2015
Nov 18, 2016
Jan 13, 2015
Oct 27, 2016
Oct 15, 2016
Nov 23, 2016
Oct 6, 2016
Jun 3, 2015
Aug 1, 2016
Aug 4, 2016
Apr 21, 2016
Nov 18, 2016
Oct 27, 2016
Oct 6, 2016
Oct 5, 2016
Sep 13, 2016
Oct 6, 2016
Mar 8, 2016

Repository files navigation

Cyclops

CRAN_Status_Badge

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). Installation on Windows requires RTools (devtools >= 1.12 required for RTools34, otherwise RTools33 works fine).

Dependencies

  • There are no dependencies.

Getting Started

  1. On Windows, make sure RTools is installed.
  2. In R, use the following commands to download and install Cyclops:
install.packages("devtools")
library(devtools)
install_github("ohdsi/Cyclops") 
  1. To perform a Cyclops model fit, use the following commands in R:
library(Cyclops)
cyclopsData <- createCyclopsDataFrame(formula)
cyclopsFit <- fitCyclopsModel(cyclopsData)

Getting Involved

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.

###Development status

Build Status codecov.io

Beta

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.

Resources

Citation

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 89.8%
  • R 6.2%
  • CMake 2.1%
  • C 1.1%
  • Other 0.8%