Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: java.lang.exception error when using CVParameterSelection

  1. #1
    Join Date
    Jan 2016
    Posts
    1

    Default java.lang.exception error when using CVParameterSelection

    Hi, guys. I need your help to use CVParameterSelection. I tried to find some optimized paramters for K-nearest neighbor (ibk) but i've got an error message "java.lang.Exception while updating CVParameters: CVParameter 1 java.lang.String: Four or Five components expected!" when i tried to change [0 java.lang.String -> 1 java.lang.String]. How can I do this? Thanks.

    Name:  capture.jpg
Views: 112
Size:  30.9 KB

  2. #2
    Join Date
    Aug 2006
    Posts
    1,741

    Default

    Which parameter are you trying to optimise? E.g. for the K parameter of IBK you need to enter something like:

    K 1 10 10

    This will explore K values from 1 to 10 with 10 steps (e.g. incrementing K by 1 each time). To have 4 steps (e.g. K = 1, 4, 7, and 10):

    K 1 10 4

    Pressing the "More" button on the CVParameterSelection editor dialog in the GUI gives you usage instructions.

    Cheers,
    Mark.

Tags for this Thread

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.