Skip to content

Non-linear regression #48

Open
Open
@ScratchyCode

Description

@ScratchyCode

I'm not skilled with machine learning and i'm trying to study its practical applications.
I'm trying to use an ANN for non-linear regression of function sin(x) with analitical points and i have found some problems.

Creating an ANN with 10 hidden layers and 4 neurons, running a for-cycle 1 million times over 100 points maked with x values evenly distributed between 0 and 2pi i obtain this:

alt text

with this specs once created the ANN: ann->activation_output = genann_act_linear;
and the output doesn't change trying to make different ANN.

Someone can help me to understand where i'm wrong (also teoretically)?
I've seen that sigmoid activation function is not the best choice for this purpose like relu, but it's just this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions