How to resolve "Error in node 'Define Training Testing Sample': unexpected character"

How to resolve "Error in node 'Define Training Testing Sample': unexpected character"

book

Article ID: KB0070450

calendar_today

Updated On:

Products Versions
Spotfire Statistica 14.x and higher

Description

If Windows language is set different other than English( United States) and then if we use Define Training Testing Sample node and if we get below error then we can resolve the same by changing some regional locale settings.

Screenshot of the Node which gives this below error:
User-added image


Error:
User-added image

 

Issue/Introduction

We can resolve the error that we are getting when we use Define Training Testing Sample node by simply changing some regional local settings.

Environment

Windows OS

Resolution

1.  To resolve the above error go to Control panel-->Region.
User-added image

2.  Go to additional settings---> Select Decimal symbol as (.) and List Separator as (,)
User-added image

3. Also, please select the format as English(United States) and after all these steps please execute the workspace and it will run without any error.

User-added image

4. After following all the steps mentioned above, please restart the computer.

NOTE: 1. For every different Region format the Decimal Symbol and List separator will be changed. For example:  If the format is
Czech(Czechia) then the Decimal separator will be (,) and the List Separator will be (;).
If you keep the Decimal separator (.) and List Separator (,) and choose the format as Czech(Czechia) then the workspace will throw an error.

2. In the attached workspace there is example of the Define Training testing node.






 

Attachments

How to resolve "Error in node 'Define Training Testing Sample': unexpected character" get_app