zastosuj normalizacja przed korelacja
Open
@yabool2001 is already working on this.
Since Nov 22, 2025.
question
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
https://chatgpt.com/share/686c58a2-b9fc-8013-bf02-c157eb51c387
def normalized_correlation(x, y):
x = (x - np.mean(x)) / np.std(x)
y = (y - np.mean(y)) / np.std(y)
return np.correlate(x, y, mode='valid')[0]
a = np.array([1, 2, 3])
b = np.array([10, 20, 30]) # ten sam kształt, 10× większa skala
np.correlate(a, b, mode='valid') # duża liczba (uwzględnia skalę)
normalized_correlation(a, b) # ≈ 1.0 (uwzględnia tylko kształt)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.