Also, avoid static methods in transformations.

On Thu, Aug 27, 2015 at 2:48 AM, Supun Sethunga <sup...@wso2.com> wrote:

> Hi Danula,
>
> Few comments:
>
>    - You might have to register the component in the OSGI environment, to
>    be able to call the services from a another component.  Refer [1] on how to
>    do this.
>    - Better to introduce an interface for WranglerOperation class.
>    - Add class level/ method level comments.
>    - Use logger in-place of System.out.println
>
> [1]
> https://github.com/danula/carbon-ml/blob/master/components/ml/org.wso2.carbon.ml.database/src/main/java/org/wso2/carbon/ml/database/internal/ds/MLDatabaseServiceDS.java
>
> Thanks,
> Supun
>
> On Wed, Aug 26, 2015 at 1:32 PM, Danula Eranjith <hmdanu...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I added the component at [1]
>> <https://github.com/danula/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.wrangler>
>> Please have a look.
>>
>> [1] -
>> https://github.com/danula/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.wrangler
>>
>> Danula
>>
>> On Tue, Aug 25, 2015 at 8:35 PM, Danula Eranjith <hmdanu...@gmail.com>
>> wrote:
>>
>>> Thanks Supun
>>>
>>> On Tue, Aug 25, 2015 at 7:25 PM, Supun Sethunga <sup...@wso2.com> wrote:
>>>
>>>> You can integrate it to [1], by adding a new component
>>>> "org.wso2.carbon.ml.wrangler". Each component is a carbon component.
>>>>
>>>> Please follow the naming conventions used in the other components, for
>>>> package names and etc..
>>>>
>>>> [1] https://github.com/wso2/carbon-ml/tree/master/components/ml
>>>>
>>>> Thanks,
>>>> Supun
>>>>
>>>> On Tue, Aug 25, 2015 at 7:33 AM, Danula Eranjith <hmdanu...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Can you suggest where I should be ideally integrating these files[1]
>>>>> <https://github.com/danula/wso2-ml-wrangler-integration/tree/master/src>
>>>>> in ML.
>>>>>
>>>>> [1] -
>>>>> https://github.com/danula/wso2-ml-wrangler-integration/tree/master/src
>>>>>
>>>>> Thanks,
>>>>> Danula
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Supun Sethunga*
>>>> Software Engineer
>>>> WSO2, Inc.
>>>> http://wso2.com/
>>>> lean | enterprise | middleware
>>>> Mobile : +94 716546324
>>>>
>>>
>>>
>>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> http://wso2.com/
> lean | enterprise | middleware
> Mobile : +94 716546324
>



-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
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

Reply via email to