Predictive modeling
Spotfire provides you with the tools to incorporate predictive models into your analysis using either regression modeling or classification modeling.
- Regression modeling is useful for making numeric predictions, such as profit and expenses.
- Classification modeling is useful for making predictions for typically two nodes or classes, such as whether a business transaction is fraudulent or legitimate.
- Fitting the model.
- Evaluating the model.
- Predicting from the model.
To fit the model, in the Regression modeling or Classification modeling dialog, select the model options and click OK. Spotfire Enterprise Runtime for R creates the model and returns it to the analysis. Each model creates a number of new data tables that you can use for further analysis.
A model page is created (see The model page) and the model is added to The Analytic models panel. You can include more than one model in your analysis, and then you can iterate and evaluate all models with new data.
After you have completed your evaluation, optionally you can predict from the model. When you include a model in the analysis, you can use the model to insert predicted columns into your data table and share the result with others.
Currency are converted to
Real, which can result in a lack of precision in the
modeling.
- Regression modeling
This tool allows you to create regression models using the Spotfire Enterprise Runtime for R engine, without the need of writing any scripts yourself. - Classification modeling
This tool allows you to create classification models using the Spotfire Enterprise Runtime for R engine, without the need of writing any scripts yourself. - Evaluating a model
After creating a predictive model, you can compare the model to another data table that includes the values you are trying to predict using the model. For example, a model can be created using confirmed sales data for the month of January, evaluated by using confirmed sales data for February and then used to predict future sales. - The model page
Each time a new model is created, a new page, the model page, is added to the analysis. It consists of up to four different sections: - The evaluation page
Each time a model is evaluated, a new page, the evaluation page, is added to the analysis. It consists of up to four different sections: - Available diagnostic visualizations
This section lists the available diagnostic plots for the model. They can be an aid to help determining the validity of a predictive model. Different model methods display different lists of diagnostic plots. Click on an option to display the visualization in the model page. - The Analytic models panel
The Analytic models panel is used to manage all models within your analysis. Click the corresponding icon to perform a task with the selected model. - Adding predicted columns to an analysis
When you have created and evaluated a model, you can use the model to add predicted columns to your data table and share the result with others.
- Regression modeling
This tool allows you to create regression models using the Spotfire Enterprise Runtime for R engine, without the need of writing any scripts yourself. - Classification modeling
This tool allows you to create classification models using the Spotfire Enterprise Runtime for R engine, without the need of writing any scripts yourself. - Evaluating a model
After creating a predictive model, you can compare the model to another data table that includes the values you are trying to predict using the model. For example, a model can be created using confirmed sales data for the month of January, evaluated by using confirmed sales data for February and then used to predict future sales. - The model page
Each time a new model is created, a new page, the model page, is added to the analysis. It consists of up to four different sections: - The evaluation page
Each time a model is evaluated, a new page, the evaluation page, is added to the analysis. It consists of up to four different sections: - Available diagnostic visualizations
This section lists the available diagnostic plots for the model. They can be an aid to help determining the validity of a predictive model. Different model methods display different lists of diagnostic plots. Click on an option to display the visualization in the model page. - The Analytic models panel
The Analytic models panel is used to manage all models within your analysis. Click the corresponding icon to perform a task with the selected model. - Adding predicted columns to an analysis
When you have created and evaluated a model, you can use the model to add predicted columns to your data table and share the result with others.