What's New in Microsoft R Services - Microsoft R Server

0 downloads 127 Views 1MB Size Report
Nov 18, 2015 - details for getting started with RevoScaleR in Hadoop can be found in an ... o New 'big data' Decision Fo
What’s New in Microsoft R Services

The correct bibliographic citation for this manual is as follows: Microsoft Corporation. 2016. What’s New in Microsoft R Services. Microsoft Corporation, Redmond, WA. What’s New in Microsoft R Services Copyright © 2016 Microsoft Corporation. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Microsoft Corporation. U.S. Government Restricted Rights Notice: Use, duplication, or disclosure of this software and related documentation by the Government is subject to restrictions as set forth in subdivision (c) (1) (ii) of The Rights in Technical ) kyphNaiveBayes

Converting RevoScaleR Objects for Use in PMML 39



Similarly, rxLogit and rxGlm functions have as.glm methods: form =55 21 6 absent (0.71428571 0.28571429) 22) Age>=111 14 2 absent (0.85714286 0.14285714) * 23) Age< 111 7 3 present (0.42857143 0.57142857) * 3) Start< 8.5 19 8 present (0.42105263 0.57894737) *

Now, you can display a HTML version of the tree output by plotting the object produced by the createTreeView function. After running the preceding R code, run the following to load the RevoTreeView package and display an interactive decision tree in your browser. library(RevoTreeView) plot(createTreeView(kyphTree))

42 The RevoTreeView Package

In this interactive tree, click on the circular split nodes to expand or collapse the tree branch. Clicking a node will expand and collapse the node to the last view of that branch. If you use a CTRL + Click, the tree will display only the children of the selected node. If you click ALT + Click, the tree will display all levels below the selected node. The squareshaped nodes, called leaf or terminal nodes, cannot be expanded. To get additional information, hover over the node to expose the node details such as its name, the next split variable, its value, the n, the predicted value, and other details such as loss or deviance. Note: Additional information is available in the RevoTreeView package help file, which can be seen by entering ??RevoTreeView at the R command line, as well as in the resulting HTML page Help menu. See Chapter 10 of the RevoScaleR User’s Guide for examples on how to create decision tree models with rxDTree.