Giter Club home page Giter Club logo

mlserve's Introduction

MLServe

Using an android interface to communicate with a server to run inputs though a SVM.

MLServe is an android application that was created to test machine learning implementation on android devices using a remote system to run the data though.

Current algorithms implemented:

UCI Wisconsin Breast Cancer Data Set:

This dataset is connected and can be used, on the server I have implemented an SVM with Sklearn.

Pre-processing: The data directly from the repository has missing values, to compensate for this the values were replaced with zero at the beginning. After testing I have finalized my preprocessing method to remove all rows with unknown variables. Doing this I only lose about 20 rows of data, a minimal price to pay. The issue with inserting a zero is that we don't want to create our own fake inputs, if the patient has all high numbers and one zero this may confuse the training

Training is done by first shuffling the pre-processed data and seperating it into 50-25-25. 50 percent of our data is being used for training, 25 percent is being used for testing, and 25 percent is being used for validation to prevent overfitting.I am using a linear kernel with C = 20 (penalty parameter) and a random seed to further prevent overfitting.

Next Steps:

For this data set I have to go though and do riggerous validation testing to ensure the network isn't overfitting. This current network is preliminary to test though the android device, next I will be, try using an SVM instead in order to ensure that I can get the larget margin possible between my classificaiton.

Update of testing:

First output: Confmat

[[TN, FP]

[FN,TP]]

Second output: Prediction

Third output: Prediction score

Fourth output: Accuracy %

** The input numbers are ignored by validation they are not taking any role here **

alt tag

Images of current product:

In app exlpaination:

alt tag

Prediciton screen with hint's to the parameters:

alt tag

Prediction for a negative result:

alt tag

Prediction for a positive result:

alt tag

mlserve's People

Contributors

jbiloki avatar

Stargazers

 avatar

Watchers

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