Coder Social home page Coder Social logo

bdeboe / integratedml-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intersystems-community/integratedml-demo

0.0 1.0 0.0 10.6 MB

Repository with scripts and datasets for the IntegratedML beta program

Dockerfile 0.13% ObjectScript 99.87%

integratedml-demo's Introduction

IntegratedML Demo Kit

This repo contains a few simple datasets to demonstrate InterSystems IRIS IntegratedML. Instructions below describe how to use IntegratedML on Docker, Linux/Mac or Windows platforms.

How to install/build on Docker

The included Dockerfile will pull an InterSystems IRIS IntegratedML Community Edition image from the Docker Hub and set up a few simple datasets. Full Enterprise Edition container images are available from the InterSystems Container Repository.

Use the following command to build the demo image:

docker build --tag integratedml-demo .

To start your container, use the following command (or your favourite equivalent, as this one will drop your container after stopping)

docker run --rm -d -p 9091:1972 -p 9092:52773 --name integratedml integratedml-demo

The IRIS password is initialized as SYS, but you can get in directly through the following command, the SMP or connecting through a SQL client such as DBeaver

docker exec -it integratedml iris sql IRIS

How to use IntegratedML

Using IntegratedML takes only three simple commands:

CREATE MODEL Flowers PREDICTING (Species) FROM DataMining.IrisDataset;
TRAIN MODEL Flowers FROM DataMining.IrisDataset;
SELECT TOP 20 PREDICT(Flowers) AS PredictedSpecies, Species AS ActualSpecies FROM DataMining.IrisDataset;

Note that the semicolons at the end are for use in a multiline-style client such as DBeaver or SQuirreL and not part of regular IRIS SQL.

More Resources

Included datasets

These are broadly available datasets, but we may not have permission to re-distribute them, so keep this repo to yourself:

  • DataMining.IrisDataset: Iris (the flower, not the Gartner MQ ODBMS leader!), as in the classic SAMPLES namespace. You can predict the Species (categorization) or any of the width / length columns (regression)
  • Titanic.Passenger: List of all the passengers of the ill-fated bathtub, with a "Survived" column that makes a fun demo target.
  • [SQLUser.]LoanPerformance: as used at Global Summit, with a "LoanDefault" column that works well for a more serious demo. Derived from a Kaggle dataset
  • [SQLUser.]Campaign: as used in the campaign showcase in the ML Toolkit. The target column to put your crosshairs on is RESPONSE
  • [SQLUser.]BreastCancer
  • [SQLUser.]appointments
  • NLP.HateSpeech - anticipating some work on the NLP end, taking a text classification challenge from https://github.com/aitor-garcia-p/hate-speech-dataset

integratedml-demo's People

Contributors

bdeboe avatar tom-dyar 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.