Repository navigation
Conversation
alarshi
force-pushed
the
add_regression_module
branch
from
September 28, 2026 20:38
380a21b to
8579d10
Compare
alarshi
force-pushed
the
add_regression_module
branch
from
November 6, 2026 17:40
e9863d1 to
fc82c6a
Compare
JarettBakerDunn
left a comment
Collaborator
There was a problem hiding this comment.
I just marked some typos.
| "id": "JbLPlzz2puKy" | ||
| }, | ||
| "source": [ | ||
| "The fitted b-value, 0.79, deviates fom the typical b-value of 1 for most tectonic regions. This is because the catalog is not complete for lower magnitudes, and the limited number of large-magnitude earthquakes in the time period considered. We remove these outliers and fit the G-R law again in the next exercise." |
Collaborator
There was a problem hiding this comment.
"deviates fom" -> "deviates from"
| "\n", | ||
| "- **Bias** is error from a model that is *too simple* to capture the true pattern. For example, a degree 1 polynomial (a straight line) in our case would not be able to capture the velocity-depth curve observed in the data, leading to high bias. A model with high bias underfits even with more data because the model is not flexible enough to capture the underlying relationship.\n", | ||
| "\n", | ||
| "- **Variance** is error from a model that is *too complex* and specific to the training data. For example, a degree-15 polynomial would not only fit the velocity-depth relationship, but also the the noise that may be specific only to the training dataset. Such a model would likely perform poorly on new, unseen data because it has learned the noise in the training set rather than the underlying relationship. A model with high variance overfits the training data and does not generalize well." |
Collaborator
There was a problem hiding this comment.
the the noise -> the noise
| "#### References\n", | ||
| "\n", | ||
| "- Wang, S. Y., & Wang, H. Y. (2016). Site-dependent shear-wave velocity equations versus depth in California and Japan. Soil Dynamics and Earthquake Engineering, [88, 8-14](https://www.sciencedirect.com/science/article/pii/S0267726116300367).\n", | ||
| "- Data availble by 2013 SEG Advanced Modeling Corporation, SEAM Open Data and downloaded from [SEG open data sets](https://wiki.seg.org/wiki/SEAM_Phase_I:_Interpretation_challenge_I_-_Depth)" |
Collaborator
There was a problem hiding this comment.
availble -> available
| "id": "ZExRIpWJorUj" | ||
| }, | ||
| "source": [ | ||
| "> From the figure above, you can see that the polynomial deviates the most at the sharp seismic discontinuities, as it is smooth representation of the data. To overcome this, we can use piecewise polynomial regression, which fits separate polynomials to different segments of the data. This allows for better modeling of abrupt changes in the relationship between depth and seismic velocity." |
Collaborator
There was a problem hiding this comment.
as it is smooth representation -> as it is a smooth representation ?
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.
I want to test how notebooks appear on github PR. This PR addresses the suggestions from our drive.