Giter Site home page Giter Site logo

sample_classification_model's Introduction

Binary Classification Model

This repository contains the example and sample files to deploy a Binary Classification Model on Katonic Platform.

Prerequisites for Deployment:

Note : You need to fork the repository to deploy it on Katonic Platform

  • launch.py: This file consists of loadmodel, preprocessing and predict functions. The first function helps to fetch the model. The second function is optional,if you are performing any kind of preprocessing on the data before prediction please add all the necessary steps into it and return the formatted input, else you can just return False if no processing is required. In the third function write down the code for prediction and return the results in the data structure supported by API response.

  • schema.py: Define your schema on how you should pass your input data in predict function.

  • requirements.txt: Define the required packages along with specific versions this file.

Sample Input Data for Prediction API

{
    "data":[[1,3,0,0,5,0,0,0,0,0]]
}

Sample Input Data for Feedback API

{
  "predicted_label":[1,1,1,1,0,0,0,0,1,0,1,0],
  "true_label": [1,1,0,1,0,1,0,0,1,0,1,0]
}

sample_classification_model's People

Contributors

anuf0731 avatar vinaynaman 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.