dtreg predictive modeling software · 2018-10-25 · title: winlink 2000 author: phil sherrod -...

16
DTREG Predictive Modeling Software www.dtreg.com Getting Started with DTREG Phil Sherrod [email protected] Copyright © 2014, all rights reserved This material may not be reproduced without permission 1

Upload: others

Post on 13-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

DTREG

Predictive Modeling Software www.dtreg.com

Getting Started with DTREG

Phil Sherrod

[email protected]

Copyright © 2014, all rights reserved

This material may not be reproduced without permission

1

Page 2: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Basic Features of DTREG

Creates models to predict a target variable based on the values of predictor variables.

There may be only one target variable, but there may be many (possibly thousands) predictor variables.

Target and predictor variables may have continuous (numeric) values or categorical (discrete) values.

With DTREG you can easily try many types of models such as neural networks and decision trees.

Validation of the model using cross-validation and other methods is an inherent part of DTREG.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 2

Page 3: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Input, “Training” Data The input data file used to “train” a model must be

presented as a Comma Separated Value (.csv) file.

SQL and Excel can export data to csv file format.

The first row of the file must have the variable names

Comma, space, semicolon or tab may separate columns. You may use quote marks around values.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 3

Page 4: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Exporting Data From Excel to a CSV File Click “File” then “Save as”.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 4

Click File Click

Save As

Page 5: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Exporting Data From Excel to a CSV File

Select “CSV (Comma Delimited)” and click Save.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 5

Select CSV file type

Click Save

Page 6: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Creating a New DTREG Project

Click icon to start creating a new project.

Click icon to open an existing DTREG project.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 6

Click to start a new project

Page 7: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Specify Input Data and Title

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 7

Page 8: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Select Standard Model or Time Series model and Initial Model Type

We will build a normal (not time-series) model using a single decision tree.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 8

Page 9: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Select Target and Predictor Variables

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 9

Page 10: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Save the DTREG Project

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 10

Page 11: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Tell DTREG to Train the Model

Click the icon to start training the model.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 11

Click to start training

Page 12: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

View Analysis Results Once training is complete, select items in the left

panel to scroll to the section in the report.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 12

Click items to select report

sections

Page 13: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Viewing the Generated Decision Tree

Click the icon to display the generated tree.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 13

Click to display tree

Page 14: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

The Generated Decision Tree The decision tree shows how predictor variable values

were split to predict the target value.

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 14

Page 15: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

Save the Trained Project Click the icon to save the generated model project

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 15

Click to save model project

Page 16: DTREG Predictive Modeling Software · 2018-10-25 · Title: Winlink 2000 Author: Phil Sherrod - W4PHS Subject: ARRL Webinar on Winlink 2000 Created Date: 1/1/2014 11:38:57 AM

End of Getting-Started Tutorial

This completes the DTREG training tutorial

Copyright © 2014, Phillip H. Sherrod, all rights reserved. This material may not be reproduced without permission. 16