Removing explicit SimpSOM dependency

This commit is contained in:
Petrônio Cândido de Lima e Silva 2022-01-26 14:21:41 -03:00 committed by GitHub
parent ad3e857024
commit 7823bdbbd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,14 +6,14 @@ import pandas as pd
from typing import Tuple from typing import Tuple
from typing import List from typing import List
from pyFTS.common.transformations.transformation import Transformation from pyFTS.common.transformations.transformation import Transformation
import SimpSOM as sps
class SOMTransformation(Transformation): class SOMTransformation(Transformation):
def __init__(self, def __init__(self,
grid_dimension: Tuple, grid_dimension: Tuple,
**kwargs): **kwargs):
import SimpSOM as sps
# SOM attributes # SOM attributes
self.load_file = kwargs.get('loadFile') self.load_file = kwargs.get('loadFile')