Explored Numerical Error Mitigation Techniques
- Day: 2024-08-22
- Time: 17:00 to 21:15
- Project: Dev
- Workspace: WP 2: Operational
- Status: Completed
- Priority: MEDIUM
- Assignee: Matías Nehuen Iglesias
- Tags: Numerical Analysis, Error Propagation, Python, Data Science
Description
Session Goal: The session aimed to explore various numerical error mitigation techniques in computational contexts, focusing on rounding errors and error propagation using Taylor series.
Key Activities:
- Error of Rounding and Catastrophic Cancellation: A detailed reflection on the impact of rounding errors and catastrophic cancellation in numerical calculations was conducted. Recommendations were provided to mitigate these errors.
- Error Propagation with Taylor Series: An exploration of error propagation in multivariable functions using Taylor series approximation was performed. This included practical examples to illustrate how input uncertainties affect final outcomes.
- Floating Point Precision in Python: Instructions were given on using Python’s
decimal.Decimaltype to set floating point precision to 16 decimals, with code examples and explanations. - Factorial Calculations with NumPy and SciPy: Methods to calculate factorials using NumPy and SciPy were explained, with code examples for single numbers and arrays.
Achievements:
- Clarified the concepts of rounding errors and catastrophic cancellation.
- Developed a comprehensive guide on error propagation using Taylor series.
- Implemented precision settings for floating point numbers in Python.
- Demonstrated factorial calculations using NumPy and SciPy.
Pending Tasks:
- Further exploration of advanced error mitigation techniques in numerical analysis.
- Application of these techniques in real-world data science scenarios.
Evidence
- source_file=2024-08-22.sessions.jsonl, line_number=1, event_count=0, session_id=e4b26354984418aa103ed84495d4336379fed4935074c1daacddd646771bfa45
- event_ids: []