Skip to content

how to explain this line? Ch4,04_svm_kernels.py,line71:prediction = tf.sign(prediction_output - tf.reduce_mean(prediction_output)) #169

Open
@qwer10

Description

Ch4,04_svm_kernels.py,line71:
prediction = tf.sign(prediction_output - tf.reduce_mean(prediction_output))
I can't find that line in any book/posts.
Instead, my book said when you predict, you should calculate the bias first.
Who can explain that line? Thank you very much!

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