<s> __all__ = [ "<STR_LIT>" ] <EOL> class Abstraction_ABC ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> self . name = self . __class__ . __name__ <EOL> self . hyperParameters = [ ] <EOL> def apply ( self , layer , cost ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplemented ( "<STR_LIT>" ) <EOL> def toJson ( self ) : <EOL> """<STR_LIT>""" <EOL> res = { <EOL> "<STR_LIT:class>" : self . name , <EOL> "<STR_LIT>" : { } <EOL> } <EOL> for h in self . hyperParameters : <EOL> res [ "<STR_LIT>" ] [ h ] = getattr ( self , h ) <EOL> return res <EOL> def __repr__ ( self ) : <EOL> return "<STR_LIT>" % self . name </s>
