Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24115
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2013-05-17 14:51 -0700 |
| References | <b1c67425-100c-4249-9cb3-01759359d305@googlegroups.com> |
| Message-ID | <059f855e-7639-4cee-b484-d84e97e9b8fa@googlegroups.com> (permalink) |
| Subject | Re: Some questions on Ant |
| From | subhabangalore@gmail.com |
On Monday, May 13, 2013 1:10:31 AM UTC+5:30, subhaba...@gmail.com wrote:
> Dear Room,
>
>
>
> I was trying to learn Apache Ant.
>
>
>
> I got the following information.
>
>
>
> i)Ant is a build tool, it helps to create .exe file.
>
> ii) Compiling is a subtask of building.
>
>
>
> Now,
>
> I am confused with few questions.
>
>
>
> I was exploring the "Ant build" in Eclipse.
>
>
>
> I could create one "build.xml" and could run successfully.
>
>
>
> The questions are:
>
> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?
>
>
>
> ii) After the "build.xml" gives report like,
>
>
>
> Hello:
>
> [echo] Hello
>
> BUILD SUCCESSFUL
>
> Total time: 477 milliseconds
>
>
>
> Where may I find .exe file? And how should I use it?
>
>
>
> If any one of the learned members can kindly suggest?
>
>
>
> Regards,
>
> Subhabrata.
Dear Group,
After lot of experiments and web surf, I could get the results.
C:\mallet\bin>mallet train-classifier --input output.mallet --output-classifier
my.classifier
Training portion = 1.0
Unlabeled training sub-portion = 0.0
Validation portion = 0.0
Testing portion = 0.0
-------------------- Trial 0 --------------------
Trial 0 Training NaiveBayesTrainer with 1 instances
Trial 0 Training NaiveBayesTrainer finished
Trial 0 Trainer NaiveBayesTrainer training data accuracy= 1.0
Trial 0 Trainer NaiveBayesTrainer Test Data Confusion Matrix
Trial 0 Trainer NaiveBayesTrainer test data accuracy= NaN
NaiveBayesTrainer
Summary. train accuracy mean = 1.0 stddev = 0.0 stderr = 0.0
Summary. test accuracy mean = NaN stddev = NaN stderr = NaN
C:\mallet\bin>
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\subhabrata>cd\
C:\>cd mallet
C:\mallet>cd bin
C:\mallet\bin>mallet train-classifier --input revised.mallet --output-classifier
mine.classifer
Training portion = 1.0
Unlabeled training sub-portion = 0.0
Validation portion = 0.0
Testing portion = 0.0
-------------------- Trial 0 --------------------
Trial 0 Training NaiveBayesTrainer with 21 instances
Trial 0 Training NaiveBayesTrainer finished
Trial 0 Trainer NaiveBayesTrainer training data accuracy= 0.5238095238095238
Trial 0 Trainer NaiveBayesTrainer Test Data Confusion Matrix
Trial 0 Trainer NaiveBayesTrainer test data accuracy= NaN
NaiveBayesTrainer
Summary. train accuracy mean = 0.5238095238095238 stddev = 0.0 stderr = 0.0
Summary. test accuracy mean = NaN stddev = NaN stderr = NaN
C:\mallet\bin>
Microsoft Windows [Version 6.1.7601]
C:\mallet\bin>mallet train-classifier --input revised.mallet --training-portion
0.9
Training portion = 0.9
Unlabeled training sub-portion = 0.0
Validation portion = 0.0
Testing portion = 0.09999999999999998
-------------------- Trial 0 --------------------
Trial 0 Training NaiveBayesTrainer with 19 instances
Trial 0 Training NaiveBayesTrainer finished
Trial 0 Trainer NaiveBayesTrainer training data accuracy= 0.5789473684210527
Trial 0 Trainer NaiveBayesTrainer Test Data Confusion Matrix
Confusion Matrix, row=true, column=predicted accuracy=0.0
label 0 1 2 3 4 5 6 7 8 9 10 11 |total
0 plot . . . . . . . . . . . . |0
1 Chauhan, . . . . . . . . . . . . |0
2 2 . . . . . . . . . . . |2
3 DELHI: . . . . . . . . . . . . |0
4 It's . . . . . . . . . . . . |0
5 A . . . . . . . . . . . . |0
6 "Pichle . . . . . . . . . . . . |0
7 all . . . . . . . . . . . . |0
8 Another . . . . . . . . . . . . |0
9 However . . . . . . . . . . . . |0
10 While . . . . . . . . . . . . |0
11 On . . . . . . . . . . . . |0
Trial 0 Trainer NaiveBayesTrainer test data accuracy= 0.0
NaiveBayesTrainer
Summary. train accuracy mean = 0.5789473684210527 stddev = 0.0 stderr = 0.0
Summary. test accuracy mean = 0.0 stddev = 0.0 stderr = 0.
C:\mallet\bin>mallet train-classifier --input revised.mallet --output-classifier
newly.classifier --trainer MaxEnt
Training portion = 1.0
Unlabeled training sub-portion = 0.0
Validation portion = 0.0
Testing portion = 0.0
-------------------- Trial 0 --------------------
Trial 0 Training MaxEntTrainer,gaussianPriorVariance=1.0 with 21 instances
Value (labelProb=52.18303964554802 prior=0.0) loglikelihood = -52.18303964554802
Value (labelProb=35.07842643418387 prior=0.5000000000000047) loglikelihood = -35
Value (labelProb=11.041269237873143 prior=7.57975726871467) loglikelihood = -18.
Value (labelProb=8.845302279528045 prior=8.283595234589693) loglikelihood = -17.
Value (labelProb=7.684014543706313 prior=8.67398223273065) loglikelihood = -16.3
Value (labelProb=7.620229834138587 prior=8.637738965621395) loglikelihood = -16.
Value (labelProb=7.6930087796076805 prior=8.55144842287889) loglikelihood = -16.
Value (labelProb=7.721825299388809 prior=8.520013417234695) loglikelihood = -16.
Value (labelProb=7.710910984716437 prior=8.529963512671845) loglikelihood = -16.
240874497388283
Exiting L-BFGS on termination #1:
value difference below tolerance (oldValue: -16.241838716623505 newValue: -16.24
0874497388283
Value (labelProb=8.706998275573689 prior=10.051741121362099) loglikelihood = -18
Value (labelProb=7.624790808427014 prior=8.637141273540822) loglikelihood = -16.
Value (labelProb=7.700549530911232 prior=8.540231288758795) loglikelihood = -16.
Value (labelProb=7.700990051603592 prior=8.539733279705375) loglikelihood = -16.
240723331308967
Exiting L-BFGS on termination #1:
value difference below tolerance (oldValue: -16.24078081967003 newValue: -16.240
723331308967
Trial 0 Training MaxEntTrainer,gaussianPriorVariance=1.0 finished
Trial 0 Trainer MaxEntTrainer,gaussianPriorVariance=1.0 training data accuracy=
0.9523809523809523
Trial 0 Trainer MaxEntTrainer,gaussianPriorVariance=1.0 Test Data Confusion Matr
ix
Trial 0 Trainer MaxEntTrainer,gaussianPriorVariance=1.0 test data accuracy= NaN
MaxEntTrainer,gaussianPriorVariance=1.0
Summary. train accuracy mean = 0.9523809523809523 stddev = 0.0 stderr = 0.0
Summary. test accuracy mean = NaN stddev = NaN stderr = NaN
C:\mallet\bin>
THANKS FOR PULLING ME UP. I ENJOYED.
Regards,
Subhabrata.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Some questions on Ant subhabangalore@gmail.com - 2013-05-12 12:40 -0700
Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-12 15:57 -0400
Re: Some questions on Ant Jeff Higgins <jeff@invalid.invalid> - 2013-05-13 09:28 -0400
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 07:25 -0700
Re: Some questions on Ant Jeff Higgins <jeff@invalid.invalid> - 2013-05-13 13:47 -0400
Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-13 19:07 -0400
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 15:01 -0700
Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 16:05 -0700
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 16:38 -0700
Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-13 20:19 -0400
Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 17:24 -0700
Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 17:21 -0700
Re: Some questions on Ant lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-14 09:43 +0100
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-14 07:19 -0700
Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-14 11:21 -0700
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-14 12:30 -0700
Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-14 13:08 -0700
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 12:15 -0700
Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-15 12:38 -0700
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 13:27 -0700
Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 00:02 +0200
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 23:12 -0700
Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 10:20 +0200
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 01:33 -0700
Re: Some questions on Ant JLP <JLP@jlp.com> - 2013-05-16 11:25 +0200
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 03:08 -0700
Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 12:45 +0200
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 04:04 -0700
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 13:26 -0700
Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-17 14:51 -0700
csiph-web