©
Regression for ODE data
Uses Python 'curve_fit' in a system of ODE's.
2024.Jul.03 13:24:27
File to upload (Optional) Such as dataRegressionODE.xlsx (table of data)
Data table Data (matrix or 'csv').
Initial guesses Initial guesses.
Mode   Mode of computation.
Show values Show graph coordinates.

Performs a regression from given data (Data table' or Excel), adjusting unknown parameters to a rough model (line, parabola), without solving the ODEs.

The default data were generated (solved elsewhere) via 'Mathematica'.

Files involved: P-regressionODE.php (this one), RegressionODE.php, regressionODE.py.

Advantage is taken from: PHP, for the web page; and Python for the numerical segment; and 'gnuplot', for plotting.

Draws plots of the original and the adjusted data.


Computation structure — A PHP file (this page: 'P-regressionODE.php') calls (via 'action=...') an intermediate PHP file ('RegressionODE.php'), which (through $_POST) sends the problem data as command line arguments to a Python script. This last does the computing, and makes 'system' call(s) to 'gnuplot', for the final (temporary) webpage.

Keywords: PHP, command line arguments, Python script, gnuplot.

References: Plate: RegressionODE

• (Wikipedia) PHP (from Personal Home Page)

• CISTI'2024, 19.ª Conferencia Ibérica de Sistemas y Tecnologías de Información (19.th Iberian Conference on Information Systems and Technologies), Salamanca (Spain), 25–28 June 2024.

• Scientific Arts, LLC, accessed 04-Nov-2023.

• 1875-10-15: Cholesky, André-Louis (†1918-08-31, 42 yrs.).

 
 
Valid HTML 5! IST http://web.tecnico.ulisboa.pt/~mcasquilho/compute/explore/regressionODE/P-regressionODE.php
Created: 2023-10-18 — Last modified: 2024-06-18