Giter Club home page Giter Club logo

candy_trade's Introduction

Workshop materials

Links to the recommended resources

Good enough practices in scientific computing. Wilson G, Bryan J, Cranston K, Kitzes J, Nederbragt L, et al. (2017) Good enough practices in scientific computing. PLOS Computational Biology 13(6): e1005510. https://doi.org/10.1371/journal.pcbi.1005510

Ten Simple Rules for Reproducible Computational Research. Sandve GK, Nekrutenko A, Taylor J, Hovig E (2013) Ten Simple Rules for Reproducible Computational Research. PLOS Computational Biology 9(10): e1003285. https://doi.org/10.1371/journal.pcbi.1003285

The Practice of Reproducible Research: Case Studies and Lessons from the Data-Intensive Sciences. Kitzes, J., Turek, D., & Deniz, F. (Eds.). (2018). Oakland, CA: University of California Press. https://www.gitbook.com/book/bids/the-practice-of-reproducible-research/details

Exercises

Organization

Exercise 1:

  • Candy trade
    • Review your selection of candy. Rate how happy you are with your selection on a scale from 1 (unhappy) to 10 (very happy). Record it on your green sticky note and label it as "pre-trade".
    • Find one trading partner. Trade the candy you don't like for candy you do like with that partner only. Rate how happy you are with your selection on a scale from 1 (unhappy) to 10 (very happy). Record it on your green sticky note and label it as "trade 1".
    • Now trade with everyone in the room. Trade candy you don't like for candy you do like. Rate how happy you are with your selection on a scale from 1 (unhappy) to 10 (very happy). Record it on your green sticky note and label it as "trade 2".

Exercise 2:

Documentation

Exercise 3:

  • Use literate programming to document your analyses.
    • Configure the environment for Jupyter Notebook:
      • Base Environment: Python 3 with Anaconda
      • conda installer: jupyter, numpy, pandas
    • Run -> Launch interactive Jupyter Session.
    • Analyze your data!
      • Load your libraries.
      • Load your data.
      • Create a line graph showing each individual's change in happiness over the trades.
      • Create a box plot comparing the distribution of happiness over trades.
      • Download your notebook "as Notebook".

Exercise 4:

  • Use nbconvert to render your notebook.
    • Upload your notebook into the code subdirectory.
    • In your run.sh script, use nbconvert to render your notebook.
    • Check the rendering by hitting "Run".

Exercise 5:

  • Share your code.
    • Create two python code files: one for each figure you created (line graph & box plot).
    • Configure your run.sh file to run them in order.
    • Save the figures in the results subdirectory.
    • Check the configuration by hitting "Run"

Exercise 6

Exercise 7:

Exercise 8:

Exercise 9:

Automation

Exercise 10:

Exercise 11:

Dissemination

Exercise 12:

  • Share your code and data!

candy_trade's People

Contributors

aprilcs avatar

Stargazers

 avatar

Watchers

 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.