How to use the C# code generated by Rapid Deployment node in TIBCO Statistica to build an application in Visual Studio?
book
Article ID: KB0071994
calendar_today
Updated On:
Products
Versions
Spotfire Statistica
All Supported versions
Description
Pre-Requisites 1. Model with C# Code in Statistica 2. Visual Studio Installation
Resolution
1. Develop a model of choice using TIBCO Statistica. For the purpose of illustration a Boosted tree model is in the attached workspace. Ensure that Code Generator tab has C# enabled. Run the workspace
2. From the results generated in Reporting documents copy the corresponding to C# deployment code to clipboard :
3. Launch Visual Studio. Navigate to File>>New Project and select Console App under Visual C#
4. Paste the copied C# Deployment code in Program.cs window that opens up. Click on Build >>Build Solution to compile and build the project into an executable file.
5. Now you can use the executable created in the output window path .
6. For testing this from command line we can call the generated exe file from Command Prompt and you get prompted for one case inputs.
7. Calling the exe file with command line inputs generates predictions.
Issue/Introduction
How to use the C# code generated by Rapid Deployment node in TIBCO Statistica to build an application in Visual Studio?
Attachments
How to use the C# code generated by Rapid Deployment node in TIBCO Statistica to build an application in Visual Studio?get_app