Giter VIP home page Giter VIP logo

lab6_exercise's Introduction

Collaboration / workflow practice for final project

The purpose of this repo is to give you the opportunity to set up a collaborative workflow and practice using it without polluting your actual project repository for the class. You will also be using this as an opportunity to implement programatic downloading and verification of your data. These are important for reproducibility and will be required of your final project; so we figured it be good to get you in the habit of practicing it now.

Setup

Do not clone this directly from the berkeley-stat159 organization!

First, break up into your teams. If your actual project team mates are not in the same lab session as you, just join the others sitting around you. You won't be working on your projects directly, so you don't have to be in your project teams.

Now, select one member from your group to be your "collaboration host". This person will fork from https://github.com/berkeley-stat159/lab6_exercise.git

Everyone else in the group will now fork from your collaboration host's fork. We're doing it this way so each group can have the same starting point, but all of the practice work from each group is contained within that group.

Once everyone has forked correctly, every group member should clone from their fork and set up their remotes like we did in class on Thursday. You should have two remotes, one pointing to your fork and another pointing to your collaboration host's fork (you don't need to have a remote pointing to the original berkeley-stat159 repo for the exercise).

Primary Tasks

  • Add a data directory to the project. Create a .gitignore and add the data directory to it so any data files stored in that directory will be ignored by github

  • Implement functions to download and verify data. The prototypes for these functions can be found in src

    - You may want to split your group into subgroups and have each 
      subgroup work on a different task. Don't forget about branching so you
    

    can have multiple parallel lines of development.

  • Practice code review via pull requests. Make sure that your implementations run on every group memeber's system (cross-platform compatibility is important)

Secondary Tasks

If you manage to implement and review all of the functions in src/data_acquisition.py, then move on to the in class example on hemodynamic response functions.

Start by using your data_acquisition module to download and save the necessary modules to your src/ directiory. You might start by downloading the stimuli.pyand pearson.py modules. You will also need to download the condition file to your data/ directory.

Once you have all the tools you need, collaborate with your group to follow the convolution lecture and create an HRF. Having constructed the HRF, apply the pearson correlation analysis using the HRF as the correlate rather than the binary task on/off condition.

lab6_exercise's People

Contributors

rossbar avatar

Watchers

James Cloos avatar Zeyu Li (Zoey) 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.