本文整理汇总了Python中ShareYourSystem.addDo方法的典型用法代码示例。如果您正苦于以下问题:Python ShareYourSystem.addDo方法的具体用法?Python ShareYourSystem.addDo怎么用?Python ShareYourSystem.addDo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ShareYourSystem
的用法示例。
在下文中一共展示了ShareYourSystem.addDo方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: getNullFloatsArray
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
import types
BaseModuleStr="ShareYourSystem.Standards.Viewers.Pyploter"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Oldpredicter','Oldpredict','Oldpredicting','Oldpredicted')
#</DefineAugmentation>
#<ImportSpecificModules>
import scipy.stats
import numpy as np
from matplotlib import pyplot
#</ImportSpecificModules>
#<DefineLocals>
def getNullFloatsArray(_FloatsArray, _RtolFloat=1e-5):
u, s, v = np.linalg.svd(_FloatsArray)
RankInt = (s > _RtolFloat*s[0]).sum()
return v[RankInt:].T.copy()
#</DefineLocals>
示例2: getFilterDictByType
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
import types
BaseModuleStr="ShareYourSystem.Standards.Recorders.Leaker"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Lifer','Lif','Lifing','Lifed')
#</DefineAugmentation>
#<DefineLocals>
def getFilterDictByType(**_Dict):
#init
FilteredDict={'ComplexDict':{},'DoubleDict':{},'IntDict':{},'StringDict':{}};
#map
map(
lambda __ItemTuple:
FilteredDict[
getCTypeNameFromPythonType(
type(
__ItemTuple[1]
示例3: StationarizerClass
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
import types
#BaseModuleStr="ShareYourSystem.Standards.Recorders.Leaker"
BaseModuleStr="ShareYourSystem.Specials.Lifers.Lifer"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Stationarizer','Stationarize','Stationarizing','Stationarized')
#</DefineAugmentation>
#<ImportSpecificModules>
from ShareYourSystem.Standards.Recorders import Leaker
import scipy.stats
import numpy as np
#</ImportSpecificModules>
#<DefineLocals>
#</DefineLocals>
#<DefineClass>
@DecorationClass()
class StationarizerClass(BaseClass):
示例4:
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
Joiner instances helps to insert in joined databases, get the corresponding
RetrieveIndexIntsLists if it was already inserted, and then insert locally
depending if it is a new row compared to all JoinedRetrieveIndexIntsListsList
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Standards.Modelers.Findoer"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Joiner','Join','Joining','Joined')
#</DefineAugmentation>
#<ImportSpecificModules>
Featurer=BaseModule
import collections
from ShareYourSystem.Standards.Modelers import Modeler
from ShareYourSystem.Standards.Controllers import Controller
#</ImportSpecificModules>
#<DefineLocals>
JoinStr='__'
JoinDeepStr='/'
JoinTeamPrefixStr='Jonct'
JoinColumnPrefixStr='_j_'
JoinColumnSuffixStr='List'
示例5: getKrenelFloatsArray
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
import types
BaseModuleStr="ShareYourSystem.Specials.Predicters.Predicter"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Predisenser','Predisense','Predisensing','Predisensed')
#</DefineAugmentation>
#<ImportSpecificModules>
import scipy.stats
import numpy as np
#</ImportSpecificModules>
#<DefineLocals>
def getKrenelFloatsArray(
_LevelFloatsTuple=None,
_TimeFloatsTuple=None,
_RunTimeFloat=100.,
_StepTimeFloat=0.1,
):
示例6: PrediploterClass
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
import types
BaseModuleStr="ShareYourSystem.Specials.Predicters.Predisenser"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Prediploter','Prediplot','Prediploting','Prediploted')
#</DefineAugmentation>
#<ImportSpecificModules>
from matplotlib import pyplot
#</ImportSpecificModules>
#<DefineLocals>
#</DefineLocals>
#<DefineClass>
@DecorationClass()
class PrediploterClass(BaseClass):
def default_init(self,
示例7: ViewerClass
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
A Viewer
"""
# <DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr = "ShareYourSystem.Standards.Interfacers.Numscipyer"
DecorationModuleStr = "ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo("Viewer", "View", "Viewing", "Viewed")
# </DefineAugmentation>
# <DefineLocals>
ViewAlphabetStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
# </DefineLocals>
# <ImportSpecificModules>
from ShareYourSystem.Standards.Controllers import Controller
import copy
# </ImportSpecificModules>
# <DefineClass>
@DecorationClass()
class ViewerClass(BaseClass):
示例8: LeakerClass
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
A Leaker
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Standards.Recorders.Brianer"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Leaker','Leak','Leaking','Leaked')
#</DefineAugmentation>
#<ImportSpecificModules>
from ShareYourSystem.Standards.Recorders import Recorder
#</ImportSpecificModules>
#<DefineLocals>
#</DefineLocals>
#<DefineClass>
@DecorationClass(**{
'ClassingSwitchMethodStrsList':['leak'],
})
class LeakerClass(BaseClass):
示例9: SpikesClass
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
A Neurongrouper
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Specials.Simulaters.Moniter"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Neurongrouper','Neurongroup','Neurongrouping','Neurongrouped')
#</DefineAugmentation>
#<ImportSpecificModules>
from ShareYourSystem.Standards.Itemizers import Networker
from ShareYourSystem.Specials.Simulaters import Synapser,Tracer
#</ImportSpecificModules>
#<DefineLocals>
class SpikesClass(Networker.NetworkerClass):pass
class StatesClass(Networker.NetworkerClass):pass
NeurongroupPostTeamKeyStr="Postlets"
NeurongroupPreTeamKeyStr="Prelets"
#</DefineLocals>
#<DefineClass>
示例10: ExplorerClass
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Standards.Itemizers.Coordinater"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Explorer','Explore','Exploring','Explored')
#</DefineAugmentation>
#<ImportSpecificModules>
#</ImportSpecificModules>
#<DefineLocals>
#</DefineLocals>
#<DefineClass>
@DecorationClass(**{})
class ExplorerClass(BaseClass):
def default_init(
self,
_ExploringMethodStr = "",
示例11: getThresholdArray
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
import types
BaseModuleStr="ShareYourSystem.Specials.Predicters.Predisenser"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Predirater','Predirate','Predirating','Predirated')
#</DefineAugmentation>
#<ImportSpecificModules>
import scipy.stats
import numpy as np
#</ImportSpecificModules>
#<DefineLocals>
def getThresholdArray(_Variable,_ThresholdFloat=1.):
#Check
if type(_Variable) in [np.float64,float,int]:
#return
return max(
示例12: getArgumentVariable
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
A Numscipyer
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Standards.Interfacers.Processer"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Numscipyer','Numscipy','Numscipying','Numscipied')
#</DefineAugmentation>
#<ImportSpecificModules>
import numpy as np
#</ImportSpecificModules>
#<DefineLocals>
def getArgumentVariable(_ComplexVariable):
#Debug
'''
print('l 31 Numscipier')
print('_ComplexVariable is ')
print(_ComplexVariable)
print('')
示例13: TracerClass
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
A Tracer
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Standards.Recorders.Matrixer"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Tracer','Trace','Tracing','Traced')
#</DefineAugmentation>
#<ImportSpecificModules>
from ShareYourSystem.Standards.Itemizers import Pointer,Networker
from ShareYourSystem.Standards.Recorders import Recorder
#</ImportSpecificModules>
#<DefineLocals>
TracerPrefixStr='*'
#</DefineLocals>
#<DefineClass>
@DecorationClass()
class TracerClass(BaseClass):
示例14: getNullFloatsArray
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
import types
BaseModuleStr="ShareYourSystem.Standards.Controllers.Systemer"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Matrixer','Matrix','Matrixing','Matrixed')
#</DefineAugmentation>
#<ImportSpecificModules>
import scipy.stats
import numpy as np
#</ImportSpecificModules>
#<DefineLocals>
def getNullFloatsArray(_FloatsArray, _RtolFloat=1e-5):
u, s, v = np.linalg.svd(_FloatsArray)
RankInt = (s > _RtolFloat*s[0]).sum()
return v[RankInt:].T.copy()
#</DefineLocals>
#<DefineClass>
示例15: getLiargVariablesList
# 需要导入模块: import ShareYourSystem [as 别名]
# 或者: from ShareYourSystem import addDo [as 别名]
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
A Connecter
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Standards.Itemizers.Parenter"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globals())
SYS.addDo('Connecter','Connect','Connecting','Connected')
#</DefineAugmentation>
#<ImportSpecificModules>
from ShareYourSystem.Standards.Interfacers import Printer
from ShareYourSystem.Standards.Itemizers import Pather,Teamer,Manager,Parenter
#</ImportSpecificModules>
#<DefineLocals>
ConnectKeyPrefixStr="*"
ConnectGetSetPrefixStr="->"
ConnectInTeamKeyStr="Inlets"
ConnectOutTeamKeyStr="Outlets"
ConnectConnectKeyStr='?>'
ConnectManagementPrefixStr='_p_'
def getLiargVariablesList(_ValueVariable):