Python : @property, method_name.setter 관련 오류, object is not callable 해결 방법
처음 오류 났을 때의 코드 ################## # Model.py # ################## class BO_3D(object): def __init__(self, x1_range, x2_range, new_property): self.__x1_range = x1_range self.__x2_range = x2_range self.__new_property = new_property temp_object = BayesianOptimization(f=None, pbounds={'x1': self.__x1_range, 'x2' : self.__x2_range}, verbose=2, random_state=1,) self.__optimizer = temp_object self.__ut..
2020. 7. 1.