deFit-0.1.0
توضیحات
Fitting Differential Equations to Time Series Data
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | deFit-0.1.0 |
| نام | deFit |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Yueqin Hu |
| ایمیل نویسنده | yueqinhu@bnu.edu.cn |
| آدرس صفحه اصلی | https://github.com/yueqinhu/defit |
| آدرس اینترنتی | https://pypi.org/project/deFit/ |
| مجوز | GPL-3 |
# Welcome to deFit
Fitting Differential Equations to Time Series Data ([deFit](https://github.com/yueqinhu/defit)).
## Overview
### What is deFit?
Use numerical optimization to fit ordinary differential equations (ODEs) to time series data to examine the dynamic relationships between variables or the characteristics of a dynamical system. It can now be used to estimate the parameters of ODEs up to second order.
### Features
* Fit ordinary differential equation models to time series data
* Report model parameter estimations, standard errors, R-squared, and root mean standard error
* Plot raw data points and fitted lines
* Support ordinary differential equation models up to second order
* deFit can run in Python and R environments
### First impression in Python
To get a first impression of how deFit works in simulation, consider the following example of a differential equational model. The figure below contains a graphical representation of the model that we want to fit.
```python
import defit
import pandas as pd
df1 = pd.read_csv('defit/data/example1.csv')
model1 = '''
x =~ myX
time =~ myTime
x(2) ~ x + x(1)
'''
result1 = defit.defit(data=df1,model=model1)
```

## Navigation
- [Home](https://github.com/yueqinhu/defit)
- [User guide in R](https://github.com/yueqinhu/defit/blob/main/Documents/UserGuideR.md)
- [User guide in Python](https://github.com/yueqinhu/defit/blob/main/Documents/UserGuidePython.md)
- [Issues](https://github.com/yueqinhu/defit/issues)
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
| - | scipy |
| - | numpy |
| - | pathlib |
| - | matplotlib |
| - | importlib-metadata |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl deFit-0.1.0:
pip install deFit-0.1.0.whl
نصب پکیج tar.gz deFit-0.1.0:
pip install deFit-0.1.0.tar.gz