new architecture

This commit is contained in:
wls2002
2024-01-27 00:52:39 +08:00
parent 4efe9a53c1
commit aac41a089d
65 changed files with 1651 additions and 1783 deletions

View File

@@ -1,13 +1,12 @@
import numpy as np
from .func_fit import FuncFit, FuncFitConfig
from .func_fit import FuncFit
class XOR(FuncFit):
def __init__(self, config: FuncFitConfig = FuncFitConfig()):
self.config = config
super().__init__(config)
def __init__(self, error_method: str = 'mse'):
super().__init__(error_method)
@property
def inputs(self):