Files
cas-pml/SL/aufgaben/data/DecisionTreeRegressor_melb.pmml
2026-05-21 14:16:30 +02:00

48 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PMML xmlns="http://www.dmg.org/PMML-4_4" xmlns:data="http://jpmml.org/jpmml-model/InlineTable" version="4.4">
<Header>
<Application name="SkLearn2PMML package" version="0.119.1"/>
<Timestamp>2025-06-21T20:20:46Z</Timestamp>
</Header>
<MiningBuildTask>
<Extension name="repr">PMMLPipeline(steps=[('regressor', DecisionTreeRegressor(max_depth=2, random_state=1234))])</Extension>
</MiningBuildTask>
<DataDictionary>
<DataField name="Price" optype="continuous" dataType="double"/>
<DataField name="Rooms" optype="continuous" dataType="float"/>
<DataField name="Type" optype="continuous" dataType="float"/>
<DataField name="Regionname_Southern_Metropolitan" optype="continuous" dataType="float"/>
</DataDictionary>
<TreeModel functionName="regression" algorithmName="sklearn.tree._classes.DecisionTreeRegressor" missingValueStrategy="nullPrediction" noTrueChildStrategy="returnLastPrediction">
<MiningSchema>
<MiningField name="Price" usageType="target"/>
<MiningField name="Rooms"/>
<MiningField name="Type"/>
<MiningField name="Regionname_Southern_Metropolitan"/>
</MiningSchema>
<LocalTransformations>
<DerivedField name="double(Rooms)" optype="continuous" dataType="double">
<FieldRef field="Rooms"/>
</DerivedField>
<DerivedField name="double(Type)" optype="continuous" dataType="double">
<FieldRef field="Type"/>
</DerivedField>
<DerivedField name="double(Regionname_Southern_Metropolitan)" optype="continuous" dataType="double">
<FieldRef field="Regionname_Southern_Metropolitan"/>
</DerivedField>
</LocalTransformations>
<Node score="2113002.898989899">
<True/>
<Node score="682863.3751581077">
<SimplePredicate field="double(Rooms)" operator="lessOrEqual" value="3.5"/>
<Node score="1077045.4976463942">
<SimplePredicate field="double(Type)" operator="lessOrEqual" value="1.5"/>
</Node>
</Node>
<Node score="1163850.4992142483">
<SimplePredicate field="double(Regionname_Southern_Metropolitan)" operator="lessOrEqual" value="0.5"/>
</Node>
</Node>
</TreeModel>
</PMML>