Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Every perpendicular chord keeps its length under Steiner symmetrization, so Fubini's theorem preserves the total area.
Constitutional supercooling occurs when liquid ahead of a solidification phase boundary lies below its local liquidus. In a saline liquid with and , salt rejection enriches the interface liquid and depresses its liquidus; as the concentration decreases away from the interface, the liquidus rises. If it rises faster than the actual temperature, a supercooled interval appears. This can make a planar solidification phase boundary unstable.
The Neumann solution places a planar phase boundary at . Similarity reduction of the heat equation gives temperature profiles in terms of the error function, while the Stefan condition determines implicitly.
A phase boundary is an interface separating distinct phases of matter. Its temperature, velocity, and flux jumps are constrained by phase equilibrium and conservation laws.
The Stefan condition equates latent heat generated by motion of a phase boundary to the jump in conductive heat flux across it. With interface speed and normal directed from solid to liquid, one common sign convention is
Regularization constrains or penalizes fitting to control the complexity or instability of a learned rule. A penalty formulation iswhere is empirical loss function and measures a chosen notion of complexity. Ridge regression penalizes squared coefficient size, the Lasso penalizes the L1 norm, and a roughness penalty penalizes derivatives of a fitted function. Early stopping can regularize an iterative fitting procedure without an explicit added penalty.
For a scalar observation with centered noise of variance , minimizing gives . Its mean squared error is : shrinkage reduces variance while introducing bias. This illustrates why regularization can improve prediction, but does not improve risk at every parameter value for every tuning choice. Cross-validation or a validation set can choose strength while a reserved test set assesses the fitted procedure.
Overfitting occurs when further adaptation improves training error while degrading performance on new data, for example by fitting incidental disturbances instead of a stable regression function. A gap between training error and test error alone does not prove that a simpler rule would generalize better. Compare candidates using cross-validation or a validation set; reserve the test set for assessment. Regularization and early stopping can limit adaptation. [ref]
https://web.stanford.edu/~hastie/ISLR2/Slides/Ch2_Statistical_Learning.pdf. ISLR chapter 2 slides, assessing model accuracy
Evaluate the training error example at , , none coinciding with a training input. The mean squared discrepancy is , , and for degrees 1, 2, and 7. Thus degree 7 improves training error but worsens recovery of the target relative to degree 2. Degree 1 misses the target's curvature, illustrating underfitting.
These are errors against a known noiseless target, not test errors against fresh noisy responses. In a separate noiseless control, degrees 2 and 7 both recover this target exactly; their numerical held-out errors are approximately and . The fixed-disturbance simulation illustrates a mechanism, not a universal numerical benchmark or a claim that higher polynomial degree always harms generalization.
Noisy polynomial fitting, training-only degree selection, and separate noiseless-target evaluation
. Details. An artificial neural network is a parameterized system of interconnected computational units whose outputs depend on weighted inputs. A feedforward neural network commonly composes layerswhere are weight matrices, are biases and are activation functions. Recurrent neural networks instead reuse a state through time; weight sharing also imposes structure in a convolutional neural network.
A loss function measures how well outputs serve the task. Backpropagation applies the chain rule to compute parameter gradients, which an optimization algorithm can use for learning. For example, a hidden rectified unit followed by a weighted output represents a piecewise affine function. With identity activations in every hidden layer, successive affine maps collapse to one affine map, so depth alone adds no nonlinear expressiveness.
The useful representation depends on architecture, data and training. Fitting many parameters does not establish generalization; regularization, independent evaluation and the target data distribution remain relevant.
Cross-validation estimates predictive performance by repeatedly fitting on one part of the data and evaluating on held-out observations. In K-fold cross-validation, divide training data into disjoint folds ; identifies observation 's fold, and is fitted without fold . The displayed average scores each observation using a rule that did not train on it. Weight by observation count when fold sizes differ. Leave-one-out cross-validation uses one observation per fold. [ref]
https://web.stanford.edu/~hastie/ISLR2/Slides/Ch5_Resampling_Methods.pdf. ISLR chapter 5 slides, resampling methods
For the training error example, three folds contain indices with equal remainder modulo 3. Each fit uses eight observations. The squared-error loss averages for degrees 1, 2, and 7 are , , and respectively. Select degree 2 and refit on all twelve training data observations. The folds reuse scarce data while challenging each candidate to predict unseen responses; they do not touch the final test set.
Any learned preprocessing, including variable selection, must also be fitted within each training fold to avoid data leakage. [ref]
https://web.stanford.edu/~hastie/ISLR2/Slides/Ch5_Resampling_Methods.pdf. ISLR chapter 5 slides, the wrong and right way
Repeated tuning can itself overfit the cross-validation score; nested cross-validation uses inner folds for model selection and outer folds for assessment of that entire procedure. [ref]Folds use fewer training observations than the final refit, and their scores are dependent because training observations overlap. [ref]
https://web.stanford.edu/~hastie/ISLR2/Slides/Ch5_Resampling_Methods.pdf. ISLR chapter 5 slides, correlated fold estimates
Splitting must match deployment: for time series forecasting, rolling-origin cross-validation trains on the past and evaluates later observations, preventing future information from entering a forecast. Ordinary random folds need not answer that forecasting question. [ref]For testing one simple hypothesis against another, a test that rejects for sufficiently large likelihood ratio has greatest power among all tests of no greater size.
The score test evaluates the score function at the parameter estimate constrained by the null hypothesis. The likelihood gradient records which local parameter directions would improve the fit; the Fisher information supplies its sampling scale. For a fully specified regular null , with total-sample score and total-sample information ,has an asymptotic chi-squared distribution with degrees of freedom equal to the dimension of the tested parameter. The same sample-size convention must be used in both and .
For independent Bernoulli trials, let be the number of successes among trials. Testing with givesThe signed square root is the familiar null-standardized success-count statistic. Its two-sided large-sample calibration uses ; a small sample can instead use the exact binomial distribution.
With nuisance parameters, estimate them under the null and use the corresponding efficient score and efficient information for the tested restrictions. An unadjusted information block can give the wrong scale. Unlike the Wald test, the score test does not require an unrestricted estimate under the alternative.
A likelihood-ratio test rejects where the alternative likelihood is sufficiently large relative to the null likelihood.
For an approximately normal estimator, the one-parameter Wald statisticis approximately standard normal under . A two-sided test reports .
For observed cell counts and null expected counts , the statistic isWith specified null cell probabilities and sufficiently large expected counts, its null limit is .
For a test with rejection region , its power function isIts supremum over the null parameter space is the size of the test.
A joint hypothesis test imposes several parameter restrictions simultaneously and accounts for dependence among their estimators; separate one-parameter confidence intervals do not generally determine its result.
A p-value is the probability, computed under a null hypothesis, of obtaining a test statistic at least as unfavorable to that hypothesis as the observed value.
The significance level is the chosen upper bound on a test's probability of rejecting the null hypothesis when it is true.
A result is statistically significant when its calibrated p-value falls below this chosen threshold.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact






