João Felipe Santos <joao....@gmail.com>
wrote:

> To give this a bit of context, I implemented Barber’s algorithm in Julia
> and used the scikit-learn implementation to check my results (and also to
> get hints for fixing numerical instability issues). I think the main
> source of confusion here was that both in standard stats notation and in
> Julia stats packages, samples live in columns instead of rows. However, I
> was aware of this since I was transposing the data matrix I am using to
> test the algorithm when calling scikit-learn functions. Go figure :)
> 

The standard notation in statistics is to have samples in rows (rank n x p
matrices).

Consider the linear model

    y = X beta + eta

If X and y did not have samples in rows it would mandate the expression

    y = beta X + eta

Now, look in any textbook and see what you find.

Sturla


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to