Someone on Cross-validated was able to give me an answer, and it is
something I should have seen. classify uses a uniform prior, while
ClassificationDisciminant uses an empirical prior. Problem solved.
On Mon, Feb 18, 2013 at 3:31 PM, David Reed <[email protected]> wrote:
> Ahh, I have used Gist, but am absent minded today it seems.
>
> https://gist.github.com/dvreed77/4980426
>
>
> On Mon, Feb 18, 2013 at 3:23 PM, Andreas Mueller <[email protected]
> > wrote:
>
>> On 02/18/2013 09:07 PM, David Reed wrote:
>> > So I came up with this small test script to show the difference
>> > between Matlab's classify function and Matlab's
>> > ClassificationDiscriminant function. It appears that for balanced
>> > classes, they perform identically, but when you unbalance them you get
>> > radically different answers. This problem becomes even worse when the
>> > classes are drawn from the same distribution. Please let me know if
>> > there is a better way to include this script than just copying/pasting.
>> A good way to provide code is usually via a github gist:
>> https://gist.github.com/
>> That is like a scratchpad, but has code highlighting and is a full-blown
>> repository (which you needn't worry about if you don't care).
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
>> is your hub for all things parallel software development, from weekly
>> thought
>> leadership blogs to news, videos, case studies, tutorials, tech docs,
>> whitepapers, evaluation guides, and opinion stories. Check out the most
>> recent posts - join the conversation now.
>> http://goparallel.sourceforge.net/
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general