Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: "} expected at end of enumeration, read Token[EOL], line 4"

  1. #1
    Join Date
    May 2013
    Posts
    8

    Default "} expected at end of enumeration, read Token[EOL], line 4"

    Hello,

    i'm starting with weka and i am try load an arff file but when i try, the program says:

    " } expected at end of enumeration, read Token[EOL], line 4"


    below is the part of file that contain the error, the line 4 is the
    @attribute age, but it have the "{" in the beginning and "}" at end.


    --------------------------------------
    @relation test


    @attribute Nick { example1, example2, example3, example4, example5, example6, example7 }
    @attribute age { '50-59','40-49','0-9','20-29','60-69','30-39','70-79' }
    --------------------------------------


    can someone help me? thanks

  2. #2
    Join Date
    May 2013
    Posts
    8

    Default

    resolved. was a mistake in the name that contained the symbol '. the error was in the nick attribute but the program indicated an error in the attribute age.

    thank you

  3. #3
    Join Date
    Apr 2015
    Posts
    2

    Default weka

    Im having the same problem with error } expected at end of enumeration, read Token[EOL], line 4, could you please tell me how you resolved yours? thanks

  4. #4
    Join Date
    Apr 2015
    Posts
    2

    Default weka

    Quote Originally Posted by mtefe View Post
    resolved. was a mistake in the name that contained the symbol '. the error was in the nick attribute but the program indicated an error in the attribute age.

    thank you


    Im havng similar errors, can you please help me out. thanks

  5. #5
    Join Date
    Jun 2015
    Posts
    12

    Default

    Dear all,

    I am starting data mining with Weka. I have my attributes in Wordpad but I receive a message } expected at end of enumeration, read Token[EOL], line 4.

    My data is very simple.

    @relation 'DATA'

    @attribute ProductLineName {'baddrakter','bhtoppar','bikinis',

    'festklannin','jumpsuits','kjolar','klanningar','leggings','topp
    ar','trosor'}

    I hope someone have a clue.

    Thanks



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.