You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Notebook proposal: physics-guided features using a small elasticity dataset #2
Following your guidance to discuss new notebooks first: would a short mechanics example on physics-guided feature choice fit after the regression/validation notebooks?
I maintain AgentFEM. We have a small, runnable NumPy notebook with embedded data and provenance: ten synthetic finite-element cantilever results, with only Young's modulus varied. Students fit the same two-parameter model using either E or 1/E, then compare predictions on the same held-out cases. The near-exact inverse-E fit follows from fixed-geometry linear elasticity, rather than a more powerful learner.
For this repository, the adaptation would teach one idea:
Derive the inverse-E dependence from K(E)u=f at fixed Poisson ratio, geometry and loading.
Fit both representations using eight cases; keep two separate for evaluation.
Change the query stiffness and explain why this relation cannot simply be reused for plasticity or changing contact.
Audience: undergraduates who have seen linear regression and basic elasticity. Dependencies: NumPy and Matplotlib only; no AgentFEM installation, API key or FEM runtime is needed for the learning exercise. The adaptation would include learning objectives, equations, units, cleared outputs and the data-generation reference, under this repository's Apache-2.0 license.
The existing notebook is a starting point to try now, not a claim that ten cases establish predictive reliability. I checked the current notebook list and issues; I did not find this particular controlled feature-comparison exercise. If it fits your teaching sequence, I can prepare a focused PR in your format.
This is a nice introductory example for mechanical properties. I would suggest adding some illustrations and plots for the data and the model. We could set up a folder for Mechanical Engineering notebooks.
Activity
rhennig commentedon Oct 27, 2026
This is a nice introductory example for mechanical properties. I would suggest adding some illustrations and plots for the data and the model. We could set up a folder for Mechanical Engineering notebooks.