Giter VIP home page Giter VIP logo

kinestheticcuriosity's Introduction

Hunters, busybodies, and the knowledge network building associated with curiosity

Code for the paper, Hunters, busybodies, and the knowledge network building associated with curiosity.

Setup

platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           

R:             3.5.1 (2018-07-02)
MATLAB:        9.6.0.1174912 (R2019a)
Python:        2.7.15

See environment_root.yml for Python libraries and packages used.

Author

Dale Zhou (dalezhou [at] pennmedicine.upenn.edu)

Project Organization


    ├── data                                    <- Data goes here.
    │      |
    │      ├── subjectLevel
    │      ├── kFolds
    │
    ├── scripts                                 <- Downloaded functions go here
    │      |
    │      ├── copyScripts.sh                   <- prepare code to fit each individual
    │      ├── editScripts.sh                   <- prepare code to fit each individual
    │      ├── entropySimulated.py              <- function for entropy
    │      ├── errwLevyFunction.py              <- function for growth model
    │      ├── errwLevyFunction.m               <- MATLAB version of growth model
    │      ├── heapsSimulated.py                <- function for Heaps' law
    │      ├── intervalsSimulated.py            <- function for inter-event time
    │      ├── launchAnalysis.sh                <- launch training on cluster
    │      ├── launchTest.sh                    <- launch test on cluster
    │      ├── nsga.py                          <- main script running evolutionary optimization
    │      ├── testFit.py                       <- main script testing fit
    │      ├── wikiWrangler.R                   <- prepare code to fit each individual
    │      ├── zipfsSimulated.py                <- function for Zipf's law
    │
    │
    ├── environment_root.yml                    <- Python environment packages
    │
    ├── README.md

Order of scripts

  1. Run wikiWrangler.R to get train and test folds
  2. copyScripts.sh if copyCommands does not exist. Then source copyCommands
  3. editScripts.sh if editCommands does not exist. Then source editCommands
  4. qsub launchAnalysis.sh to launch the nsga.py scripts
  5. qsub launchTest.sh to launch the testFit.py scripts

Notes

The growth model itself is errwLevyFunction.py or errwLevyFunction.m for equivalent Python and MATLAB versions. All other code is to fit individual data to that growth model.

Scripts were run on a high-performance computing cluster.

kinestheticcuriosity's People

Contributors

dalejn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.