Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/a/z/AZOrange-HEAD/azorange/AZLearnersParamsConfig.py   AZOrange(Download)
 
# PLS parameters
PLSLearner = {'method' : [ "types.StringType", "values", "['kernel' , 'simpls']",["Kernel","SimPLS"],str(AZOrangeConfig.PLSDEFAULTDICT["method"]),False,False,"Kernel\nsimpls"], \
              'k' : ["types.StringType", "values", "miscUtilities.Range(1,N_ATTR-1)",[],str(AZOrangeConfig.PLSDEFAULTDICT["k"]),True,True,"Integer from 1 to N_ATTR-1"], \
              'precision' : ["types.StringType", "interval", "[1e-7 , 1e-5]",[],str(AZOrangeConfig.PLSDEFAULTDICT["precision"]),False,True,""] \

src/a/z/AZOrange-HEAD/orange/OrangeWidgets/Classify/OWAZPLS.py   AZOrange(Download)
        # Define the parameters readable through the GUI and set their default values
        self.optMethodDict = AZOC.OPTMETHODDICT
        self.k = AZOC.PLSDEFAULTDICT["k"] 
        self.precision = AZOC.PLSDEFAULTDICT["precision"]
        self.methodGUI = AZOC.PLSDEFAULTDICT["method"]

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngPLS.py   AZOrange(Download)
	# Precision
	if not self.__dict__.has_key("precision"):
		self.__dict__["precision"] = AZOC.PLSDEFAULTDICT["precision"] 
	# Method
	if not self.__dict__.has_key("method"):
                self.__dict__["method"] = AZOC.PLSDEFAULTDICT["method"]
 
	# k - Number of components
	if not self.__dict__.has_key("k"):
		self.__dict__["k"] = AZOC.PLSDEFAULTDICT["k"]