Skip to content

Commit

Permalink
Updated exporter and travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirmal-Neel committed May 14, 2019
1 parent 1fbcf9d commit e51312f
Show file tree
Hide file tree
Showing 6 changed files with 488 additions and 487 deletions.
1 change: 1 addition & 0 deletions .travis.yml
@@ -1,6 +1,7 @@
language: python
python:
- "3.6"
- "3.7"
cache: pip
install: "pip install git+https://github.com/nyoka-pmml/nyoka.git"
before_script:
Expand Down
42 changes: 21 additions & 21 deletions nyoka/PMML44.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python

#
# Generated Mon Apr 29 14:09:46 2019 by generateDS.py version 2.28a.
# Generated Tue May 14 11:02:11 2019 by generateDS.py version 2.28a.
#
# Command line options:
# ('--no-warnings', '')
Expand Down Expand Up @@ -48,8 +48,8 @@ def parsexml_(infile, parser=None, **kwargs):


class DefineFunction(supermod.DefineFunction):
def __init__(self, name=None, optype=None, dataType=None, Extension=None, ParameterField=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None):
super(DefineFunction, self).__init__(name, optype, dataType, Extension, ParameterField, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, )
def __init__(self, name=None, optype=None, dataType=None, Extension=None, ParameterField=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(DefineFunction, self).__init__(name, optype, dataType, Extension, ParameterField, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand All @@ -70,8 +70,8 @@ def __init__(self, name=None, optype=None, dataType=None, displayName=None):


class Apply(supermod.Apply):
def __init__(self, function=None, mapMissingTo=None, defaultValue=None, invalidValueTreatment='returnInvalid', Extension=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply_member=None, Aggregate=None, Lag=None):
super(Apply, self).__init__(function, mapMissingTo, defaultValue, invalidValueTreatment, Extension, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply_member, Aggregate, Lag, )
def __init__(self, function=None, mapMissingTo=None, defaultValue=None, invalidValueTreatment='returnInvalid', Extension=None, FieldRef=None, Apply_member=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(Apply, self).__init__(function, mapMissingTo, defaultValue, invalidValueTreatment, Extension, FieldRef, Apply_member, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand Down Expand Up @@ -1766,8 +1766,8 @@ def __init__(self, Extension=None, OutputField=None):


class OutputField(supermod.OutputField):
def __init__(self, name=None, displayName=None, optype=None, dataType=None, targetField=None, feature='predictedValue', value=None, numTopCategories=None, threshold=None, ruleFeature='consequent', algorithm='exclusiveRecommendation', rank='1', rankBasis='confidence', rankOrder='descending', isMultiValued='0', segmentId=None, isFinalResult=True, Extension=None, Decisions=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None):
super(OutputField, self).__init__(name, displayName, optype, dataType, targetField, feature, value, numTopCategories, threshold, ruleFeature, algorithm, rank, rankBasis, rankOrder, isMultiValued, segmentId, isFinalResult, Extension, Decisions, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, )
def __init__(self, name=None, displayName=None, optype=None, dataType=None, targetField=None, feature='predictedValue', value=None, numTopCategories=None, threshold=None, ruleFeature='consequent', algorithm='exclusiveRecommendation', rank='1', rankBasis='confidence', rankOrder='descending', isMultiValued='0', segmentId=None, isFinalResult=True, Extension=None, Decisions=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(OutputField, self).__init__(name, displayName, optype, dataType, targetField, feature, value, numTopCategories, threshold, ruleFeature, algorithm, rank, rankBasis, rankOrder, isMultiValued, segmentId, isFinalResult, Extension, Decisions, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand Down Expand Up @@ -2039,8 +2039,8 @@ def __init__(self, reasonCode=None, partialScore=None, Extension=None, SimplePre


class ComplexPartialScore(supermod.ComplexPartialScore):
def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None):
super(ComplexPartialScore, self).__init__(Extension, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, )
def __init__(self, Extension=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(ComplexPartialScore, self).__init__(Extension, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand Down Expand Up @@ -2633,8 +2633,8 @@ def __init__(self, Extension=None, DerivedField=None):


class DerivedField(supermod.DerivedField):
def __init__(self, name=None, displayName=None, optype=None, dataType=None, datasetName=None, trainingBackend=None, architectureName=None, Extension=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None, Value=None):
super(DerivedField, self).__init__(name, displayName, optype, dataType, datasetName, trainingBackend, architectureName, Extension, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, Value, )
def __init__(self, name=None, displayName=None, optype=None, dataType=None, datasetName=None, trainingBackend=None, architectureName=None, Extension=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None, Value=None):
super(DerivedField, self).__init__(name, displayName, optype, dataType, datasetName, trainingBackend, architectureName, Extension, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, Value, )

#
# XMLBehaviors
Expand Down Expand Up @@ -2743,8 +2743,8 @@ def __init__(self, field=None, column=None, Extension=None):


class TextIndex(supermod.TextIndex):
def __init__(self, textField=None, localTermWeights='termFrequency', isCaseSensitive=False, maxLevenshteinDistance=0, countHits='allHits', wordSeparatorCharacterRE='\\s+', tokenize=True, Extension=None, TextIndexNormalization=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex_member=None, Apply=None, Aggregate=None, Lag=None):
super(TextIndex, self).__init__(textField, localTermWeights, isCaseSensitive, maxLevenshteinDistance, countHits, wordSeparatorCharacterRE, tokenize, Extension, TextIndexNormalization, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex_member, Apply, Aggregate, Lag, )
def __init__(self, textField=None, localTermWeights='termFrequency', isCaseSensitive=False, maxLevenshteinDistance=0, countHits='allHits', wordSeparatorCharacterRE='\\s+', tokenize=True, Extension=None, TextIndexNormalization=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex_member=None, Aggregate=None, Lag=None):
super(TextIndex, self).__init__(textField, localTermWeights, isCaseSensitive, maxLevenshteinDistance, countHits, wordSeparatorCharacterRE, tokenize, Extension, TextIndexNormalization, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex_member, Aggregate, Lag, )

#
# XMLBehaviors
Expand Down Expand Up @@ -4085,8 +4085,8 @@ def __init__(self, Extension=None, Lower=None, Upper=None):


class Mean(supermod.Mean):
def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None):
super(Mean, self).__init__(Extension, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, )
def __init__(self, Extension=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(Mean, self).__init__(Extension, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand All @@ -4096,8 +4096,8 @@ def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=


class Lower(supermod.Lower):
def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None):
super(Lower, self).__init__(Extension, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, )
def __init__(self, Extension=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(Lower, self).__init__(Extension, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand All @@ -4107,8 +4107,8 @@ def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=


class Upper(supermod.Upper):
def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None):
super(Upper, self).__init__(Extension, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, )
def __init__(self, Extension=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(Upper, self).__init__(Extension, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand All @@ -4118,8 +4118,8 @@ def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=


class Variance(supermod.Variance):
def __init__(self, Extension=None, FieldRef=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Apply=None, Aggregate=None, Lag=None):
super(Variance, self).__init__(Extension, FieldRef, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Apply, Aggregate, Lag, )
def __init__(self, Extension=None, FieldRef=None, Apply=None, Constant=None, NormContinuous=None, NormDiscrete=None, Discretize=None, MapValues=None, TextIndex=None, Aggregate=None, Lag=None):
super(Variance, self).__init__(Extension, FieldRef, Apply, Constant, NormContinuous, NormDiscrete, Discretize, MapValues, TextIndex, Aggregate, Lag, )

#
# XMLBehaviors
Expand Down

0 comments on commit e51312f

Please sign in to comment.