In R, I can get a matrix representation of the lsaspace using as.textmatrix(lsaspace). Is there a way to get the same using weka's lsa package?
In R:
lsaspace = lsa(matrix)
m2 = as.textmatrix(lsaspace)
Looking to do the same using weka/lsa.
Thanks
On Sat, Jun 11, 2011 at 9:56 PM, Sudhakar Kumar <> wrote:
> In R, I can get a matrix representation of the lsaspace using
> as.textmatrix(lsaspace). Is there a way to get the same using weka's lsa
> package?
>
> In R:
> lsaspace = lsa(matrix)
> m2 = as.textmatrix(lsaspace)
>
> Looking to do the same using weka/lsa.
>
> Thanks
Hi Sudhakar,
I don't know how it works in R or exactly what that will give you, but
if you use LSA's toString() function it will print out information on
the singular values and the left and right singular vectors.
-Amri Napolitano
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
_______________________________________________
Wekalist mailing list
Send posts to:
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
)
Thank you for the response Amri.
I can compute the resulting matrix, if I can get access to the singular values and the left/right singular vectors. Essentially looking for methods that give me access to the private vars m_s, m_v and m_u.
> Date: Mon, 13 Jun 2011 23:08:35 +0530
> Subject: Re: [Wekalist] LSA
> From:
> To:
>
> On Sat, Jun 11, 2011 at 9:56 PM, Sudhakar Kumar <> wrote:
> > In R, I can get a matrix representation of the lsaspace using
> > as.textmatrix(lsaspace). Is there a way to get the same using weka's lsa
> > package?
> >
> > In R:
> > lsaspace = lsa(matrix)
> > m2 = as.textmatrix(lsaspace)
> >
> > Looking to do the same using weka/lsa.
> >
> > Thanks
>
> Hi Sudhakar,
> I don't know how it works in R or exactly what that will give you, but
> if you use LSA's toString() function it will print out information on
> the singular values and the left and right singular vectors.
> -Amri Napolitano
>
> >
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to:
> > List info and subscription status:
> > https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette:
> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> >
> >
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Happy to provide a patch if the request is acceptable. Please advise.
From:
To:
Subject: RE: [Wekalist] LSA
Date: Mon, 13 Jun 2011 15:44:16 -0400
Thank you for the response Amri.
I can compute the resulting matrix, if I can get access to the singular values and the left/right singular vectors. Essentially looking for methods that give me access to the private vars m_s, m_v and m_u.
> Date: Mon, 13 Jun 2011 23:08:35 +0530
> Subject: Re: [Wekalist] LSA
> From:
> To:
>
> On Sat, Jun 11, 2011 at 9:56 PM, Sudhakar Kumar <> wrote:
> > In R, I can get a matrix representation of the lsaspace using
> > as.textmatrix(lsaspace). Is there a way to get the same using weka's lsa
> > package?
> >
> > In R:
> > lsaspace = lsa(matrix)
> > m2 = as.textmatrix(lsaspace)
> >
> > Looking to do the same using weka/lsa.
> >
> > Thanks
>
> Hi Sudhakar,
> I don't know how it works in R or exactly what that will give you, but
> if you use LSA's toString() function it will print out information on
> the singular values and the left and right singular vectors.
> -Amri Napolitano
>
> >
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to:
> > List info and subscription status:
> > https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette:
> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> >
> >
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
_______________________________________________
Wekalist mailing list
Send posts to:
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
I updated it to include getU(), getV(), and getSigma() functions to
return those matrices. It hasn't been added to the official list yet
but I think you can install it now using the command line version of
the package manager (I've never done it before but this page:
http://weka.wikispaces.com/How+do+I+use+the+package+manager%3F talks
about it). The URL for the package is below.
http://student.cse.fau.edu/~anapoli1/latentSemanticAnalysis.zip
On Wed, Jun 15, 2011 at 4:46 PM, Sudhakar Kumar <> wrote:
> Happy to provide a patch if the request is acceptable. Please advise.
>
> ________________________________
> From:
> To:
> Subject: RE: [Wekalist] LSA
> Date: Mon, 13 Jun 2011 15:44:16 -0400
>
> Thank you for the response Amri.
>
> I can compute the resulting matrix, if I can get access to the singular
> values and the left/right singular vectors. Essentially looking for methods
> that give me access to the private vars m_s, m_v and m_u.
>
>
>> Date: Mon, 13 Jun 2011 23:08:35 +0530
>> Subject: Re: [Wekalist] LSA
>> From:
>> To:
>>
>> On Sat, Jun 11, 2011 at 9:56 PM, Sudhakar Kumar <>
>> wrote:
>> > In R, I can get a matrix representation of the lsaspace using
>> > as.textmatrix(lsaspace). Is there a way to get the same using weka's lsa
>> > package?
>> >
>> > In R:
>> > lsaspace = lsa(matrix)
>> > m2 = as.textmatrix(lsaspace)
>> >
>> > Looking to do the same using weka/lsa.
>> >
>> > Thanks
>>
>> Hi Sudhakar,
>> I don't know how it works in R or exactly what that will give you, but
>> if you use LSA's toString() function it will print out information on
>> the singular values and the left and right singular vectors.
>> -Amri Napolitano
>>
>> >
>> > _______________________________________________
>> > Wekalist mailing list
>> > Send posts to:
>> > List info and subscription status:
>> > https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> > List etiquette:
>> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>> >
>> >
>>
>> _______________________________________________
>> Wekalist mailing list
>> Send posts to:
>> List info and subscription status:
>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> List etiquette:
>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________ Wekalist mailing list Send
> posts to: List info and subscription
> status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist List
> etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
_______________________________________________
Wekalist mailing list
Send posts to:
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
)
Thank you very much. Very appreciative for the quick response.
> Date: Thu, 16 Jun 2011 19:02:02 +0530
> Subject: Re: [Wekalist] LSA
> From:
> To:
>
> I updated it to include getU(), getV(), and getSigma() functions to
> return those matrices. It hasn't been added to the official list yet
> but I think you can install it now using the command line version of
> the package manager (I've never done it before but this page:
> http://weka.wikispaces.com/How+do+I+use+the+package+manager%3F talks
> about it). The URL for the package is below.
>
> http://student.cse.fau.edu/~anapoli1/latentSemanticAnalysis.zip
>
> On Wed, Jun 15, 2011 at 4:46 PM, Sudhakar Kumar <> wrote:
> > Happy to provide a patch if the request is acceptable. Please advise.
> >
> > ________________________________
> > From:
> > To:
> > Subject: RE: [Wekalist] LSA
> > Date: Mon, 13 Jun 2011 15:44:16 -0400
> >
> > Thank you for the response Amri.
> >
> > I can compute the resulting matrix, if I can get access to the singular
> > values and the left/right singular vectors. Essentially looking for methods
> > that give me access to the private vars m_s, m_v and m_u.
> >
> >
> >> Date: Mon, 13 Jun 2011 23:08:35 +0530
> >> Subject: Re: [Wekalist] LSA
> >> From:
> >> To:
> >>
> >> On Sat, Jun 11, 2011 at 9:56 PM, Sudhakar Kumar <>
> >> wrote:
> >> > In R, I can get a matrix representation of the lsaspace using
> >> > as.textmatrix(lsaspace). Is there a way to get the same using weka's lsa
> >> > package?
> >> >
> >> > In R:
> >> > lsaspace = lsa(matrix)
> >> > m2 = as.textmatrix(lsaspace)
> >> >
> >> > Looking to do the same using weka/lsa.
> >> >
> >> > Thanks
> >>
> >> Hi Sudhakar,
> >> I don't know how it works in R or exactly what that will give you, but
> >> if you use LSA's toString() function it will print out information on
> >> the singular values and the left and right singular vectors.
> >> -Amri Napolitano
> >>
> >> >
> >> > _______________________________________________
> >> > Wekalist mailing list
> >> > Send posts to:
> >> > List info and subscription status:
> >> > https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> >> > List etiquette:
> >> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> >> >
> >> >
> >>
> >> _______________________________________________
> >> Wekalist mailing list
> >> Send posts to:
> >> List info and subscription status:
> >> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> >> List etiquette:
> >> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> >
> > _______________________________________________ Wekalist mailing list Send
> > posts to: List info and subscription
> > status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist List
> > etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to:
> > List info and subscription status:
> > https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette:
> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> >
> >
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
The package has been updated on the official list now also.
On Thu, Jun 16, 2011 at 7:57 PM, Sudhakar Kumar <> wrote:
> Thank you very much. Very appreciative for the quick response.
>
>> Date: Thu, 16 Jun 2011 19:02:02 +0530
>> Subject: Re: [Wekalist] LSA
>> From:
>> To:
>>
>> I updated it to include getU(), getV(), and getSigma() functions to
>> return those matrices. It hasn't been added to the official list yet
>> but I think you can install it now using the command line version of
>> the package manager (I've never done it before but this page:
>> http://weka.wikispaces.com/How+do+I+use+the+package+manager%3F talks
>> about it). The URL for the package is below.
>>
>> http://student.cse.fau.edu/~anapoli1/latentSemanticAnalysis.zip
>>
>> On Wed, Jun 15, 2011 at 4:46 PM, Sudhakar Kumar <>
>> wrote:
>> > Happy to provide a patch if the request is acceptable. Please advise.
>> >
>> > ________________________________
>> > From:
>> > To:
>> > Subject: RE: [Wekalist] LSA
>> > Date: Mon, 13 Jun 2011 15:44:16 -0400
>> >
>> > Thank you for the response Amri.
>> >
>> > I can compute the resulting matrix, if I can get access to the singular
>> > values and the left/right singular vectors. Essentially looking for
>> > methods
>> > that give me access to the private vars m_s, m_v and m_u.
>> >
>> >
>> >> Date: Mon, 13 Jun 2011 23:08:35 +0530
>> >> Subject: Re: [Wekalist] LSA
>> >> From:
>> >> To:
>> >>
>> >> On Sat, Jun 11, 2011 at 9:56 PM, Sudhakar Kumar <>
>> >> wrote:
>> >> > In R, I can get a matrix representation of the lsaspace using
>> >> > as.textmatrix(lsaspace). Is there a way to get the same using weka's
>> >> > lsa
>> >> > package?
>> >> >
>> >> > In R:
>> >> > lsaspace = lsa(matrix)
>> >> > m2 = as.textmatrix(lsaspace)
>> >> >
>> >> > Looking to do the same using weka/lsa.
>> >> >
>> >> > Thanks
>> >>
>> >> Hi Sudhakar,
>> >> I don't know how it works in R or exactly what that will give you, but
>> >> if you use LSA's toString() function it will print out information on
>> >> the singular values and the left and right singular vectors.
>> >> -Amri Napolitano
>> >>
>> >> >
>> >> > _______________________________________________
>> >> > Wekalist mailing list
>> >> > Send posts to:
>> >> > List info and subscription status:
>> >> > https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> >> > List etiquette:
>> >> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>> >> >
>> >> >
>> >>
>> >> _______________________________________________
>> >> Wekalist mailing list
>> >> Send posts to:
>> >> List info and subscription status:
>> >> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> >> List etiquette:
>> >> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>> >
>> > _______________________________________________ Wekalist mailing list
>> > Send
>> > posts to: List info and subscription
>> > status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist List
>> > etiquette:
>> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>> > _______________________________________________
>> > Wekalist mailing list
>> > Send posts to:
>> > List info and subscription status:
>> > https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> > List etiquette:
>> > http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>> >
>> >
>>
>> _______________________________________________
>> Wekalist mailing list
>> Send posts to:
>> List info and subscription status:
>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> List etiquette:
>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
_______________________________________________
Wekalist mailing list
Send posts to:
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
)