Skip to Content.
Sympa Menu

illinois-ml-nlp-users - Re: [Illinois-ml-nlp-users] Question about reproducing the results in table 6 of the EMNLP 2008 paper

illinois-ml-nlp-users AT lists.siebelschool.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

Re: [Illinois-ml-nlp-users] Question about reproducing the results in table 6 of the EMNLP 2008 paper


Chronological Thread 
  • From: "Srikumar, Vivek" <vsrikum2 AT illinois.edu>
  • To: Jonathan Kummerfeld <jkk AT cs.berkeley.edu>
  • Cc: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: Re: [Illinois-ml-nlp-users] Question about reproducing the results in table 6 of the EMNLP 2008 paper
  • Date: Mon, 3 Oct 2011 22:03:35 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

Hi Jonathan.

If you have a classifier is defined in the LBJ code, then you can use its
feature generator in java code as follows:

Learner learner = new MyLearner();

Classifier featureGenerator = learner.getExtractor();

FeatureVector features = featureGenerator.classify(example);

// This will print a big list

System.out.println(features);

for (int i = 0; i < features.size(); i++) {
// Do something with each feature
System.out.println(features.getFeature(i));
}


-- vivek




On 10/3/11 3:27 PM, "Jonathan Kummerfeld"
<jkk AT cs.berkeley.edu>
wrote:

>Hi,
> I think I've got this worked out now - there are a set of features in
>emnlp8.lbj that map on to what is mentioned in the paper, so I've been
>looking at various splits of those.
>
> Next question - is there an easy way to get the system to print the
>feature vector for each example? I want to be able to see the output of
>the features for concrete examples (I can look at the code myself, but
>seeing an actual example is a great way to check my understanding).
>
>Thank you!
>
>Jonathan
>
>On 26 September 2011 13:17, Sammons, Mark
><mssammon AT illinois.edu>
> wrote:
>
>Hi, Jonathan.
>
>I don't believe there is an easy way to specify subsets of features -- as
>you have surmised, your best chance is via modifying the various .lbj
>files referred to in the README and then recompiling.
>
>(Possibly, for some configurations you could compile with only a subset
>of the .lbj files, but I don't know how the feature specification is
>organized with respect to the published results.)
>
>Regards,
>
>Mark
>
>________________________________________
>From:
>illinois-ml-nlp-users-bounces AT cs.uiuc.edu
>[illinois-ml-nlp-users-bounces AT cs.uiuc.edu]
> on behalf of Jonathan
>Kummerfeld
>[jkk AT cs.berkeley.edu]
>Sent: Monday, September 26, 2011 3:11 PM
>To:
>illinois-ml-nlp-users AT cs.uiuc.edu
>Subject: [Illinois-ml-nlp-users] Question about reproducing the results
>in table 6 of the EMNLP 2008 paper
>
>
>Hi,
> I am interested in reproducing the coreference resolution data (numbers
>and output) that was used for table 6 in Bengston and Roth (2008). I've
>downloaded the relevant packages and built the coreference system, but I
>can't see how to run anything other than
> the full system. Is there a simple way to run with the various subsets
>of features? Or do I need to adjust the code, removing features by
>adjusting emnlp8.lbj?
>
>Thank you!
>
>Jonathan Kummerfeld
>Graduate Student - Computer Science, UC Berkeley
>
>
>
>
>
>
>
>
>
>
>
>_______________________________________________
>illinois-ml-nlp-users mailing list
>illinois-ml-nlp-users AT cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/illinois-ml-nlp-users






Archive powered by MHonArc 2.6.16.

Top of Page