Coder Social home page Coder Social logo

quick-start's Introduction

quick-start

This is a quick-start example for using datmo over iris classification dataset

Installation:

Requirements: docker

$ pip install datmo

Steps:

  1. Clone this github project,

    $ git clone https://github.com/datmo/quick-start.git
    
  2. Move into the project and initialize it and setup the environment using datmo CLI,

    $ cd quick-start
    $ # Initialize the project using datmo
    $ datmo init
    $ # Set the name and description for the project
    $ # Enter `y` to setup the environment
    $ # Select `cpu`, `data-analytics`, `py27` based on the questions being asked   
    
  3. Now, run your first experiment using the following command,

    $ datmo run 'python script.py'
    $ # check for your first run using ls command
    $ datmo ls
    
  4. Now let's change the script for a new run,

    vi script.py
    

    Uncomment the following line in the script and remove the other config dictionary,

    # config = { "solver": "liblinear", "penalty": "l1" }   
    
  5. Now that we have updated the script, let's run another experiment,

    $ datmo run 'python script.py'
    $ # check for your first run using ls command
    $ datmo ls
    
  6. With two test being tracked, we can now rerun any of the previous run with reprocibility,

    $ # Select the earlier run-id to rerun the first experiment
    $ datmo rerun < run-id >
    

Now, in this quick-start example, you have run two experiments, which are tracked and have rerun one of these tracked experiment.

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.