Search:

Type: Posts; User: Bob M

Search: Search took 0.14 seconds.

  1. Replies
    15
    Views
    216

    Re: Help in recoding more efficiently

    In a word - No!

    The first iteration (time interval) is perfect
    Thereafter it is all wrong

    p.s. normally I wouldn't worry about repeating code over and over but the classifier LibSVM has a...
  2. Replies
    15
    Views
    216

    Re: Help in recoding more efficiently

    Initially, the 'fc' forms part of the once-only code and so is encapsulated within this code
    But I am using fc..... outside this {}

    I therefore took the fc definition line out of the once-only...
  3. Replies
    15
    Views
    216

    Re: Help in recoding more efficiently

    hi Norm

    When I encapsulate the red code in a once-only loop I run into problems............

    the very next line of code is fc.buildClassifier(training);

    but the 'fc' no longer is in scope ???...
  4. Replies
    15
    Views
    216

    Re: Help in recoding more efficiently

    Could you elaborate on your statement with examples please

    Bob M
  5. Replies
    15
    Views
    216

    Re: Help in recoding more efficiently

    Hi Norm

    That is exactly what I have already tried to do but I am having difficulty grasping how to refer to each of the seven classifiers outside the once-only part of code ???

    Bob M
  6. Replies
    15
    Views
    216

    Re: Help in recoding more efficiently

    Hi Greg

    Executing code at a timed interval is NOT my problem............
    I just wish to extract the highlighted code so that it runs once only

    Thanks

    Bob M
  7. Replies
    15
    Views
    216

    Help in recoding more efficiently

    Hi

    I am very new to Java and need help in recoding my program
    At the moment I have a patch of code which is performed every 6 hours
    Part of this code needs only to be performed ONCE!
    But I am...
Results 1 to 7 of 7