2 Replies - 5717 Views - Last Post: 22 July 2007 - 07:28 AM Rate Topic: -----

#1 norxxyy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 12-July 07

How to write a batch file to time a weka program

Posted 12 July 2007 - 05:46 PM

Hi,

This is the dos command to start timer. Is the dos timer correct and how do I get it to time the weka XMeans clusters listed below the dos code?

Thank you.
norxxyy.

 
@echo off
date /t
time /t

REM other commands

date /t
time /t
 


This is the weka command and it is correct.
 C:\Program Files\Weka-3-5>java weka.clusterers.MakeDensityBasedClusterer -t Z:\Noreen\Thesis_ng\CV_10x10\sample1a.arff -x 10 -W 
weka.clusterers.XMeans -- -I 1 -M 1000 -J 1000 -L 2 -H 4 -B 1.0 -C 0.5 -D "weka.core.EuclideanDistance " -S 10



Is This A Good Question/Topic? 0
  • +

Replies To: How to write a batch file to time a weka program

#2 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: How to write a batch file to time a weka program

Posted 21 July 2007 - 11:15 PM

Well your questions about weka and XMeans I don't think anyone here will be able to answer. All I know is that you are doing something with Data mining.

It seem that you are asking about timing a program. I think it would be better to do with with VBS or a Powershell script than in a dos batch file.

If you call the weca functions from within a java program rather than using the command line interface you should much more control over such things.
Was This Post Helpful? 0
  • +
  • -

#3 norxxyy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 12-July 07

Re: How to write a batch file to time a weka program

Posted 22 July 2007 - 07:28 AM

View Postnorxxyy, on 12 Jul, 2007 - 05:46 PM, said:

Hi,

This is the dos command to start timer. Is the dos timer correct and how do I get it to time the weka XMeans clusters listed below the dos code?

Thank you.
norxxyy.

 
@echo off
date /t
time /t

REM other commands

date /t
time /t
 


This is the weka command and it is correct.
 C:\Program Files\Weka-3-5>java weka.clusterers.MakeDensityBasedClusterer -t Z:\Noreen\Thesis_ng\CV_10x10\sample1a.arff -x 10 -W 
weka.clusterers.XMeans -- -I 1 -M 1000 -J 1000 -L 2 -H 4 -B 1.0 -C 0.5 -D "weka.core.EuclideanDistance " -S 10



NickDMax, thanks for your help.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1