Thank you for the suggestion.

Pkg.checkout("DimensionalityReduction")
INFO: Checking out DimensionalityReduction master...
INFO: Pulling DimensionalityReduction latest master...
WARNING: julia is fixed at 0.3.1 conflicting with requirement for
DimensionalityReduction: [0.1.0,0.3.0)
INFO: No packages to install, update or remove

What's strange is pca(rand(1000,30)) works just fine.  It must be something
with my data just not sure what it could be.

On Sun, Oct 19, 2014 at 8:53 AM, Stefan Karpinski <[email protected]>
wrote:

> It's possible that DimensionalityReduction isn't terribly up to date. Does
> anyone know the status of that? You could also do
> Pkg.checkout("DimensionalityReduction") and see if this is fixed on the
> master branch of the package or not.
>
> On Sun, Oct 19, 2014 at 11:50 AM, Arshak Navruzyan <[email protected]>
> wrote:
>
>> Julia Version 0.3.1
>> Commit c03f413* (2014-09-21 21:30 UTC)
>> Platform Info:
>>   System: Darwin (x86_64-apple-darwin13.3.0)
>>   CPU: Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
>>   WORD_SIZE: 64
>>   BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
>>   LAPACK: libopenblas
>>   LIBM: libopenlibm
>>   LLVM: libLLVM-3.3
>>
>>
>>
>> On Sun, Oct 19, 2014 at 8:45 AM, Stefan Karpinski <[email protected]>
>> wrote:
>> >
>> > What version of Julia are you using?
>> >
>> > On Sun, Oct 19, 2014 at 11:43 AM, Arshak Navruzyan <[email protected]>
>> wrote:
>> >>
>> >> I have a 1000x30 Array{Any,2} of floats
>> >>
>> >>
>> >> when I do pca(matrix) I get
>> >>
>> >>
>> >> `zero` has no method matching zero(::Type{Any})
>> >> while loading In[117], in expression starting on line 1
>> >>
>> >>  in normalize at
>> /Users/arshakn/.julia/v0.3/DimensionalityReduction/src/pca.jl:11
>> >>  in pcasvd at
>> /Users/arshakn/.julia/v0.3/DimensionalityReduction/src/pca.jl:58
>> >>  in pca at
>> /Users/arshakn/.julia/v0.3/DimensionalityReduction/src/pca.jl:79
>> >>
>> >>
>> >> pca(matrix; center=false, scale=false) gives me
>> >>
>> >>
>> >> `one` has no method matching one(::Type{Any})
>> >> while loading In[118], in expression starting on line 1
>> >>
>> >>  in svdfact at linalg/factorization.jl:660
>> >>  in pcasvd at
>> /Users/arshakn/.julia/v0.3/DimensionalityReduction/src/pca.jl:60
>> >>  in pca at
>> /Users/arshakn/.julia/v0.3/DimensionalityReduction/src/pca.jl:79
>> >>
>> >>
>> >>
>> >
>>
>
>

Reply via email to