Giter Site home page Giter Site logo

brenofariasdasilva / dagster-machine-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igorwiese/ml_with_dags

0.0 0.0 0.0 1.05 MB

Dagster Directed Acyclic Graphs (DAGs) through Dagster with a simple Machine Learning Program.

Home Page: https://hackernoon.com/a-quick-introduction-to-machine-learning-with-dagster-gh53336m}{Article}, \href{https://github.com/stephanBV/ML_with_DAGs

License: Apache License 2.0

Python 96.04% Makefile 0.46% Shell 3.50%
dags dagster directed-acyclic-graph graphs machine-learning ml

dagster-machine-learning's Introduction


This application is a simple text classifier using sklearn for newcomers to be introduced to Dagster.


GitHub Code Size in Bytes GitHub Last Commit GitHub wakatime

RepoBeats Statistics

Table of Contents

Setup

๐Ÿ™€ ๐Ÿ‘‰๐Ÿผ See a brief guided tour of Dagster and the DAG generated from this program at https://hackernoon.com/a-quick-introduction-to-machine-learning-with-dagster-gh53336m
or from the repository ./pdf/quick_start_with_ML_and_Dagster.pdf

Dagster is a data orchestrator for machine learning, analytics, and ETL. It lets you define pipelines in terms of the data flow between reusable, logical components, then test locally and run anywhere. With a unified view of pipelines and the assets they produce, Dagster can schedule and orchestrate Pandas, Spark, SQL, or anything else that Python can invoke. It makes testing easier and deploying faster ๐Ÿ˜Ž.

  • The script creates a single pipeline which:
    • processes the data,
    • searches for optimal parameters between a logistic regression and a random forest,
    • train and test the model

Step 1. Clone this repository ๐Ÿ‘ฏโ€โ™‚๏ธ

git clone https://github.com/stephanBV/ML_with_DAGs.git
cd ML_with_DAGs

Step 2. Create a virtual environment ๐Ÿ‘พ (Optional)

python3 -m virtualenv venv
source venv/bin/activate

Step 3. Install dependencies ๐Ÿงžโ€โ™‚๏ธ

pip install -r requirements.txt

Step 4. Launch Dagster's UI ๐Ÿ™

python3 -m dagit -f script.py

Step 5. On the main page, at the top, click on Playground.

Then, drag-and-drop the config.yml of the cloned repository to the Playground page.

Step 6. Click on Launch Execution at the bottom right of the Playground page.โšก๏ธ

dagster-machine-learning's People

Contributors

stephabauva avatar brenofariasdasilva 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.