Professional Documents
Culture Documents
CMSR Quick Start Guide: Rosella Software
CMSR Quick Start Guide: Rosella Software
CMSR Quick Start Guide: Rosella Software
Rosella Software
www.roselladb.com
Sydney Australia
© Copyright 2010-. All contents and designs of software interfaces used are copyright of Rosella Software.
- ii -
Preface
This manual is designed for starters of CMSR.
May 1, 2010.
Table of Contents
PREFACE ................................................................................................................................... III
1. BASICS .....................................................................................................................................1
1.1 ENABLING GROUPBY CHARTS ................................................................................................1
1.2 ENABLING BI DEVELOPER TOOLS...........................................................................................1
2. DATABASE ..............................................................................................................................2
2.1 SELECTING DATABASE AND LOGIN ........................................................................................2
2.2 CONFIGURING DATABASES ....................................................................................................3
2.3 CHARTING WITH DATABASE...................................................................................................5
3. PROJECTS ...............................................................................................................................6
3.1 SELECTING A PROJECT............................................................................................................6
3.2 CREATING PROJECTS ..............................................................................................................6
4. IMPORTING DATA................................................................................................................7
4.1 IMPORTING FROM DATABASE.................................................................................................7
4.2 IMPORTING USING SQL QUERIES ...........................................................................................8
4.3 IMPORTING FROM FILES .........................................................................................................9
5. CHARTING WITH IMPORTED DATA.............................................................................10
5.1 OPENING A DATASET ............................................................................................................10
5.2 SELECTING CHARTS .............................................................................................................10
5.3 ANALYZING CHARTS ............................................................................................................11
6. PREDICTIVE MODELING - REGRESSION ....................................................................12
6.1 OPENING A DATASET ............................................................................................................12
6.2 BUILD MODELS ....................................................................................................................12
6.3 APPLY TO DATABASE ...........................................................................................................12
7. PREDICTIVE MODELING – NEURAL NETWORK ......................................................13
7.1 OPENING A DATASET ............................................................................................................13
7.2 CONFIGURE MODELS ............................................................................................................13
7.3 TRAIN MODELS ....................................................................................................................14
7.4 APPLY TO DATABASE ...........................................................................................................14
8. RULE ENGINE – RME-EP ..................................................................................................15
8.1 APPLY TO DATABASE ...........................................................................................................15
8.2 DEPLOY TO BI SERVER.........................................................................................................15
- iv -
1. BASICS
The following is the main windows of CMSR;
-1-
2. Database
The top-left part of the main CMSR window has the following panel. It deals with
database configurations and connections.
Database entries are organized with database server cluster names. Database clusters
contain one or more databases. For example, “ODBC-Access” is a database cluster name
which contains three databases: “Samples”, “Samples1”, and “Samples2”.
-2-
2.2 Configuring Databases
To import data stored in database systems, you need to setup database connections
between CMSR and your database systems. CMSR uses connection facilities called
JDBC (Java DataBase Connectivity). Each database system has own JDBC connection
drivers. CMSR connects through JDBC drivers. To configure database server cluster,
press the “database configuration button”. To modify an existing server cluster, select
the cluster and press the “database configuration button”.
The following figure shows the database configuration window. Perform the steps
described in the figure;
JDBC drivers are available from database system vendors. JDBC drivers normally have
file names with suffix “.jar”. To install JDBC drivers, select “Install JDBC Drivers” of
the “File” menu of CMSR.
On Windows, you can use ODBC (Open DataBase Connectivity) drivers. This is the
most convenient way of connecting database, since you don’t need to install separate
JDBC drivers. (Note that you still need to configure JDBC drivers for ODBC
connections as shown in the above figure.)
-3-
When you install your database systems on your Windows operating system, ODBC
drivers are installed automatically. For example, if you install MS Office with Access
database system, Access ODBC drivers are installed automatically. If your database is
an external source (or not installed inside your own system), you may need to install
drivers manually.
To connect database systems through ODBC, perform the followings;
1. Install ODBC drivers (if you are accessing external databases).
2. Create an ODBC DSN (Data Source Name) for your database. To create DSNs,
open Windows “Control Panel” – “Administrative Tools” – “Data Sources
(ODBC)”. Then you will see the following window. Select a driver and
“Configure…” your database. Note that this will create a DSN for your
database. In JDBC configuration described in the previous page, “DSN”s are
equivalent to “database names”!
1. Select a database
driver you have
installed.
2. Continue to
configure …
It is noted that you can configure ODBC and JDBC configurations in any sequence!
-4-
2.3 Charting with Database
To draw a chart using database data, select a database by clicking it;
From the “Database” menu of the main window, select a charting tool. Then a selection
dialog will appear as follows. Select database “schema” and “table”. Then select
charting-tool specific fields;
-5-
3. Projects
Projects are the unit of resource management. All resources are grouped into a project.
The bottom left panel of the main window has the following “Projects” tab;
-6-
4. Importing Data
To use tools of CMSR, you need to import data. There are three ways you can import
data: from database tables, from query results, and from files.
Once you press the “OK” button, the following configuration dialog will appear. Select
and configure fields;
-7-
4.2 Importing Using SQL Queries
To import a database table, select a database as shown in the following figure;
Then specify SQL query as follows. (Alternatively you can open an existing query plan
by double clicking a saved SQL plan);
Once you press the “import” button, the following configuration dialog will appear.
Configure fields and press the “import” button again;
-8-
4.3 Importing From Files
To import data from a file, select “Import from files” of the “Data” menu. Then the
following dialog will appear;
Choose file options. Then press the “select” button and choose a file as follows;
Once you choose a file, the following configuration dialog will appear. After
configuration, press the “import” button;
-9-
5. Charting with Imported Data
To perform data analysis, datasets are imported first. Second, a dataset is opened. Third,
an analytic tool is selected over the opened dataset.
- 10 -
5.3 Analyzing Charts
CMSR charts come with powerful options. As options are selected, charts will change
dynamically;
- 11 -
6. Predictive Modeling - Regression
To perform regression, open an imported dataset first. Second, build a model. Finally,
apply to database tables.
- 12 -
7. Predictive Modeling – Neural Network
To develop neural network models, open an imported dataset first. Second, configure a
model and train it. Finally, apply to database tables.
- 13 -
7.3 Train Models
Once a neural network is created, it can be trained with an opened dataset. To train a
network, select the network. That is, make the network at the front. Then select “Train
neural network” menu. Train the network with the following dialog;
- 14 -
8. Rule Engine – RME-EP
To write RME-EP ruleset, select “New RME-EP model” menu. Then the following
panel will appear. Follow the steps as indicated.
3. Compile ruleset.
1. Add predictive
models.
2. write rules.
4. Analyze or evaluate ruleset.
- 15 -