Skip to content

seekingpeace/fsdse-commit-live

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Logo

Lets Get Rolling - Student Pre-Read

Before this lesson , we recommend you go through

Learning Objectives

After this lesson, you'll be able to

  • Use Commit.Live Web App
  • Use Commit.Live IDE
  • Use Commit.Live CLI

Agenda

  • Why Commit.Live ?
  • Comit.Live Platform
  • Comit.Live Web Application
  • Comit.Live IDE
  • Comit.Live Command Line (CLI)
  • Practice Exercise

Slides

@gslides

Download

  • Download for Linux
    • If Atom is already installed this will replace your Atom, please save your settings if you have any
    • To install use command sudo dpkg -I <downloaded-file-path>
  • Download for MacOS X

Practice Exercise

  • Let's do a small excercise to see how Commit.Live web application, IDE and CLI works together

  • Navigate to web application dashboard and click on continue button under current course. This will take you to lesson page.

  • To open this repo inside Commit.Live IDE click on Open in app button on lesson page and copy the open command which will look like below

      clive open fsdse-commit-live
    
  • Run above command in Commit.Live IDE terminal

  • Let's quickly go through what we have in repo

       data - Contains dummy data set
       test - Contains test cases
       build_model.py - File which we are goign to run and test
       README.md - Read me file
    
  • build_model.py tries to solve one of ML problem using two algorithms below:

    • RandomForestClassifier
    • LogisticRegression
  • We will first run test cases present in test folder and see test case outpu.Open terminal and run test command

      clive test
    
  • This wil run test cases against build_model.py file. Yout test case will fail saying you can improve accuracy even more

  • Now open build_model.py and change build method to buildLogisticRegression. You last line in build_model.py should look like below:

        build = buildLogisticRegression
    
  • Now again run test command again.This time your test case will pass

  • To submit PR and changes to repo use below command:

      clive submit
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%