-
Notifications
You must be signed in to change notification settings - Fork 1
/
decision_tree.yxmd
259 lines (259 loc) · 10.6 KB
/
decision_tree.yxmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<?xml version="1.0"?>
<AlteryxDocument yxmdVer="10.5">
<Nodes>
<Node ToolID="1">
<GuiSettings Plugin="AlteryxBasePluginsGui.DbFileInput.DbFileInput">
<Position x="54" y="66" />
</GuiSettings>
<Properties>
<Configuration>
<Passwords />
<File OutputFileName="" RecordLimit="" SearchSubDirs="False" FileFormat="0">C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv</File>
<FormatSpecificOptions>
<CodePage>28591</CodePage>
<Delimeter>,</Delimeter>
<IgnoreErrors>False</IgnoreErrors>
<FieldLen>254</FieldLen>
<AllowShareWrite>False</AllowShareWrite>
<HeaderRow>True</HeaderRow>
<IgnoreQuotes>DoubleQuotes</IgnoreQuotes>
<ImportLine>1</ImportLine>
</FormatSpecificOptions>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText>hotelloyaltydata.csv</DefaultAnnotationText>
<Left value="False" />
</Annotation>
<MetaInfo connection="Output">
<RecordInfo>
<Field name="Customer Key" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="First Name" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Last Name" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Customer Segment" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Income" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Reedemer" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Region" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Spend" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Status" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Stays Per Year" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Total Days Stayed" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
<Field name="Years Of Loyalty" size="254" source="File: C:\Users\Ratnesh\Downloads\hotelloyaltydata.csv" type="V_String" />
</RecordInfo>
</MetaInfo>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxDbFileInput" />
</Node>
<Node ToolID="2">
<GuiSettings Plugin="AlteryxBasePluginsGui.AlteryxSelect.AlteryxSelect">
<Position x="186" y="66" />
</GuiSettings>
<Properties>
<Configuration>
<OrderChanged value="False" />
<SelectFields>
<SelectField field="Spend" selected="True" type="Double" size="8" />
<SelectField field="Stays Per Year" selected="True" type="Double" size="8" />
<SelectField field="Total Days Stayed" selected="True" type="Double" size="8" />
<SelectField field="Years Of Loyalty" selected="True" type="Double" size="8" />
<SelectField field="*Unknown" selected="True" />
</SelectFields>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText />
<Left value="False" />
</Annotation>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxSelect" />
</Node>
<Node ToolID="3">
<GuiSettings>
<Position x="318" y="66" />
</GuiSettings>
<Properties>
<Configuration>
<Value name="estimation pct">70</Value>
<Value name="validation pct">30</Value>
<Value name="rand seed">1</Value>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText />
<Left value="False" />
</Annotation>
</Properties>
<EngineSettings Macro="Predictive Tools\Create_Samples.yxmc" />
</Node>
<Node ToolID="4">
<GuiSettings>
<Position x="438" y="54" />
</GuiSettings>
<Properties>
<Configuration>
<Value name="Model Name">DT_Reedemer</Value>
<Value name="Y Var">Reedemer</Value>
<Value name="X Vars">Customer Segment + Income + Region + Spend + Status + Stays Per Year + Total Days Stayed + Years Of Loyalty</Value>
<Value name="use.weights">False</Value>
<Value name="select.weights">Spend</Value>
<Value name="cp">Auto</Value>
<Value name="select.type">False</Value>
<Value name="classification">True</Value>
<Value name="use.gini">True</Value>
<Value name="use.information">False</Value>
<Value name="regression">False</Value>
<Value name="min.split">20</Value>
<Value name="min.bucket">7</Value>
<Value name="usesurrogate.0">False</Value>
<Value name="usesurrogate.1">False</Value>
<Value name="usesurrogate.2">True</Value>
<Value name="total.correct">True</Value>
<Value name="percent.correct">False</Value>
<Value name="xval.folds">10</Value>
<Value name="max.depth">20</Value>
<Value name="max.bins">Default</Value>
<Value name="tree.plot">True</Value>
<Value name="Counts">False</Value>
<Value name="Proportions">True</Value>
<Value name="Branch Dist">True</Value>
<Value name="tree.inches">True</Value>
<Value name="tree.in.w">5.50</Value>
<Value name="tree.in.h">5.50</Value>
<Value name="tree.centimeters">False</Value>
<Value name="tree.cm.w">13.00</Value>
<Value name="tree.cm.h">14.95</Value>
<Value name="tree.graph.resolution">1x</Value>
<Value name="tree.pointsize">8</Value>
<Value name="prune.plot">False</Value>
<Value name="prune.inches">True</Value>
<Value name="prune.in.w">5.50</Value>
<Value name="prune.in.h">5.50</Value>
<Value name="prune.centimeters">False</Value>
<Value name="prune.cm.w">13.00</Value>
<Value name="prune.cm.h">14.95</Value>
<Value name="prune.graph.resolution">1x</Value>
<Value name="prune.pointsize">10</Value>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText />
<Left value="False" />
</Annotation>
<Dependencies>
<Implicit />
</Dependencies>
</Properties>
<EngineSettings Macro="Predictive Tools\Decision_Tree.yxmc" />
</Node>
<Node ToolID="5">
<GuiSettings Plugin="AlteryxBasePluginsGui.BrowseV2.BrowseV2">
<Position x="570" y="54" />
</GuiSettings>
<Properties>
<Configuration>
<TempFile>C:\Users\Ratnesh\AppData\Local\Temp\Engine_7212_d01f82da93f446719f50bc1b5e45230b_\Engine_4376_def5d0adbdce4ec395f2c28b483a98bf_.yxdb</TempFile>
<Layout>
<ViewMode>Single</ViewMode>
<ViewSize value="100" />
<View1>
<DefaultTab>Report</DefaultTab>
<Hints>
<Table />
</Hints>
</View1>
<View2 />
</Layout>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText />
<Left value="False" />
</Annotation>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxBrowseV2" />
</Node>
<Node ToolID="6">
<GuiSettings Plugin="AlteryxBasePluginsGui.BrowseV2.BrowseV2">
<Position x="534" y="102" />
</GuiSettings>
<Properties>
<Configuration>
<TempFile>C:\Users\Ratnesh\AppData\Local\Temp\Engine_7212_d01f82da93f446719f50bc1b5e45230b_\Engine_4376_1c75d70885cd4c9cb0e1e457df0032d3_.yxdb</TempFile>
<Layout>
<ViewMode>Single</ViewMode>
<ViewSize value="100" />
<View1>
<DefaultTab>Report</DefaultTab>
<Hints>
<Table />
</Hints>
</View1>
<View2 />
</Layout>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText />
<Left value="False" />
</Annotation>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxBrowseV2" />
</Node>
</Nodes>
<Connections>
<Connection>
<Origin ToolID="1" Connection="Output" />
<Destination ToolID="2" Connection="Input" />
</Connection>
<Connection>
<Origin ToolID="2" Connection="Output" />
<Destination ToolID="3" Connection="Input" />
</Connection>
<Connection>
<Origin ToolID="3" Connection="Estimation" />
<Destination ToolID="4" Connection="Input" />
</Connection>
<Connection>
<Origin ToolID="4" Connection="Reports" />
<Destination ToolID="5" Connection="Input" />
</Connection>
<Connection>
<Origin ToolID="4" Connection="Interactive" />
<Destination ToolID="6" Connection="Input" />
</Connection>
</Connections>
<Properties>
<Memory default="True" />
<GlobalRecordLimit value="0" />
<TempFiles default="True" />
<Annotation on="True" includeToolName="False" />
<ConvErrorLimit value="10" />
<ConvErrorLimit_Stop value="False" />
<CancelOnError value="False" />
<DisableBrowse value="False" />
<EnablePerformanceProfiling value="False" />
<DisableAllOutput value="False" />
<ShowAllMacroMessages value="False" />
<ShowConnectionStatusIsOn value="True" />
<ShowConnectionStatusOnlyWhenRunning value="True" />
<ZoomLevel value="0" />
<LayoutType>Horizontal</LayoutType>
<MetaInfo>
<NameIsFileName value="True" />
<Name>decision_tree</Name>
<Description />
<RootToolName />
<ToolVersion />
<ToolInDb value="False" />
<CategoryName />
<SearchTags />
<Author />
<Company />
<Copyright />
<DescriptionLink actual="" displayed="" />
</MetaInfo>
<Events>
<Enabled value="True" />
</Events>
</Properties>
</AlteryxDocument>