Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Question about normailization #1

Open
AlgorithmicIntelligence opened this issue Jul 20, 2019 · 3 comments
Open

Question about normailization #1

AlgorithmicIntelligence opened this issue Jul 20, 2019 · 3 comments

Comments

@AlgorithmicIntelligence

The paper normalize range from -0.1 to 1.175, in order to make mean equal to 0, variance equal to 1. But I try both on your code and my code, variance is far from 1. Do you have any idea?

@AlgorithmicIntelligence
Copy link
Author

Another question, how to get the template weights about RBF?

@mattwang44
Copy link
Owner

The paper normalize range from -0.1 to 1.175, in order to make mean equal to 0, variance equal to 1. But I try both on your code and my code, variance is far from 1. Do you have any idea?

how do you calculate variance? The variance of a set containing number range from -0.1 to 1.175 should not be far from 1.

Another question, how to get the template weights about RBF?

I just hardcoded the ASCII set as weight by observing the figure on the top of paper (p.9)

@AlgorithmicIntelligence
Copy link
Author

Thank you for your response.
I just use np.average(.) and np.std(.) directly.
For instance, in your code,
np.average(train_image_normalized_pad) = 0.027
np.std(train_image_normalized_pad) = 0.3509
Is it the expectation of the original paper?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants