Update som.py

import SimpSOM module with other modules
This commit is contained in:
MatheusCascalho 2021-04-03 12:44:29 -03:00 committed by GitHub
parent 98d6b63cb4
commit 64ece2c33b
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')