Skip to content

StackoverflowError #164

@Roh-codeur

Description

@Roh-codeur

Hi

ran the below code and it threw a StackoverflowError

σ = 0.5
model = fit(
KernelPCA,
array;
kernel = (x, y) -> x'y + exp(-norm(x - y)^2 / (2 * σ^2)),
maxoutdim = numFactors,
inverse = true,
)

ERROR: StackOverflowError:

MLDataUtils v0.5.4
MLJ v0.16.11
MultivariateStats v0.8.0
ScikitLearn v0.6.4
StatsBase v0.33.13
LinearAlgebra
Statistics

Worked fine on Julia 1.6 on my Intel Mac. Ran this on Julia 1.7 on my M1 Mac. Looks like this is related to the upgrade to Apple M1. any idea how I can diagnose, workaround or a fix?

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions