Hi, Yes, sure we can have a call. What time do you want to do it?
On Thu, Jun 25, 2015 at 11:16 PM, Nirmal Fernando <nir...@wso2.com> wrote: > Hi Thushan, > > Let's have a call to discuss this, I think you can implement the deep > learning support without much (if not any) change. > > On Thu, Jun 25, 2015 at 11:54 AM, Thushan Ganegedara <thu...@gmail.com> > wrote: > >> Hi all, >> >> I'm looking into integrating deep networks algorithm (Java). From what I >> understood, algorithms are called the following way. >> >> *SupervisedModel* class builds the correct model according to provided >> parameters using build<model>model(...) >> >> These build<model>model(...) methods first, a *ModelSummary *object is >> created and then a *MLModel* object >> >> However, beyond that is done using *apache spark* and spark-specific >> objects (e.g. NaiveBayesClassifier, LogisticRegression, ...) But in my >> case, I cannot rely on these objects. >> >> I would like to know what to do regarding this issue. >> >> One thing I can do is that, *produce a ModelSummaryObject *directly from >> the Deep Autoencoder Algorithm or a *custom SAEModel object*. >> >> Could you please comment on this? >> >> >> >> On Thu, Jun 25, 2015 at 3:11 PM, Thushan Ganegedara <thu...@gmail.com> >> wrote: >> >>> Hello CD, >>> >>> Thank you very much for the explanation. It makes sense now >>> >>> >>> On Thu, Jun 25, 2015 at 3:02 PM, CD Athuraliya <chathur...@wso2.com> >>> wrote: >>> >>>> Hi Thushan, >>>> >>>> What we are getting from API has the alphabetically order (enforced by >>>> query response and by the way we persist hyper-parameters in DB). But we >>>> need to enforce some logical order for hyper-parameters in our UI. This is >>>> the reason to change the order. >>>> >>>> Regards, >>>> CD >>>> >>>> On Thu, Jun 25, 2015 at 10:25 AM, Thushan Ganegedara <thu...@gmail.com> >>>> wrote: >>>> >>>>> Hello CD, >>>>> >>>>> Thank you very much for the clarification. >>>>> >>>>> On Thu, Jun 25, 2015 at 2:50 PM, CD Athuraliya <chathur...@wso2.com> >>>>> wrote: >>>>> >>>>>> Hi Thushan, >>>>>> >>>>>> For the moment we are not retrieving algorithms in algorithm >>>>>> selection step (algorithm.jag) from API. So you will have to add your new >>>>>> algorithm to relevant .jag file manually (by updating markup). But for >>>>>> hyper-parameters it should work by adding them to machine-learner.xml >>>>>> as Nirmal has mentioned. We will be fixing algorithm.jag soon to retrieve >>>>>> algorithms from API, but for now please follow these steps. >>>>>> >>>>>> Regards, >>>>>> CD >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Jun 25, 2015 at 10:11 AM, Nirmal Fernando <nir...@wso2.com> >>>>>> wrote: >>>>>> >>>>>>> Ok. Few pointers below; >>>>>>> >>>>>>> 1. We have all the default set of hyper parameters for each >>>>>>> algorithm in machine-learner.xml file. >>>>>>> https://github.com/wso2/carbon-ml/blob/master/features/ml/org.wso2.carbon.ml.core.feature/src/main/resources/conf/machine-learner.xml#L55 >>>>>>> >>>>>>> 2. If you like to add a new algorithm, you should first add it in >>>>>>> machine-learner.xml file. >>>>>>> >>>>>>> 3. Then, once you select your new algorithm via UI, you'll get the >>>>>>> default set of hyper parameters. >>>>>>> >>>>>>> >>>>>>> On Thu, Jun 25, 2015 at 9:58 AM, Thushan Ganegedara < >>>>>>> thu...@gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm trying to add the hyper-parameters related to deep-networks. >>>>>>>> (Deep Networks needs several new additional parameters) >>>>>>>> So once the ajax call made, it should return correct >>>>>>>> hyper-parameters for the deep network algorithm specified by user. >>>>>>>> >>>>>>>> On Thu, Jun 25, 2015 at 2:25 PM, Nirmal Fernando <nir...@wso2.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi Thushan, >>>>>>>>> >>>>>>>>> Nope, we do not have one at hand as of now, but we will need to do >>>>>>>>> one when time permits. >>>>>>>>> >>>>>>>>> What are you trying to do? >>>>>>>>> >>>>>>>>> On Thu, Jun 25, 2015 at 9:45 AM, Thushan Ganegedara < >>>>>>>>> thu...@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi all, >>>>>>>>>> >>>>>>>>>> I started looking into Jaggery UI with the intention of changing >>>>>>>>>> the interface to accommodate Deep Networks. >>>>>>>>>> >>>>>>>>>> One of the initial tasks is to get the correct hyper parameters >>>>>>>>>> for the Deep Network user select. I found out that this is returned >>>>>>>>>> with, >>>>>>>>>> s*erverUrl + "/api/analyses/" + analysisId + >>>>>>>>>> "/hyperParameters?algorithmName=" + algorithmName, located in >>>>>>>>>> parameters.jag* >>>>>>>>>> >>>>>>>>>> I started looking into the retrievel process of hyperparameters >>>>>>>>>> and it seems this is using the api produced by *carbon-ml* to >>>>>>>>>> retrieve hyperparameters. >>>>>>>>>> >>>>>>>>>> I noticed that, *AnalysisAPIv10.java* and *MLAnalysisHandler.jav*a >>>>>>>>>> are the high-level classes which handles this request. >>>>>>>>>> >>>>>>>>>> However, I'm having trouble delving into detailed request >>>>>>>>>> handling. >>>>>>>>>> >>>>>>>>>> Is there any documentation which might help? I couldn't find any >>>>>>>>>> dev level documentation in the official WSO2-ml documentation. >>>>>>>>>> >>>>>>>>>> Thank you >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Regards, >>>>>>>>>> >>>>>>>>>> Thushan Ganegedara >>>>>>>>>> School of IT >>>>>>>>>> University of Sydney, Australia >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Thanks & regards, >>>>>>>>> Nirmal >>>>>>>>> >>>>>>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc. >>>>>>>>> Mobile: +94715779733 >>>>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> >>>>>>>> Thushan Ganegedara >>>>>>>> School of IT >>>>>>>> University of Sydney, Australia >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Thanks & regards, >>>>>>> Nirmal >>>>>>> >>>>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc. >>>>>>> Mobile: +94715779733 >>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> Dev@wso2.org >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *CD Athuraliya* >>>>>> Software Engineer >>>>>> WSO2, Inc. >>>>>> lean . enterprise . middleware >>>>>> Mobile: +94 716288847 <94716288847> >>>>>> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter >>>>>> <https://twitter.com/cdathuraliya> | Blog >>>>>> <http://cdathuraliya.tumblr.com/> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> >>>>> Thushan Ganegedara >>>>> School of IT >>>>> University of Sydney, Australia >>>>> >>>> >>>> >>>> >>>> -- >>>> *CD Athuraliya* >>>> Software Engineer >>>> WSO2, Inc. >>>> lean . enterprise . middleware >>>> Mobile: +94 716288847 <94716288847> >>>> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter >>>> <https://twitter.com/cdathuraliya> | Blog >>>> <http://cdathuraliya.tumblr.com/> >>>> >>> >>> >>> >>> -- >>> Regards, >>> >>> Thushan Ganegedara >>> School of IT >>> University of Sydney, Australia >>> >> >> >> >> -- >> Regards, >> >> Thushan Ganegedara >> School of IT >> University of Sydney, Australia >> > > > > -- > > Thanks & regards, > Nirmal > > Associate Technical Lead - Data Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > > > -- Regards, Thushan Ganegedara School of IT University of Sydney, Australia
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev