Skip to content

This should be the sigmoid function #1

@zakir8251

Description

@zakir8251

[val, p] = max(X * all_theta', [], 2);

Hey just wondering since this is logistic regression as opposed to liner, shouldn't the hypothesis be sigmoid:-
[~,p]=max(sigmoid(X*all_theta'),[],2);

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