Code Monkey home page Code Monkey logo

datascience-industry-ready-projects's Introduction

Git and Github

Task 1:

Demonstrate minimum 15 basic Git command with explanation and screenshot.

git config –-global user.name "ni3choudhary"
git config --global user.email "[email protected]"

This command sets the author name and email address respectively to be used with your commits. image

git init 

This command is used to start a new repository. image

git clone

This command is used to obtain a repository from an existing URL. image

git status

This command lists all the files that have to be committed. image

git add main.py

This command adds a file to the staging area. image

git add .

This command adds one or more to the staging area. image

git commit -m 'Added main.py'

This command records or snapshots the file permanently in the version history. image

git commit -a

This command commits any files you’ve added with the git add command and also commits any files you've changed since then. image

git diff

This command shows the file differences which are not yet staged. image

git merge developer

This command merge the mentioned branch[developer] into current branch[master]. image

git rm -f index.html

This command deletes the file from your working directory and stages the deletion. image

git log

This command is used to list the version history for the current branch. image

git branch

This command lists all the local branches in the current repository. image

git branch developer

This command creates a new branch. image

git checkout developer

This command used to change the branch. image

Task 2:

Consider that your want to start an open-source project in your organization. Perform all the standard operation to create a repository with minimal permision for all the users. It should contain.

  1. Proper open source structure
  2. Proper Readme
  3. Add 2 collaborator
  4. Host GitHub Pages using settings (Designed to host your personal, organization, or project pages from a GitHub repository)

1. Proper Open Source Structure --

Please check the files in the repository to run the end to end rain prediction till deployment.

2. Rainfall-Prediction-In-Australia-Deployment (Proper Readme)

Kaggle Python 3.6

• This repository consists of files required for end to end implementation of Rain Prediction in Australia Machine Learning Web App created with Flask on Heroku platform.

Problem statement:

A ML project with EDA and model that helps in predicting next-day rain by training classification models on the target variable RainTomorrow.

Dataset

You can find the dataset here.

Dependencies:

  • Python
  • Pandas
  • Numpy
  • Matplotlib
  • Seaborn
  • Scikit-Learn
  • Catboost
  • Tensorflow
  • Flask

setup

To create a project from scratch use following steps - -

$ python3 -m venv venv

Activate Virtual Environment

$ .venv/bin/activate 
          OR
$ .\venv\Scripts\activate

Install Libraries using below command

$ pip install -r requirements.txt
  • Run jupyter notebook to get the pickle file inside Model directory.

  • Now run app.py on terminal to start local server.

$ python app.py

• If you want to view the deployed model, click on the following link: Deployed at: https://rainfall-prediction-australia.herokuapp.com/

3. Add 2 collaborator

username - nitin80855

4. Host GitHub Pages using settings (Designed to host your personal, organization, or project pages from a GitHub repository)

You can find the Github Page here.

Task 3

  1. Create a Issue in your github repository.
  2. Raise a pull request.
  3. Merge A pull request.
  4. Reject a pull request with proper comments.
  5. Add a Dependabot alerts in your github.(for above cases)
  6. Stash changes
  7. Create a release your package
  8. Setup a Projects Board for your project.

1. Create a Issue in your github repository.

image

2. Raise a pull request.

GIF

3. Merge A pull request.

GIF

4. Reject a pull request with proper comments.

GIF

5. Add a Dependabot alerts in your github.(for above cases)

  • Dependabot Alerts Added, Please check .github folder for more information.

6. Stash changes

image

Run stash command to stash the changes. image

View Stashed Changes image

If you want to view the details of a stash, run- image

To keep a copy of your changes in the stash and also bring them over to your working branch, run- image

To bring the changes to your working branch but delete the copy of the stash, run- image

7. Create a release your package

image

8. Setup a Projects Board for your project.

image

datascience-industry-ready-projects's People

Contributors

ni3choudhary avatar nitin80855 avatar

Watchers

 avatar

Forkers

nitin80855

datascience-industry-ready-projects's Issues

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.