Giter Site home page Giter Site logo

contextual-leadership's Introduction

title
HP style models for modeling semantic innovation cascades in NLP venues.

Modeling pipeline:

  • make_venue_cascades.py
    • python make_venue_cascades.py --innovs-file data/innovs.pkl --cascades-file data/cascades.pkl --offset 0.2 --start-year 1989 --num-cascades 200 --num-events 100 --data-file data/hp-data-v1-001.pkl --summary-file data/hp-data-summary.json
  • collapse_and_filter_venues.py (optional: needed when venues need to be filtered or collapsed)
    • python collapse_and_filter_venues.py --input-data-file data/hp-data-v1-001.pkl --venues-file data/venues.tsv --keep-venues-file data/keep_venues.txt --output-data-file data/hp-data-v2-001.pkl --log-file data/collapse_and_filter_venues.log
  • sem_influence.py
    • python sem_influence.py --data-file data/hp-data-v2-001.pkl --num-cd-iterations 50 --vanilla-hp-params-file data/v2_001_vanilla_hp_params.pkl --init-params-file data/v2_001_init_params.pkl --coarsened-hp-params-file data/v2_001_coarsened_hp_params.pkl --log-file data/sem_influence.log
  • citation_analysis.py
    • python citation_analysis.py --data-file data/hp-data-v2-001.pkl --params-file data/v2_001_coarsened_hp_params.pkl --citations-file data/venue_citations.pkl --venues-file data/venues.tsv --keep-venues-file data/keep_venues.txt --output-file data/v2_001_influence_relations.csv --log-file data/citation_analysis.log

contextual-leadership's People

Contributors

sandeepsoni avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

rainchamber

contextual-leadership's Issues

Is `sem_influence.py` described in readme the same with `coarse_sem_influence.py`

Hi @sandeepsoni

Your paper is pretty cool and I tried to go through the codebase but a bit confused by how to replicate the results of your cool paper. This is the issue about pipeline description.

Does the sem_influence.py in the pipeline described by readme is the one called coarse_sem_influence.py in your model folder?

Pipeline description:

截圖 2023-02-03 下午4 31 54

coarse_sem_influence.py`:
https://github.com/sandeepsoni/contextual-leadership/blob/main/scripts/modeling/coarse_sem_influence.py

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.