GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shr264/CSCS_python

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
CSCS.py
CSCS.py
 
 
CSCS_in_python_example.ipynb
CSCS_in_python_example.ipynb
 
 
README.md
README.md
 
 
data_generate.py
data_generate.py
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

CSCS

This implements the CSCS algorithm for covariance and DAG estimation from A convex framework for high-dimensional sparse Cholesky based covariance estimation by Kshitij Khare, Sang Oh, Syed Rahman and Bala Rajaratnam

Basic scripts

The program consists of the following scripts

  • data_generate.py: used to generate random multivariate data accoriding to a graph
  • CSCS.py: contains the main functions and class for CSCS to estimate DAG and the cholesky parameter for the covariance matrix
  • main.py: runs the program to generate the DAG

Notebooks

A notebook with an example is also included

  • CSCS_in_python_example.ipynb

Example

import numpy as np
import networkx as nx
from data_generate import generate_random_MVN_data
from CSCS import CSCS

np.random.seed(3689)
Y = generate_random_MVN_data()
cscs = CSCS(Y = Y,l = 1)
L,A,G = cscs.fit()

Authors

  • Syed Rahman

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.