oikan 0.0.2.4__py3-none-any.whl → 0.0.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oikan/__init__.py +14 -0
- oikan/exceptions.py +5 -13
- oikan/model.py +307 -426
- oikan/neural.py +43 -0
- oikan/symbolic.py +52 -25
- oikan/utils.py +59 -37
- oikan-0.0.3.1.dist-info/METADATA +233 -0
- oikan-0.0.3.1.dist-info/RECORD +11 -0
- {oikan-0.0.2.4.dist-info → oikan-0.0.3.1.dist-info}/WHEEL +1 -1
- oikan-0.0.2.4.dist-info/METADATA +0 -214
- oikan-0.0.2.4.dist-info/RECORD +0 -10
- {oikan-0.0.2.4.dist-info → oikan-0.0.3.1.dist-info}/licenses/LICENSE +0 -0
- {oikan-0.0.2.4.dist-info → oikan-0.0.3.1.dist-info}/top_level.txt +0 -0
oikan/__init__.py
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
'''
|
2
|
+
OIKAN v0.0.3 | 2025
|
3
|
+
|
4
|
+
OIKAN is a neuro-symbolic machine learning framework inspired by Kolmogorov-Arnold representation theory. It combines the power of modern neural networks with techniques for extracting clear, interpretable symbolic formulas from data. OIKAN is designed to make machine learning models both accurate and understandable.
|
5
|
+
|
6
|
+
GitHub: https://github.com/silvermete0r/oikan
|
7
|
+
PyPI: https://pypi.org/project/oikan/
|
8
|
+
Docs: https://silvermete0r.github.io/oikan/
|
9
|
+
'''
|
10
|
+
|
11
|
+
from .model import OIKAN, OIKANClassifier, OIKANRegressor
|
12
|
+
|
13
|
+
__all__ = ['OIKAN', 'OIKANClassifier', 'OIKANRegressor']
|
14
|
+
__version__ = '0.0.3'
|
oikan/exceptions.py
CHANGED
@@ -1,15 +1,7 @@
|
|
1
|
-
class
|
2
|
-
"""Base exception
|
1
|
+
class OIKANError(Exception):
|
2
|
+
"""Base exception for OIKAN library."""
|
3
3
|
pass
|
4
4
|
|
5
|
-
class
|
6
|
-
"""Raised when
|
7
|
-
pass
|
8
|
-
|
9
|
-
class DataError(OikanError):
|
10
|
-
"""Raised when there are issues with input data"""
|
11
|
-
pass
|
12
|
-
|
13
|
-
class InitializationError(OikanError):
|
14
|
-
"""Raised when model initialization fails"""
|
15
|
-
pass
|
5
|
+
class ModelNotFittedError(OIKANError):
|
6
|
+
"""Raised when a method requires a fitted model."""
|
7
|
+
pass
|