Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 2.95 KB

README.md

File metadata and controls

48 lines (40 loc) · 2.95 KB

data-mining-college

Samples-Data-Mining

This is the README file for SAMPLES-DATA-MINING. The end of the file has setup instructions.


Use or operation of this code is subject to acceptance of the license available in the code repository for this code.


SAMPLES-DATA-MINING is meant for use with the InterSystems IRIS. It provides a copy of the Iris data set, which is well known in pattern recognition literature. You can use this data to explore the Predictive Model Markup Language (PMML) capability of InterSystems IRIS Data Platform.

If you have a suitable license, you can also use this data with InterSystems IRIS Business Intelligence.

In addition to the data, the sample also includes various analytics model elements based on this data.

Contents of the DataMining package

  • DataMining.IrisDataset is the core class. This class defines the data set. See this article.
  • DataMining.PMML.Iris defines a PMML model based on this data. See this article.
  • DataMining.IrisCube is a cube definition based on the same data. To use this class, you must have a license that includes analytics capabilities.
  • The classes in DataMining.ClusterAnalysis provide a demo and test for the Cluster Analysis algorithms included as part of the InterSystems IRIS analytics capabilities. To use this class, you must have a license that includes analytics capabilities.

These classes all provide detailed descriptions, visible as part of the class reference. After you have set up the sample, go to http://localhost:52773/csp/documatic/%25CSP.Documatic.cls

Replace localhost with the name of your InterSystems IRIS server instance, and replace 52773 with the web server port used by that instance.

Setup instructions

  1. Clone or download the repository.
  2. If you have not yet created a namespace in InterSystems IRIS, follow the detailed instructions to do so.
  3. Open the InterSystems IRIS Terminal.
  4. Enter the following command (replacing mynamespace with the namespace where you want to load the sample):
   ZN "mynamespace"
  1. Enter the following commands (replacing with the full path of the buildsample/Build.DataMiningSample.cls file):
   do $system.OBJ.Load("full-path-to-Build.DataMiningSample.cls","ck")

   do ##class(Build.DataMiningSample).Build()
  1. When prompted, enter the full path of the directory to which you downloaded this sample. The method then loads and compiles the code and performs other needed setup steps.