oikan 0.0.2.5__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 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 OikanError(Exception):
2
- """Base exception class for OIKAN"""
1
+ class OIKANError(Exception):
2
+ """Base exception for OIKAN library."""
3
3
  pass
4
4
 
5
- class NotFittedError(OikanError):
6
- """Raised when prediction is attempted on unfitted model"""
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