jpmml / jpmml-evaluator

Java Evaluator API for PMML
GNU Affero General Public License v3.0
895 stars 255 forks source link

Trying to get a day of week from date #219

Closed testlambda693 closed 3 years ago

testlambda693 commented 3 years ago

Hi Vilo,

I am able to create a PMML based on the following pipeline

[(['accountOpenDate'],
  [Pipeline(steps=[('simpleimputer-1',
                    SimpleImputer(fill_value='01/01/1900 00:00:00:000',
                                  strategy='constant')),
                   ('simpleimputer-2',
                    SimpleImputer(fill_value='01/01/1900 00:00:00:000',
                                  missing_values='', strategy='constant')),
                   ('alias',
                    Alias(name='rplc_date5',
                          transformer=ReplaceTransformer(pattern='(\\d{1,2})/(\\d{1,2})/(\\d{2,4}) '
                                                                 '(.*?)(:\\d\\d\\d)$',
                                                         replacement='\\3-\\2-\\1T\\4'))),
                   ('casttransformer', CastTransformer(dtype='datetime64[s]'))]),
   DaysSinceYearTransformer(year=1970),
   Alias(name='accountOpenDate_weekday',
         transformer=ExpressionTransformer(expr='-999.01 if X[0] == -25567 else '
                                                '(X[0] + 3 ) % 7'))],
  {'alias': 'accountOpenDate_weekday'})]

I want to get the day of the week from the date.

A pmml file is created:

<PMML xmlns="http://www.dmg.org/PMML-4_4" version="4.4">
    <Header>
        <Application name="JPMML-SkLearn" version="1.6.12" />
        <Timestamp>2021-02-28T09:00:33Z</Timestamp>
    </Header>
    <DataDictionary>
        <DataField dataType="integer" name="fraud" optype="categorical">
            <Value value="0" />
            <Value value="1" />
        </DataField>
        <DataField dataType="string" name="accountOpenDate" optype="categorical">
            <Value property="missing" value="" />
        </DataField>
    </DataDictionary>
    <TransformationDictionary />
    <MiningModel algorithmName="XGBoost (GBTree)" functionName="classification" x-mathContext="float">
        <MiningSchema>
            <MiningField name="fraud" usageType="target" />
            <MiningField missingValueReplacement="01/01/1900 00:00:00:000" missingValueTreatment="asValue" name="accountOpenDate" />
        </MiningSchema>
        <Segmentation missingPredictionTreatment="returnMissing" multipleModelMethod="modelChain">
            <Segment id="1">
                <True />
                <MiningModel functionName="regression" x-mathContext="float">
                    <MiningSchema>
                        <MiningField name="accountOpenDate" />
                    </MiningSchema>
                    <Output>
                        <OutputField dataType="float" isFinalResult="false" name="xgbValue" optype="continuous" />
                    <OutputField dataType="string" feature="transformedValue" name="inter:rplc_date5" optype="categorical"><FieldRef field="rplc_date5" /></OutputField><OutputField dataType="dateTime" feature="transformedValue" name="inter:date_time(rplc_date5)" optype="ordinal"><FieldRef field="date_time(rplc_date5)" /></OutputField><OutputField dataType="integer" feature="transformedValue" name="inter:daysSinceYear(date_time(rplc_date5), 1970)" optype="continuous"><FieldRef field="daysSinceYear(date_time(rplc_date5), 1970)" /></OutputField><OutputField dataType="double" feature="transformedValue" name="inter:accountOpenDate_weekday" optype="continuous"><FieldRef field="accountOpenDate_weekday" /></OutputField><OutputField dataType="float" feature="transformedValue" name="inter:float(accountOpenDate_weekday)" optype="continuous"><FieldRef field="float(accountOpenDate_weekday)" /></OutputField></Output>
                    <LocalTransformations>
                        <DerivedField dataType="string" name="rplc_date5" optype="categorical">
                            <Apply function="replace">
                                <FieldRef field="accountOpenDate" />
                                <Constant dataType="string">(\d{1,2})/(\d{1,2})/(\d{2,4}) (.*?)(:\d\d\d)$</Constant>
                                <Constant dataType="string">$3-$2-$1T$4</Constant>
                            </Apply>
                        </DerivedField>
                        <DerivedField dataType="dateTime" name="date_time(rplc_date5)" optype="ordinal">
                            <FieldRef field="rplc_date5" />
                        </DerivedField>
                        <DerivedField dataType="integer" name="daysSinceYear(date_time(rplc_date5), 1970)" optype="continuous">
                            <Apply function="dateDaysSinceYear">
                                <FieldRef field="date_time(rplc_date5)" />
                                <Constant dataType="integer">1970</Constant>
                            </Apply>
                        </DerivedField>
                        <DerivedField dataType="double" name="accountOpenDate_weekday" optype="continuous">
                            <Apply function="if">
                                <Apply function="equal">
                                    <FieldRef field="daysSinceYear(date_time(rplc_date5), 1970)" />
                                    <Constant dataType="integer">-25567</Constant>
                                </Apply>
                                <Constant dataType="double">-999.01</Constant>
                                <Apply function="modulo">
                                    <Apply function="+">
                                        <FieldRef field="daysSinceYear(date_time(rplc_date5), 1970)" />
                                        <Constant dataType="integer">3</Constant>
                                    </Apply>
                                    <Constant dataType="integer">7</Constant>
                                </Apply>
                            </Apply>
                        </DerivedField>
                        <DerivedField dataType="float" name="float(accountOpenDate_weekday)" optype="continuous">
                            <FieldRef field="accountOpenDate_weekday" />
                        </DerivedField>
                    </LocalTransformations>
                    <Segmentation multipleModelMethod="sum">
                        <Segment id="1">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.19317344">
                                    <True />
                                    <Node score="-0.16549727">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.08563038">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.18933333">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.17925301">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.12115898">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.112717114">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="2">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.17507808">
                                    <True />
                                    <Node score="-0.15234463">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.08552199">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.17329933">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.16285573">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.10654836">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.09920059">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="3">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.16253881">
                                    <True />
                                    <Node score="-0.13850091">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.071792535">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.16105069">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.14833184">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.09466598">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.090326376">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="4">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.15139022">
                                    <True />
                                    <Node score="-0.12852105">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.065721035">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.14980341">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.13713835">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.08800133">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.08088032">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="5">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.14300926">
                                    <True />
                                    <Node score="-0.12054839">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.061516043">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.1422787">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.12885007">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.08405488">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.076785">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="6">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.13588974">
                                    <True />
                                    <Node score="-0.111143164">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.05929759">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.13602792">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.12193924">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.07854078">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.074468605">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="7">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.1285188">
                                    <True />
                                    <Node score="-0.104833186">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.045913875">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.1294052">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.11474128">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.06554785">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="8">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.12547265">
                                    <True />
                                    <Node score="-0.09958392">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.047741335">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.124513805">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.110576384">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.068801664">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.059414394">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="9">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.12116418">
                                    <True />
                                    <Node score="-0.09284852">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.04263658">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.12139183">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.10391879">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.05740408">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.05019508">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="10">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.11617382">
                                    <True />
                                    <Node score="-0.08882918">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.03356296">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.117437534">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.09777675">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.052511703">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="11">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.113229536">
                                    <True />
                                    <Node score="-0.08275638">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.03629597">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.11338723">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.09395076">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.049772706">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.041507594">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="12">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.11041494">
                                    <True />
                                    <Node score="-0.07654684">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.02943164">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.11090157">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.08879388">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.044922408">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.040261902">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="13">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.10678921">
                                    <True />
                                    <Node score="-0.071609266">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.025600716">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.10889429">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.083937936">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.04479748">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.03278851">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="14">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.10251683">
                                    <True />
                                    <Node score="-0.0210827">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        <Node score="-0.10552596">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.07377347">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.08320673">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.040553834">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.034904">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="15">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.101910554">
                                    <True />
                                    <Node score="-0.06729522">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.024522124">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            <Node score="-0.10275483">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.07944744">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.034890704">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.0259559">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="16">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.09933517">
                                    <True />
                                    <Node score="-0.016438004">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        <Node score="-0.10039865">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.0737178">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.061078172">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.031341206">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.023658639">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="17">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.095034026">
                                    <True />
                                    <Node score="-0.01760095">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        <Node score="-0.09913444">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.072135165">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.030572498">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        <Node score="-0.023460781">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.061745357">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="18">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.09231512">
                                    <True />
                                    <Node score="-0.016801221">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                    </Node>
                                    <Node score="-0.067387946">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.05531724">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.026768476">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="19">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.093632676">
                                    <True />
                                    <Node score="-0.051226135">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.019825919">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.06527611">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.026261589">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.02127841">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="20">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.08924988">
                                    <True />
                                    <Node score="-0.04720671">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.01467396">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.058621686">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.017032122">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="21">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.08695615">
                                    <True />
                                    <Node score="-0.015962537">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                    </Node>
                                    <Node score="-0.05925892">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.046808273">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.018831605">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.024936385">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="22">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.08505071">
                                    <True />
                                    <Node score="-0.039620023">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.015016133">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.05332631">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.016460301">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="23">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.08327075">
                                    <True />
                                    <Node score="-0.0070178495">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        <Node score="-0.09504071">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.05015547">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.019358499">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        <Node score="-0.010928299">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.040436417">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="24">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.08014657">
                                    <True />
                                    <Node score="-0.0069832574">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        <Node score="-0.09390759">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.05148529">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.029114718">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.01693614">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="25">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.07567736">
                                    <True />
                                    <Node score="-0.032183416">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.011208395">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.04577417">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.015785726">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.008746773">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="26">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.07445818">
                                    <True />
                                    <Node score="-0.031213537">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.010471222">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.042509582">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.0073663453">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.015203439">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="27">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.06845896">
                                    <True />
                                    <Node score="-0.043452837">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        <Node score="-0.013335734">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.011113736">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                    </Node>
                                    <Node score="-0.028429417">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="28">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.0682976">
                                    <True />
                                    <Node score="-0.003615278">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        <Node score="-0.038155824">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                            <Node score="-0.009198027">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.012161268">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.032492943">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="29">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.06482246">
                                    <True />
                                    <Node score="-0.027907167">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.009467851">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.031135693">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.011574903">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="30">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.066047646">
                                    <True />
                                    <Node score="-0.008021478">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        <Node score="-0.022679133">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                            <Node score="-0.006604998">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-0.003223267">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.02461662">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="31">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.06359891">
                                    <True />
                                    <Node score="0.004246788">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        <Node score="-0.09078204">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="4.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.03741934">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.021193879">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.0084469365">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="32">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.051674988">
                                    <True />
                                    <Node score="0.001550655">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                    </Node>
                                    <Node score="-0.032296162">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.016826032">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.009715836">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="33">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.061113097">
                                    <True />
                                    <Node score="-0.02913839">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        <Node score="-0.0033960163">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.010016859">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.0023019956">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="34">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.049515978">
                                    <True />
                                    <Node score="-0.001250964">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                    </Node>
                                    <Node score="-0.019644452">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.009109678">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="35">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.05207474">
                                    <True />
                                    <Node score="-0.014624025">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.004978394">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.01856506">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.0032248048">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                            <Node score="-0.008147043">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="36">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.049882356">
                                    <True />
                                    <Node score="-0.0135515975">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.0044253957">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.017157946">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.0014845133">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                        <Node score="-0.008983835">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="37">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.04876403">
                                    <True />
                                    <Node score="-0.008822566">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.0027117196">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.015556124">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.0057453504">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="38">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.04332977">
                                    <True />
                                    <Node score="-0.0073772627">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.013024646">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                            <Node score="-0.0021450408">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            </Node>
                                        </Node>
                                        <Node score="-8.3611737E-4">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="39">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.037739765">
                                    <True />
                                    <Node score="0.004107867">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                    </Node>
                                    <Node score="-0.015300958">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="0.0010138432">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                    </Node>
                                    <Node score="-0.008093208">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.0042409804">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="40">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.034148753">
                                    <True />
                                    <Node score="0.00412968">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                    </Node>
                                    <Node score="-0.01396848">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.0039506527">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.008031615">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="41">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.040410016">
                                    <True />
                                    <Node score="8.384377E-4">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        <Node score="-0.005996521">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                            <Node score="5.1236973E-4">
                                                <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                            </Node>
                                        </Node>
                                    </Node>
                                    <Node score="-0.013290922">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="42">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.037005156">
                                    <True />
                                    <Node score="-0.018176459">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        <Node score="-0.0061309705">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.0042070244">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-9.353547E-4">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="43">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.024616376">
                                    <True />
                                    <Node score="-0.014312627">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        <Node score="-3.28897E-4">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.0018306321">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="44">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.029541967">
                                    <True />
                                    <Node score="-0.005389316">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.0022058147">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.011614009">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-2.7332778E-4">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="45">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.015691018">
                                    <True />
                                    <Node score="-0.0045592333">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                        <Node score="-7.9496764E-4">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.008074227">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="0.0012680268">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                    <Node score="-0.008583343">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="46">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="-0.0034897674">
                                    <True />
                                    <Node score="-0.007608027">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="47">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="-0.0034284033">
                                    <True />
                                    <Node score="-0.01091512">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        <Node score="-0.0032879312">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                    </Node>
                                    <Node score="4.416878E-4">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="0.5" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="48">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema />
                                <Node score="-0.0033072364">
                                    <True />
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="49">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.03230368">
                                    <True />
                                    <Node score="-0.007486312">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                        <Node score="-0.0025963536">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="3.5" />
                                        </Node>
                                        <Node score="-0.008188839">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                        </Node>
                                        <Node score="-0.002909976">
                                            <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="1.5" />
                                        </Node>
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                        <Segment id="50">
                            <True />
                            <TreeModel functionName="regression" noTrueChildStrategy="returnLastPrediction" x-mathContext="float">
                                <MiningSchema>
                                    <MiningField name="float(accountOpenDate_weekday)" />
                                </MiningSchema>
                                <Node score="0.025913997">
                                    <True />
                                    <Node score="0.0013337604">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="2.5" />
                                    </Node>
                                    <Node score="-0.003390784">
                                        <SimplePredicate field="float(accountOpenDate_weekday)" operator="greaterOrEqual" value="-499.505" />
                                    </Node>
                                </Node>
                            </TreeModel>
                        </Segment>
                    </Segmentation>
                </MiningModel>
            </Segment>
            <Segment id="2">
                <True />
                <RegressionModel functionName="classification" normalizationMethod="logit" x-mathContext="float">
                    <MiningSchema>
                        <MiningField name="fraud" usageType="target" />
                        <MiningField name="xgbValue" />
                    <MiningField name="inter:rplc_date5" /><MiningField name="inter:date_time(rplc_date5)" /><MiningField name="inter:daysSinceYear(date_time(rplc_date5), 1970)" /><MiningField name="inter:accountOpenDate_weekday" /><MiningField name="inter:float(accountOpenDate_weekday)" /></MiningSchema>
                    <Output>
                        <OutputField dataType="float" feature="probability" name="probability(0)" optype="continuous" value="0" />
                        <OutputField dataType="float" feature="probability" name="probability(1)" optype="continuous" value="1" />
                    <OutputField dataType="string" feature="transformedValue" name="out:rplc_date5" optype="categorical"><FieldRef field="inter:rplc_date5" /></OutputField><OutputField dataType="dateTime" feature="transformedValue" name="out:date_time(rplc_date5)" optype="ordinal"><FieldRef field="inter:date_time(rplc_date5)" /></OutputField><OutputField dataType="integer" feature="transformedValue" name="out:daysSinceYear(date_time(rplc_date5), 1970)" optype="continuous"><FieldRef field="inter:daysSinceYear(date_time(rplc_date5), 1970)" /></OutputField><OutputField dataType="double" feature="transformedValue" name="out:accountOpenDate_weekday" optype="continuous"><FieldRef field="inter:accountOpenDate_weekday" /></OutputField><OutputField dataType="float" feature="transformedValue" name="out:float(accountOpenDate_weekday)" optype="continuous"><FieldRef field="inter:float(accountOpenDate_weekday)" /></OutputField></Output>
                    <RegressionTable intercept="0.0" targetCategory="1">
                        <NumericPredictor coefficient="1.0" name="xgbValue" />
                    </RegressionTable>
                    <RegressionTable intercept="0.0" targetCategory="0" />
                </RegressionModel>
            </Segment>
        </Segmentation>
    </MiningModel>
</PMML>

Running the

from jpmml_evaluator import make_evaluator
from jpmml_evaluator.py4j import launch_gateway, Py4JBackend
gateway = launch_gateway()

# Construct a Py4J backend based on the newly launched gateway
backend = Py4JBackend(gateway)

evaluator = make_evaluator(backend, out_file).verify()
outputFields = evaluator.getOutputFields()
outputNames = [outputField.getName() for outputField in outputFields]

inputFields = evaluator.getInputFields()

results = evaluator.evaluateAll(X_test1.replace({np.nan: None}))

gateway.shutdown()

gives me the error

---------------------------------------------------------------------------
Py4JJavaError                             Traceback (most recent call last)
<ipython-input-146-8c046dfd03eb> in <module>
     13 # print("Input fields: " + str([inputField.getName() for inputField in inputFields]))
     14 # print("Input types: " + str([inputField.getDataType() for inputField in inputFields]))
---> 15 results = evaluator.evaluateAll(X_test1.replace({np.nan: None}))
     16 
     17 # print(results)

~/anaconda3/envs/python3/lib/python3.6/site-packages/jpmml_evaluator/__init__.py in evaluateAll(self, arguments_df)
     89                 result_records = []
     90                 for argument_record in argument_records:
---> 91                         result_record = self.evaluate(argument_record)
     92                         result_records.append(result_record)
     93                 return DataFrame.from_records(result_records)

~/anaconda3/envs/python3/lib/python3.6/site-packages/jpmml_evaluator/__init__.py in evaluate(self, arguments)
     80                 javaArguments = self.backend.dict2map(arguments)
     81                 javaArguments = self.backend.staticInvoke("org.jpmml.evaluator.EvaluatorUtil", "encodeKeys", javaArguments)
---> 82                 javaResults = self.javaEvaluator.evaluate(javaArguments)
     83                 javaResults = self.backend.staticInvoke("org.jpmml.evaluator.EvaluatorUtil", "decodeAll", javaResults)
     84                 results = self.backend.map2dict(javaResults)

~/anaconda3/envs/python3/lib/python3.6/site-packages/py4j/java_gateway.py in __call__(self, *args)
   1255         answer = self.gateway_client.send_command(command)
   1256         return_value = get_return_value(
-> 1257             answer, self.gateway_client, self.target_id, self.name)
   1258 
   1259         for temp_arg in temp_args:

~/anaconda3/envs/python3/lib/python3.6/site-packages/py4j/protocol.py in get_return_value(answer, gateway_client, target_id, name)
    326                 raise Py4JJavaError(
    327                     "An error occurred while calling {0}{1}{2}.\n".
--> 328                     format(target_id, ".", name), value)
    329             else:
    330                 raise Py4JError(

Py4JJavaError: An error occurred while calling o4.evaluate.
: java.lang.IllegalArgumentException: 2010-02-18 00:00:00
    at org.jpmml.evaluator.TypeUtil.parseDateTime(TypeUtil.java:309)
    at org.jpmml.evaluator.TypeUtil.parse(TypeUtil.java:88)
    at org.jpmml.evaluator.TypeUtil.parseOrCast(TypeUtil.java:60)
    at org.jpmml.evaluator.ScalarValue.<init>(ScalarValue.java:30)
    at org.jpmml.evaluator.DiscreteValue.<init>(DiscreteValue.java:27)
    at org.jpmml.evaluator.OrdinalValue.<init>(OrdinalValue.java:35)
    at org.jpmml.evaluator.OrdinalValue.create(OrdinalValue.java:119)
    at org.jpmml.evaluator.FieldValue.create(FieldValue.java:361)
    at org.jpmml.evaluator.FieldValue.cast(FieldValue.java:110)
    at org.jpmml.evaluator.ExpressionUtil.evaluateTypedExpressionContainer(ExpressionUtil.java:95)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:112)
    at org.jpmml.evaluator.ModelEvaluationContext.resolve(ModelEvaluationContext.java:100)
    at org.jpmml.evaluator.EvaluationContext.evaluate(EvaluationContext.java:103)
    at org.jpmml.evaluator.ExpressionUtil.evaluateFieldRef(ExpressionUtil.java:245)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpression(ExpressionUtil.java:166)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:152)
    at org.jpmml.evaluator.ExpressionUtil.evaluateApply(ExpressionUtil.java:449)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpression(ExpressionUtil.java:190)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:152)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpressionContainer(ExpressionUtil.java:84)
    at org.jpmml.evaluator.ExpressionUtil.evaluateTypedExpressionContainer(ExpressionUtil.java:89)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:112)
    at org.jpmml.evaluator.ModelEvaluationContext.resolve(ModelEvaluationContext.java:100)
    at org.jpmml.evaluator.EvaluationContext.evaluate(EvaluationContext.java:103)
    at org.jpmml.evaluator.ExpressionUtil.evaluateFieldRef(ExpressionUtil.java:245)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpression(ExpressionUtil.java:166)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:152)
    at org.jpmml.evaluator.ExpressionUtil.evaluateApply(ExpressionUtil.java:449)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpression(ExpressionUtil.java:190)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:152)
    at org.jpmml.evaluator.ExpressionUtil.evaluateApply(ExpressionUtil.java:381)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpression(ExpressionUtil.java:190)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:152)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpressionContainer(ExpressionUtil.java:84)
    at org.jpmml.evaluator.ExpressionUtil.evaluateTypedExpressionContainer(ExpressionUtil.java:89)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:112)
    at org.jpmml.evaluator.ModelEvaluationContext.resolve(ModelEvaluationContext.java:100)
    at org.jpmml.evaluator.EvaluationContext.evaluate(EvaluationContext.java:103)
    at org.jpmml.evaluator.ExpressionUtil.evaluateFieldRef(ExpressionUtil.java:245)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpression(ExpressionUtil.java:166)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:152)
    at org.jpmml.evaluator.ExpressionUtil.evaluateExpressionContainer(ExpressionUtil.java:84)
    at org.jpmml.evaluator.ExpressionUtil.evaluateTypedExpressionContainer(ExpressionUtil.java:89)
    at org.jpmml.evaluator.ExpressionUtil.evaluate(ExpressionUtil.java:112)
    at org.jpmml.evaluator.ModelEvaluationContext.resolve(ModelEvaluationContext.java:100)
    at org.jpmml.evaluator.EvaluationContext.evaluate(EvaluationContext.java:103)
    at org.jpmml.evaluator.ModelEvaluationContext.resolve(ModelEvaluationContext.java:142)
    at org.jpmml.evaluator.EvaluationContext.evaluate(EvaluationContext.java:103)
    at org.jpmml.evaluator.PredicateUtil.evaluateSimplePredicate(PredicateUtil.java:137)
    at org.jpmml.evaluator.PredicateUtil.evaluatePredicate(PredicateUtil.java:83)
    at org.jpmml.evaluator.PredicateUtil.evaluate(PredicateUtil.java:73)
    at org.jpmml.evaluator.PredicateUtil.evaluatePredicateContainer(PredicateUtil.java:63)
    at org.jpmml.evaluator.tree.SimpleTreeModelEvaluator.evaluateTree(SimpleTreeModelEvaluator.java:122)
    at org.jpmml.evaluator.tree.SimpleTreeModelEvaluator.evaluateAny(SimpleTreeModelEvaluator.java:90)
    at org.jpmml.evaluator.tree.SimpleTreeModelEvaluator.evaluateRegression(SimpleTreeModelEvaluator.java:77)
    at org.jpmml.evaluator.ModelEvaluator.evaluateInternal(ModelEvaluator.java:474)
    at org.jpmml.evaluator.mining.MiningModelEvaluator.evaluateSegmentation(MiningModelEvaluator.java:540)
    at org.jpmml.evaluator.mining.MiningModelEvaluator.evaluateRegression(MiningModelEvaluator.java:246)
    at org.jpmml.evaluator.ModelEvaluator.evaluateInternal(ModelEvaluator.java:474)
    at org.jpmml.evaluator.mining.MiningModelEvaluator.evaluateInternal(MiningModelEvaluator.java:239)
    at org.jpmml.evaluator.mining.MiningModelEvaluator.evaluateSegmentation(MiningModelEvaluator.java:540)
    at org.jpmml.evaluator.mining.MiningModelEvaluator.evaluateClassification(MiningModelEvaluator.java:306)
    at org.jpmml.evaluator.ModelEvaluator.evaluateInternal(ModelEvaluator.java:477)
    at org.jpmml.evaluator.mining.MiningModelEvaluator.evaluateInternal(MiningModelEvaluator.java:239)
    at org.jpmml.evaluator.ModelEvaluator.evaluate(ModelEvaluator.java:306)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
    at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
    at py4j.Gateway.invoke(Gateway.java:282)
    at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
    at py4j.commands.CallCommand.execute(CallCommand.java:79)
    at py4j.GatewayConnection.run(GatewayConnection.java:238)
    at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.time.format.DateTimeParseException: Text '2010-02-18 00:00:00' could not be parsed at index 10
    at java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2046)
    at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1948)
    at java.base/java.time.LocalDateTime.parse(LocalDateTime.java:492)
    at java.base/java.time.LocalDateTime.parse(LocalDateTime.java:477)
    at org.jpmml.evaluator.TypeUtil.parseDateTime(TypeUtil.java:307)
    ... 75 more
vruusmann commented 3 years ago

java.lang.IllegalArgumentException: 2010-02-18 00:00:00

You've generated a datetime string "2010-02-18 00:00:00", which violates basic ISO 8601 requirements.

Fix your datetime formatting logic.

This issue has nothing to do with the JPMML software stack (especially the JPMML-Evaluator(-Python) library).

Also, next time, spend 10 seconds and format your issue properly. It's such a mess (also kind of suggests why your own application code never works).