DecisionTreeMock.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. {
  2. "status" : {
  3. "state" : "SUCCESS"
  4. },
  5. "results" : {
  6. "records" : 594,
  7. "root" : {
  8. "value" : 112.4850505050505,
  9. "records" : 594,
  10. "ruleLabel" : "",
  11. "input" : -1,
  12. "id" : 0,
  13. "inputValues" : [],
  14. "children" : [{
  15. "value" : -0.2905042016806721,
  16. "records" : 119,
  17. "ruleLabel" : "<= 36.35",
  18. "input" : 0,
  19. "id" : 1,
  20. "inputValues" : [0],
  21. "children" : [],
  22. "stats" : {
  23. "df2" : 0,
  24. "effect" : 0,
  25. "stdDev" : 15.459153662054598,
  26. "f" : 0,
  27. "adjSig" : 0,
  28. "average" : -0.2905042016806721,
  29. "df1" : 0
  30. }
  31. }, {
  32. "value" : 20.00117647058823,
  33. "records" : 119,
  34. "ruleLabel" : "= 36.35 to 68.94",
  35. "input" : 0,
  36. "id" : 2,
  37. "inputValues" : [1],
  38. "children" : [],
  39. "stats" : {
  40. "df2" : 0,
  41. "effect" : 0,
  42. "stdDev" : 25.40240186750233,
  43. "f" : 0,
  44. "adjSig" : 0,
  45. "average" : 20.00117647058823,
  46. "df1" : 0
  47. }
  48. }, {
  49. "value" : 48.46159663865545,
  50. "records" : 119,
  51. "ruleLabel" : "= 68.94 to 126.48",
  52. "input" : 0,
  53. "id" : 3,
  54. "inputValues" : [2],
  55. "children" : [],
  56. "stats" : {
  57. "df2" : 0,
  58. "effect" : 0,
  59. "stdDev" : 26.881131022638545,
  60. "f" : 0,
  61. "adjSig" : 0,
  62. "average" : 48.46159663865545,
  63. "df1" : 0
  64. }
  65. }, {
  66. "value" : 113.75394957983193,
  67. "records" : 119,
  68. "ruleLabel" : "= 126.48 to 236",
  69. "input" : 0,
  70. "id" : 4,
  71. "inputValues" : [3],
  72. "children" : [{
  73. "value" : 137.41249999999997,
  74. "records" : 56,
  75. "ruleLabel" : "<= 50",
  76. "input" : 1,
  77. "id" : 6,
  78. "inputValues" : [0, 1, 2],
  79. "children" : [],
  80. "stats" : {
  81. "df2" : 0,
  82. "effect" : 0,
  83. "stdDev" : 33.477007699993976,
  84. "f" : 0,
  85. "adjSig" : 0,
  86. "average" : 137.41249999999997,
  87. "df1" : 0
  88. }
  89. }, {
  90. "value" : 92.72412698412698,
  91. "records" : 63,
  92. "ruleLabel" : "> 50",
  93. "input" : 1,
  94. "id" : 7,
  95. "inputValues" : [3, 4],
  96. "children" : [],
  97. "stats" : {
  98. "df2" : 0,
  99. "effect" : 0,
  100. "stdDev" : 40.2581881727352,
  101. "f" : 0,
  102. "adjSig" : 0,
  103. "average" : 92.72412698412698,
  104. "df1" : 0
  105. }
  106. }
  107. ],
  108. "stats" : {
  109. "df2" : 117,
  110. "effect" : 0.2675035071696037,
  111. "stdDev" : 43.30914471130268,
  112. "f" : 42.727727224887005,
  113. "adjSig" : 6.869981371762505e-9,
  114. "average" : 113.75394957983193,
  115. "df1" : 1
  116. }
  117. }, {
  118. "value" : 382.7703389830508,
  119. "records" : 118,
  120. "ruleLabel" : "> 236",
  121. "input" : 0,
  122. "id" : 5,
  123. "inputValues" : [4],
  124. "children" : [],
  125. "stats" : {
  126. "df2" : 0,
  127. "effect" : 0,
  128. "stdDev" : 294.21637163257293,
  129. "f" : 0,
  130. "adjSig" : 0,
  131. "average" : 382.7703389830508,
  132. "df1" : 0
  133. }
  134. }
  135. ],
  136. "stats" : {
  137. "df2" : 589,
  138. "effect" : 0.524817643132174,
  139. "stdDev" : 193.39220817171517,
  140. "f" : 162.63103382162865,
  141. "adjSig" : 1.0647681822688998e-93,
  142. "average" : 112.4850505050505,
  143. "df1" : 4
  144. }
  145. },
  146. "fields" : {
  147. "target" : {
  148. "label" : "Net Profit",
  149. "id" : "[0].[Net Profit]"
  150. },
  151. "inputs" : [{
  152. "values" : [{
  153. "upper" : {
  154. "value" : 36.35,
  155. "intervalType" : "closed"
  156. }
  157. }, {
  158. "lower" : {
  159. "value" : 36.35,
  160. "intervalType" : "open"
  161. },
  162. "upper" : {
  163. "value" : 68.94,
  164. "intervalType" : "closed"
  165. }
  166. }, {
  167. "lower" : {
  168. "value" : 68.94,
  169. "intervalType" : "open"
  170. },
  171. "upper" : {
  172. "value" : 126.48,
  173. "intervalType" : "closed"
  174. }
  175. }, {
  176. "lower" : {
  177. "value" : 126.48,
  178. "intervalType" : "open"
  179. },
  180. "upper" : {
  181. "value" : 236,
  182. "intervalType" : "closed"
  183. }
  184. }, {
  185. "lower" : {
  186. "value" : 236,
  187. "intervalType" : "open"
  188. }
  189. }
  190. ],
  191. "label" : "Worldwide Gross",
  192. "id" : "[0].[Worldwide Gross]"
  193. }, {
  194. "values" : [{
  195. "upper" : {
  196. "value" : 20,
  197. "intervalType" : "closed"
  198. }
  199. }, {
  200. "lower" : {
  201. "value" : 20,
  202. "intervalType" : "open"
  203. },
  204. "upper" : {
  205. "value" : 30,
  206. "intervalType" : "closed"
  207. }
  208. }, {
  209. "lower" : {
  210. "value" : 30,
  211. "intervalType" : "open"
  212. },
  213. "upper" : {
  214. "value" : 50,
  215. "intervalType" : "closed"
  216. }
  217. }, {
  218. "lower" : {
  219. "value" : 50,
  220. "intervalType" : "open"
  221. },
  222. "upper" : {
  223. "value" : 85,
  224. "intervalType" : "closed"
  225. }
  226. }, {
  227. "lower" : {
  228. "value" : 85,
  229. "intervalType" : "open"
  230. }
  231. }
  232. ],
  233. "label" : "Budget",
  234. "id" : "[0].[Budget]"
  235. }
  236. ]
  237. },
  238. "accuracy" : 0.5274871931604797,
  239. "type" : "TREE_CONTINUOUS",
  240. "insights" : {
  241. "significant" : {
  242. "high" : [{
  243. "inputs" : [5]
  244. }
  245. ]
  246. },
  247. "group" : {
  248. "high" : [{
  249. "inputs" : [5]
  250. }
  251. ],
  252. "low" : [{
  253. "inputs" : [1]
  254. }, {
  255. "inputs" : [2]
  256. }, {
  257. "inputs" : [3]
  258. }
  259. ],
  260. "medium" : [{
  261. "inputs" : [7]
  262. }, {
  263. "inputs" : [6]
  264. }
  265. ]
  266. }
  267. },
  268. "id" : "TREE_[0].[Net Profit]_[0].[Worldwide Gross]_BinningTrans_[0].[Net Profit]_[0].[Budget]_BinningTrans",
  269. "interestingness" : 0.5748584682342955,
  270. "stats" : {
  271. "statisticalDetails" : {
  272. "fields" : {
  273. "target" : {
  274. "label" : "[0].[Net Profit]",
  275. "id" : "[0].[Net Profit]"
  276. },
  277. "inputs" : [{
  278. "label" : "[0].[Worldwide Gross]",
  279. "id" : "[0].[Net Profit]_[0].[Worldwide Gross]_BinningTrans"
  280. }, {
  281. "label" : "[0].[Budget]",
  282. "id" : "[0].[Net Profit]_[0].[Budget]_BinningTrans"
  283. }
  284. ]
  285. },
  286. "statisticalContent" : [{
  287. "content" : "Decision tree",
  288. "type" : "SECTIONTITLE"
  289. }, {
  290. "content" : {
  291. "value" : [{
  292. "type" : "STRING",
  293. "$ref" : "/fields/inputs/[0].[Net Profit]_[0].[Worldwide Gross]_BinningTrans"
  294. }, " and ", {
  295. "type" : "STRING",
  296. "$ref" : "/fields/inputs/[0].[Net Profit]_[0].[Budget]_BinningTrans"
  297. }, " predict ", {
  298. "style" : ["emphasize"],
  299. "type" : "STRING",
  300. "$ref" : "/fields/target/[0].[Net Profit]"
  301. }, "."],
  302. "type" : "COMPLEXSTRING"
  303. },
  304. "type" : "DESCRIPTION"
  305. }, {
  306. "content" : "Statistical details",
  307. "type" : "SECTIONTITLE"
  308. }, {
  309. "content" : {
  310. "value" : [{
  311. "type" : "STRING",
  312. "$ref" : "/fields/target/[0].[Net Profit]"
  313. }, " is a continuous target, so a CHAID regression tree is used."],
  314. "type" : "COMPLEXSTRING"
  315. },
  316. "type" : "DESCRIPTION"
  317. }, {
  318. "content" : {
  319. "value" : ["Predictive strength (1 - Relative error): ", {
  320. "value" : 0.5274871931604797,
  321. "format" : {
  322. "style" : "percent",
  323. "footnoteLabel" : false,
  324. "minimumFractionDigits" : 0,
  325. "maximumFractionDigits" : 0,
  326. "scientificNotation" : false,
  327. "boundByDecimal" : false
  328. },
  329. "type" : "NUMBER"
  330. }
  331. ],
  332. "type" : "COMPLEXSTRING"
  333. },
  334. "type" : "DESCRIPTION"
  335. }, {
  336. "content" : {
  337. "headers" : [["Records included", "Records excluded"]],
  338. "title" : "Records summary",
  339. "rows" : [[{
  340. "value" : [{
  341. "value" : 594,
  342. "type" : "NUMBER"
  343. }, "(", {
  344. "value" : 1,
  345. "format" : {
  346. "style" : "percent",
  347. "footnoteLabel" : false,
  348. "minimumFractionDigits" : 0,
  349. "maximumFractionDigits" : 0,
  350. "scientificNotation" : false,
  351. "boundByDecimal" : false
  352. },
  353. "type" : "NUMBER"
  354. }, ")"],
  355. "type" : "COMPLEXSTRING"
  356. }, {
  357. "value" : [{
  358. "value" : 0,
  359. "type" : "NUMBER"
  360. }, "(", {
  361. "value" : 0,
  362. "format" : {
  363. "style" : "percent",
  364. "footnoteLabel" : false,
  365. "minimumFractionDigits" : 0,
  366. "maximumFractionDigits" : 0,
  367. "scientificNotation" : false,
  368. "boundByDecimal" : false
  369. },
  370. "type" : "NUMBER"
  371. }, ")"],
  372. "type" : "COMPLEXSTRING"
  373. }
  374. ]]
  375. },
  376. "type" : "TABLE"
  377. }, {
  378. "content" : {
  379. "footNotes" : [{
  380. "value" : ["The predictor importance value is less than 0.01 for the following inputs:", {
  381. "type" : "STRING",
  382. "$ref" : "/fields/inputs/[0].[Net Profit]_[0].[Budget]_BinningTrans"
  383. }
  384. ],
  385. "type" : "MULTILINE"
  386. }
  387. ],
  388. "headers" : [["Input", "Value"]],
  389. "title" : "Predictor importance",
  390. "rows" : [[{
  391. "type" : "STRING",
  392. "$ref" : "/fields/inputs/[0].[Net Profit]_[0].[Worldwide Gross]_BinningTrans"
  393. }, {
  394. "value" : 1,
  395. "format" : {
  396. "footnoteLabel" : false,
  397. "minimumFractionDigits" : 2,
  398. "maximumFractionDigits" : 2,
  399. "scientificNotation" : false,
  400. "boundByDecimal" : false
  401. },
  402. "type" : "NUMBER"
  403. }
  404. ], []]
  405. },
  406. "type" : "TABLE"
  407. }, {
  408. "content" : {
  409. "footNotes" : [{
  410. "value" : [{
  411. "value" : [{
  412. "value" : "a",
  413. "format" : {
  414. "footnoteLabel" : true,
  415. "minimumFractionDigits" : 0,
  416. "maximumFractionDigits" : 0,
  417. "scientificNotation" : false,
  418. "boundByDecimal" : false
  419. },
  420. "type" : "STRING"
  421. }, "Each t value has df=", {
  422. "value" : 588,
  423. "format" : {
  424. "footnoteLabel" : false,
  425. "minimumFractionDigits" : 0,
  426. "maximumFractionDigits" : 0,
  427. "scientificNotation" : false,
  428. "boundByDecimal" : false
  429. },
  430. "type" : "NUMBER"
  431. }, {
  432. "value" : ".",
  433. "type" : "STRING"
  434. }
  435. ],
  436. "type" : "COMPLEXSTRING"
  437. }, "Leaf nodes in the high group have high means compared to the root node.", "Leaf nodes in the low group have low means compared to the root node."],
  438. "type" : "MULTILINE"
  439. }, "Medium leaf nodes, if any, are not listed."],
  440. "headers" : [["Type", "Leaf node", {
  441. "value" : ["t", {
  442. "value" : "a",
  443. "format" : {
  444. "footnoteLabel" : true,
  445. "minimumFractionDigits" : 0,
  446. "maximumFractionDigits" : 0,
  447. "scientificNotation" : false,
  448. "boundByDecimal" : false
  449. },
  450. "type" : "STRING"
  451. }
  452. ],
  453. "type" : "COMPLEXSTRING"
  454. }, "Sig."]],
  455. "title" : "Test results for high/low analysis",
  456. "rows" : [[{
  457. "value" : "High",
  458. "style" : ["emphasize"],
  459. "rowSpan" : 1,
  460. "type" : "STRING"
  461. }, {
  462. "value" : ["(", "[0].[Worldwide Gross]", "> ", {
  463. "value" : 236,
  464. "format" : {
  465. "footnoteLabel" : false,
  466. "minimumFractionDigits" : 0,
  467. "maximumFractionDigits" : 0,
  468. "scientificNotation" : false,
  469. "boundByDecimal" : false
  470. },
  471. "type" : "NUMBER"
  472. }, ")"],
  473. "type" : "COMPLEXSTRING"
  474. }, {
  475. "value" : 21.992720941105542,
  476. "format" : {
  477. "footnoteLabel" : false,
  478. "minimumFractionDigits" : 2,
  479. "maximumFractionDigits" : 2,
  480. "scientificNotation" : false,
  481. "boundByDecimal" : false
  482. },
  483. "type" : "NUMBER"
  484. }, "< 0.0001"], [{
  485. "value" : "Low",
  486. "style" : ["emphasize"],
  487. "rowSpan" : 3,
  488. "type" : "STRING"
  489. }, {
  490. "value" : ["(", "[0].[Worldwide Gross]", " = ", {
  491. "value" : 68.94,
  492. "format" : {
  493. "footnoteLabel" : false,
  494. "minimumFractionDigits" : 2,
  495. "maximumFractionDigits" : 2,
  496. "scientificNotation" : false,
  497. "boundByDecimal" : false
  498. },
  499. "type" : "NUMBER"
  500. }, " to ", {
  501. "value" : 126.48,
  502. "format" : {
  503. "footnoteLabel" : false,
  504. "minimumFractionDigits" : 2,
  505. "maximumFractionDigits" : 2,
  506. "scientificNotation" : false,
  507. "boundByDecimal" : false
  508. },
  509. "type" : "NUMBER"
  510. }, ")"],
  511. "type" : "COMPLEXSTRING"
  512. }, {
  513. "value" : -5.23152291670605,
  514. "format" : {
  515. "footnoteLabel" : false,
  516. "minimumFractionDigits" : 2,
  517. "maximumFractionDigits" : 2,
  518. "scientificNotation" : false,
  519. "boundByDecimal" : false
  520. },
  521. "type" : "NUMBER"
  522. }, "< 0.0001"], [{
  523. "value" : ["(", "[0].[Worldwide Gross]", " = ", {
  524. "value" : 36.35,
  525. "format" : {
  526. "footnoteLabel" : false,
  527. "minimumFractionDigits" : 2,
  528. "maximumFractionDigits" : 2,
  529. "scientificNotation" : false,
  530. "boundByDecimal" : false
  531. },
  532. "type" : "NUMBER"
  533. }, " to ", {
  534. "value" : 68.94,
  535. "format" : {
  536. "footnoteLabel" : false,
  537. "minimumFractionDigits" : 2,
  538. "maximumFractionDigits" : 2,
  539. "scientificNotation" : false,
  540. "boundByDecimal" : false
  541. },
  542. "type" : "NUMBER"
  543. }, ")"],
  544. "type" : "COMPLEXSTRING"
  545. }, {
  546. "value" : -7.557097863647135,
  547. "format" : {
  548. "footnoteLabel" : false,
  549. "minimumFractionDigits" : 2,
  550. "maximumFractionDigits" : 2,
  551. "scientificNotation" : false,
  552. "boundByDecimal" : false
  553. },
  554. "type" : "NUMBER"
  555. }, "< 0.0001"], [{
  556. "value" : ["(", "[0].[Worldwide Gross]", "<= ", {
  557. "value" : 36.35,
  558. "format" : {
  559. "footnoteLabel" : false,
  560. "minimumFractionDigits" : 2,
  561. "maximumFractionDigits" : 2,
  562. "scientificNotation" : false,
  563. "boundByDecimal" : false
  564. },
  565. "type" : "NUMBER"
  566. }, ")"],
  567. "type" : "COMPLEXSTRING"
  568. }, {
  569. "value" : -9.215183862521618,
  570. "format" : {
  571. "footnoteLabel" : false,
  572. "minimumFractionDigits" : 2,
  573. "maximumFractionDigits" : 2,
  574. "scientificNotation" : false,
  575. "boundByDecimal" : false
  576. },
  577. "type" : "NUMBER"
  578. }, "< 0.0001"]]
  579. },
  580. "type" : "TABLE"
  581. }, {
  582. "content" : {
  583. "headers" : [["Type", "Leaf node", "Modified z"]],
  584. "title" : "Test results for unusually high/low analysis",
  585. "rows" : [[{
  586. "value" : "Unusually high",
  587. "style" : ["emphasize"],
  588. "rowSpan" : 1,
  589. "type" : "STRING"
  590. }, {
  591. "value" : ["(", "[0].[Worldwide Gross]", "> ", {
  592. "value" : 236,
  593. "format" : {
  594. "footnoteLabel" : false,
  595. "minimumFractionDigits" : 0,
  596. "maximumFractionDigits" : 0,
  597. "scientificNotation" : false,
  598. "boundByDecimal" : false
  599. },
  600. "type" : "NUMBER"
  601. }, ")"],
  602. "type" : "COMPLEXSTRING"
  603. }, {
  604. "value" : 5.094334999910509,
  605. "format" : {
  606. "footnoteLabel" : false,
  607. "minimumFractionDigits" : 2,
  608. "maximumFractionDigits" : 2,
  609. "scientificNotation" : false,
  610. "boundByDecimal" : false
  611. },
  612. "type" : "NUMBER"
  613. }
  614. ]]
  615. },
  616. "type" : "TABLE"
  617. }, {
  618. "content" : {
  619. "value" : [{
  620. "bullets" : ["Equal frequency binning was performed."],
  621. "title" : {
  622. "type" : "STRING",
  623. "$ref" : "/fields/inputs/[0].[Net Profit]_[0].[Worldwide Gross]_BinningTrans"
  624. }
  625. }, {
  626. "bullets" : ["Equal frequency binning was performed."],
  627. "title" : {
  628. "type" : "STRING",
  629. "$ref" : "/fields/inputs/[0].[Net Profit]_[0].[Budget]_BinningTrans"
  630. }
  631. }
  632. ],
  633. "title" : "Field transformations"
  634. },
  635. "type" : "FIELDTRANSFORMATIONS"
  636. }
  637. ]
  638. }
  639. }
  640. }
  641. }