Giter Club home page Giter Club logo

carbon-ml's Introduction

carbon-ml


Note

We have discontinued WSO2 Machine Learner Product and as a result this repository has been deprecated. We still support machine learning model integration with WSO2 Data Analytics Server (https://github.com/wso2/product-das).


Latest Released Version v1.1.0

This repository contains the source code of modules belong to WSO2 Machine Learner product. Some of these modules are used by other products of the platform too.

How to Contribute

Contact us

WSO2 Carbon developers can be contacted via the mailing lists:

carbon-ml's People

Contributors

ashensw avatar cdathuraliya avatar gokul avatar lasanthafdo avatar lochana avatar madawas avatar maheshakya avatar maheshika avatar manoramahp avatar mohanvive avatar nadheesh avatar nectoc avatar nirandaperera avatar nirmal070125 avatar ramindu90 avatar sajithshn avatar samgregoost avatar supuns avatar this avatar thushv89 avatar upul avatar wso2-jenkins-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

carbon-ml's Issues

Undeployment of api.war causes remote MySQL server to shutdown

Gracefully shutting down DAS (via Management Console) causes to shutdown the connected MySQL server as well. Originally reported in product-das repo.

Affected Product Version:

  • since v1.0.1

Environment:

  • DAS 3.1.0 (with ML datasource "WSO2ML_DB" pointed to MySQL)
  • MySQL v5.7.9 or higher

Steps to reproduce:

  1. Point ML datasource "WSO2ML_DB" to MySQL
    • File: <DAS_HOME>/repository/conf/datasources/ml-datasources.xml
    • DB user: root
  2. Start DAS
  3. Go to Management Console and do graceful shutdown
  4. After DAS shutdown, you can notice that MySQL server has been shutdown as well

Cause:
In the ML REST API webapp (api.war), org.wso2.carbon.ml.rest.api.handler.ShutdownListener class is configures as a listener [1] and ShutdownListener.contextDestroyed [2] method gets called on the webapp undeploy event. Inside that, DatabaseService.shutdown method is invoked, which ultimately executes the SHUTDOWN query [3].

[1] https://github.com/wso2/carbon-ml/blob/v1.2.2/components/ml/org.wso2.carbon.ml.rest.api/src/main/webapp/WEB-INF/web.xml#L40
[2] https://github.com/wso2/carbon-ml/blob/v1.2.2/components/ml/org.wso2.carbon.ml.rest.api/src/main/java/org/wso2/carbon/ml/rest/api/handler/ShutdownListener.java#L37
[3] https://github.com/wso2/carbon-ml/blob/v1.2.2/components/ml/org.wso2.carbon.ml.database/src/main/java/org/wso2/carbon/ml/database/internal/MLDatabaseService.java#L2724

Deployment exception occurs after modifying the org.wso2.carbon.ml.core-1.0.2

Downloaded the carbon.ml.core 1.0.2 source code from github and modified the algorithm linear regression and replaced the org.wso2.carbon.ml.core-1.0.2.jar in to the build location \wso2ml-1.0.0\repository\components\plugins.
But while running the wso2server.bat with the error message :
Error occuring while deploying webapp "E:\wso2ml-1.0.0\repository\deployment\server\webapps\api.war"

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.