[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: predict
From: |
Kimmo Luoma |
Subject: |
Re: predict |
Date: |
Wed, 16 Nov 2011 08:29:47 +0200 |
Hi!
Im not sure what arguments sigmoid accepts but
multiplication works if you replace x*theta with theta*x or
x'*theta'.
The result is that in first you get size(theta*x)=[300,3]
and in second size(x'*theta')=[3,300].
Hope this helps.
Kimmo
On Tue, 2011-11-15 at 22:50 +0200, Tomi Piriyev wrote:
> hi,
>
> "
> if sigmoid(theta'*x) >= 0.5, p =1
> else p=0
> "
> i tried to use this code, , but compiler gets "error: operator *:
> nonconformant arguments (op1 is 1x3, op2 is 100x3)"
>
>
> could you help me
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
- predict, Tomi Piriyev, 2011/11/15
- Re: predict,
Kimmo Luoma <=
- Re: predict, George Kousiouris, 2011/11/16