Files
anorandClaude Opus 4.6 24c31fcce5 feat: initial implementation of RemizovNet
Реализация формулы Ремизова (аппроксимации Чернова) для решения
линейных ОДУ второго порядка с переменными коэффициентами
a(x)y'' + b(x)y' + c(x)y = g(x).

Ядро (NumPy):
- ChernoffStep: S₂ (гауссова свёртка + дрейф) и S₃ (потенциал)
- RemizovSolver: полная формула с интегралом Лапласа

Нейросеть (PyTorch):
- RemizovLayer: один шаг Чернова как дифференцируемый слой
- RemizovNet: n слоёв = формула Ремизова, веса = коэффициенты ОДУ
- EquationDiscoverer: обнаружение уравнения из данных

Примеры:
- example_solver: уравнение теплопроводности, точность до 1e-15
- example_discover: восстановление коэффициентов, 1% ошибка предсказания

19 тестов, ruff clean.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:47:35 +10:00

62 lines
1.5 KiB
TOML

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "remizov-net"
version = "0.1.0"
description = "RemizovNet: Physically exact neural architecture based on Chernoff approximations for solving and discovering ODEs with variable coefficients"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [
{name = "anor", email = "anor@kazin.ru"},
]
keywords = ["ode", "chernoff", "remizov", "neural-network", "physics-informed", "differential-equations"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.26",
"scipy>=1.12",
"torch>=2.2",
"matplotlib>=3.8",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=4.1",
"ruff>=0.3",
"mypy>=1.8",
]
[project.urls]
Homepage = "https://git.kazin.ru/anor/remizov-net"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true