Thushan had some outdated Jars and the issue got sorted after using latest
code.

On Tue, Jun 23, 2015 at 9:34 AM, Nirmal Fernando <[email protected]> wrote:

> Sorry, I somehow missed the vital information on the file.
>
> These properties are in {ML_HOME}/repository/conf/machine-learner.xml file
> and please restart ML, after doing those changes.
>
> On Tue, Jun 23, 2015 at 9:24 AM, Thushan Ganegedara <[email protected]>
> wrote:
>
>> Never mind! I found where the variables are
>>
>> However, even after changing the variable /tmp to C:\tmp the problem
>> still exist (C:\tmp is a valid folder)
>>
>> On Tue, Jun 23, 2015 at 1:37 PM, Thushan Ganegedara <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> You're on Windows right?
>>> Yes, I am
>>>
>>> <Property name="target.home" value="/tmp" />
>>>
>>> <StorageDirectory>/tmp</StorageDirectory>
>>> Can you tell me where to find these variables?
>>>
>>>  And are you using master branch?
>>> I'm currently using a forked version of the master branch of product-ml
>>>
>>> Thank you
>>>
>>> On Tue, Jun 23, 2015 at 12:37 PM, Nirmal Fernando <[email protected]>
>>> wrote:
>>>
>>>> Hi Thushan,
>>>>
>>>> You're on Windows right? We have a usability issue which we'll be
>>>> fixing soon for our Windows users. For now, you have to change following;
>>>>
>>>> <Property name="target.home" value="/tmp" />
>>>>
>>>> <StorageDirectory>/tmp</StorageDirectory>
>>>>
>>>> to a valid Windows file system folder. Let us know how it goes. And are
>>>> you using master branch? If not please use master, as we have done few
>>>> fixes for Windows usage.
>>>>
>>>> On Tue, Jun 23, 2015 at 5:55 AM, Thushan Ganegedara <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I trained a Logistic Regression model on IRIS dataset and I tried
>>>>> classifying a test file (a portion of the original file in csv format)
>>>>>
>>>>> But when I try to do that, I get this error.
>>>>> Error occurred while predicting from model [id] 2 of tenant [id] -1234
>>>>> and [user] admin. Cause:
>>>>> org.wso2.carbon.ml.core.exceptions.MLModelHandlerException - Failed to
>>>>> retrieve the model [id] 2
>>>>>
>>>>> The error in the console
>>>>>         at java.lang.Thread.run(Thread.java:745)
>>>>> Caused by: java.net.URISyntaxException: Illegal character in path at
>>>>> index 4: /t
>>>>> mp\TestAnalysis2.Model.2015-06-23_10-16-46
>>>>>         at java.net.URI$Parser.fail(URI.java:2848)
>>>>>         at java.net.URI$Parser.checkChars(URI.java:3021)
>>>>>         at java.net.URI$Parser.parseHierarchical(URI.java:3105)
>>>>>         at java.net.URI$Parser.parse(URI.java:3063)
>>>>>         at java.net.URI.<init>(URI.java:588)
>>>>>         at
>>>>> org.wso2.carbon.ml.core.impl.MLModelHandler.retrieveModel(MLModelHand
>>>>> ler.java:386)
>>>>>
>>>>>
>>>>> This is the URL I have
>>>>>
>>>>> http://10.16.64.212:9763/ml/site/predict/predict.jag?analysisId=2&datasetId=1&modelId=2&projectName=TestProject&analysisName=TestAnalysis2&modelName=TestAnalysis2.Model.2015-06-23_10-16-46&fromCompare=false
>>>>>
>>>>> Any idea why this is happening?
>>>>>
>>>>> 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
>>>
>>
>>
>>
>> --
>> 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/
>
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to