Hello everyone,
I am a new to Python. Now I am very interested in the FastICA algorithm posted
on:
http://scikit-learn.org/0.11/auto_examples/decomposition/plot_ica_blind_source_separation.html
I would like to use it to seperate an unresoluted spectra due to pressure
broadening effect, which indeed composed of two different spectrum, but I found
that the ICA algorithm cannot recover the exact amplitude of the individual
signal sources.
In my case, the amplitude of the individual signal sources should be
approximately constant after using the ICA analysis, or at least keep the same
enhancement factor for both signal sources. If not, then it's meaningless for
me.
Is there anybody can tell me how to resolve this issue.
Many thanks!
Kindly regards,
Lee
At 2013-01-14 16:55:30,[email protected] wrote:
>Send Scikit-learn-general mailing list submissions to
> [email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>or, via email, send a message with subject or body 'help' to
> [email protected]
>
>You can reach the person managing the list at
> [email protected]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Scikit-learn-general digest..."
>
>
>Today's Topics:
>
> 1. Re: Cross validation turns my lists into numpy arrays
> (Gael Varoquaux)
> 2. Re: Cross validation turns my lists into numpy arrays
> ([email protected])
> 3. Re: Roadmap / Scope (Andreas Mueller)
> 4. Re: Cross validation turns my lists into numpy arrays
> (Robert Layton)
> 5. Re: Cross validation turns my lists into numpy arrays
> (Andreas Mueller)
> 6. Re: Cross validation turns my lists into numpy arrays
> (Robert Layton)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 14 Jan 2013 07:42:03 +0100
>From: Gael Varoquaux <[email protected]>
>Subject: Re: [Scikit-learn-general] Cross validation turns my lists
> into numpy arrays
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=iso-8859-1
>
>> I've been having a lot of trouble loading as a numpy array. I know
>> generally how to do it, but I must be doing it wrong since the numpy
>> array can't fit in memory, whle the "list of strings" representation
>> does....
>
>I believe that it's because the string are store in a 'string
>representation', and thus padded to the longest string. Try using
>'dtype=object' in the constructor to avoid that problem.
>
>HTH,
>
>Ga?l
>
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 14 Jan 2013 08:14:17 +0100
>From: [email protected]
>Subject: Re: [Scikit-learn-general] Cross validation turns my lists
> into numpy arrays
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset="utf-8"
>
>there is a fix for that in current master. check arrays now has 'allow lists'.
>andy
>
>
>
>Robert Layton <[email protected]> schrieb:
>
>>When using cross_validation.X, all arrays are checked in the normal way
>>--
>>using check_arrays.
>>I am developing code that uses string documents as input, so I have a
>>list
>>of strings as the "data" and a numpy array as classes as normal.
>>(In case anyone doesn't know, my research area is authorship analysis.)
>>I have classes that use the Classifier mixins etc, so they work well
>>with
>>cross validation, except that a copy of the data is made to create the
>>numpy array.
>>Normally this is fine, but I'm now working with a really large dataset
>>that
>>fits into memory only once.
>>The copy that gets made by check_array causes a memory error.
>>
>>My question: converting to numpy arrays is intended behaviour, and fits
>>with the rest of the project. Should there be a way to turn it off?
>>i.e.
>>"respect_input_type=True" argument?
>>
>>
>>- Robert
>>
>>
>>--
>>
>>Public key at: http://pgp.mit.edu/ Search for this email address and
>>select
>>the key from "2011-08-19" (key id: 54BA8735)
>>
>>
>>------------------------------------------------------------------------
>>
>>------------------------------------------------------------------------------
>>Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>>MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>>with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>>MVPs and experts. SALE $99.99 this month only -- learn more at:
>>http://p.sf.net/sfu/learnmore_122412
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Scikit-learn-general mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>--
>Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>Message: 3
>Date: Mon, 14 Jan 2013 09:29:34 +0100
>From: Andreas Mueller <[email protected]>
>Subject: Re: [Scikit-learn-general] Roadmap / Scope
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hey everybody.
>I'd really like to get some more feedback from the other core devs about
>the survey idea.
>What do you think about it?
>
>Also, if we do it, it would be great if we could find one of the core
>devs to oversee it and see that it
>gets on the website in time and everything.
>I should really be working on my thesis right now, so I don't want to
>take charge of that (in addition
>to doing the rest of the release).
>
>Thanks,
>Andy
>
>
>
>------------------------------
>
>Message: 4
>Date: Mon, 14 Jan 2013 19:38:36 +1100
>From: Robert Layton <[email protected]>
>Subject: Re: [Scikit-learn-general] Cross validation turns my lists
> into numpy arrays
>To: [email protected]
>Message-ID:
> <CALcD8si2kjjjyVTjH-KP70f8+eopNUPbT_AxfPLxY=ehxo_...@mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>On 14 January 2013 17:42, Gael Varoquaux <[email protected]>wrote:
>
>> > I've been having a lot of trouble loading as a numpy array. I know
>> > generally how to do it, but I must be doing it wrong since the numpy
>> > array can't fit in memory, whle the "list of strings" representation
>> > does....
>>
>> I believe that it's because the string are store in a 'string
>> representation', and thus padded to the longest string. Try using
>> 'dtype=object' in the constructor to avoid that problem.
>>
>> HTH,
>>
>> Ga?l
>>
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. SALE $99.99 this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122412
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
>
>This would be the culprit, there are some outliers in terms of length in
>the dataset.
>I'll check tomorrow at work, but I would guess this fixed it.
>
>(as an aside, I was wondering if the dtype=str was actually a
>representation or just an API wrapper around string pointers, now I know.
>
>
>--
>
>Public key at: http://pgp.mit.edu/ Search for this email address and select
>the key from "2011-08-19" (key id: 54BA8735)
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>Message: 5
>Date: Mon, 14 Jan 2013 09:43:40 +0100
>From: Andreas Mueller <[email protected]>
>Subject: Re: [Scikit-learn-general] Cross validation turns my lists
> into numpy arrays
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi Robert.
>Not sure if you saw my mail:
>In current master, this is fixed!
>See
>https://github.com/scikit-learn/scikit-learn/issues/1137
>and
>https://github.com/scikit-learn/scikit-learn/pull/1443
>
>Best,
>Andy
>
>
>
>------------------------------
>
>Message: 6
>Date: Mon, 14 Jan 2013 19:54:58 +1100
>From: Robert Layton <[email protected]>
>Subject: Re: [Scikit-learn-general] Cross validation turns my lists
> into numpy arrays
>To: [email protected]
>Message-ID:
> <calcd8sid62jgnwqvqalqjwkicbvm0tsabglkb1s8nakugh_...@mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>On 14 January 2013 19:43, Andreas Mueller <[email protected]> wrote:
>
>> Hi Robert.
>> Not sure if you saw my mail:
>> In current master, this is fixed!
>> See
>> https://github.com/scikit-learn/scikit-learn/issues/1137
>> and
>> https://github.com/scikit-learn/scikit-learn/pull/1443
>>
>> Best,
>> Andy
>>
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. SALE $99.99 this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122412
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
>Hadn't got to that yet. Thanks, I'll test it out tomorrow.
>
>- Robert
>
>
>--
>
>Public key at: http://pgp.mit.edu/ Search for this email address and select
>the key from "2011-08-19" (key id: 54BA8735)
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>------------------------------------------------------------------------------
>Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>MVPs and experts. SALE $99.99 this month only -- learn more at:
>http://p.sf.net/sfu/learnmore_122412
>
>------------------------------
>
>_______________________________________________
>Scikit-learn-general mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
>End of Scikit-learn-general Digest, Vol 36, Issue 31
>****************************************************
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general