Coder Social home page Coder Social logo

new_analysis's Introduction

Introduction

This repository may be useful to start a new analytical project.

1. Clone the folder

git clone https://github.com/hirotaka-i/new_analysis.git

Cloned files

  1. README.md
  2. requirements.txt
  3. .gitignore

Cloned folders

  1. code: code snipets
  2. report: summary and reports

In addition, the following untracked folders

  1. data: folder to store the input data (untracked)
  2. priv: working files which should not be copied in the public GitHub
  3. temp: temporary files generated from input (untracked)

data/temp: These folders are not tracked for 2 reasons - (1) The data can be very big. (2) The data cannot be sharable. If the analysis requires the data in these folders, manual copying is required.

priv: Also not tracked. Remove from .gitignore if the repository is private.

2. Modification

  1. Change the folder name as appropriate.
  2. Initialize the folder.
  3. Connect to the appropriate GitHub repository.
  4. Modify files/folder structures as needed.
  5. push it to the GitHub
rm -rf .git # remove the git history
git init
git remote add origin <your remote GitHub repository>
# modify folder/data/etc
git add *
git commit -m 'first commit'
git push origin main

Set up python environment

python3 -m venv .venv
source .venv/bin/activate # Mac
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
pip install <package name>
pip freeze > requirements.txt # update the file

Next step

Once complete the set-up, delete the above and start your own README.md

new_analysis's People

Contributors

hirotaka-i 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.