Repository navigation
[DOC] Add self-similarity and Hurst exponent example to ANM Lec 2 - #4
Open
foreswater wants to merge 1 commit into
Open
foreswater wants to merge 1 commit into
foreswater wants to merge 1 commit into
Conversation
Append a self-similarity explanation and a runnable fBm generation, Hurst estimation, and visualization example to Time_Domain_Features.ipynb.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LLM generated content, by GPT-6
What does this implement/fix? Explain your changes.
ANM Lec 2's time-domain features notebook lacks a runnable example of self-similarity and the Hurst exponent. This change appends a short explanation and a NumPy/Matplotlib example to
lectures/lec2/Time_Domain_Features.ipynb.The example generates a fractional Brownian motion path with a fixed seed and H=0.75, estimates H from the log-log scaling of increment standard deviations, and plots the simulated path and fitted scaling relationship. The explanation distinguishes H from a self-similarity score and limits this estimator's interpretation to fBm-like paths.
Does your contribution introduce a new dependency? If yes, which one?
No. The example uses NumPy and Matplotlib, which are already used in the notebook.
What should a reviewer concentrate their feedback on?
The clarity of the self-similarity explanation, the interpretation of H for fBm increments, and the suitability of the example for ANM Lec 2.
Did you add any tests for the change?
No new automated test files were added for this teaching example. Validation performed:
nbformat.validate.True H: 0.75; Estimated H: 0.765(unrounded estimate: 0.7647405450609949).The full notebook installation cell and Google Colab runtime were not re-tested for this change.
PR checklist
[DOC].