Skip to content

Difference between the output method #4

@Nalq11

Description

@Nalq11

Hi,

I wanna ask the different betweent these two lines in the output of the model,

model = Dense(2, activation='softmax')(BP_hidden)
# model = Dense(1, activation='tanh')(BP_hidden)

Is there lots of improvement when choosing the first option?
Besides, is there any probability to choose sigmoid activation in place of the second line's tanh?

Thanks!

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