Difference between revisions of "Statistical Manager Tutorial"

From Gcube Wiki
Jump to: navigation, search
(Upload custom file)
(Saving files to import directly as UTF-8)
Line 30: Line 30:
 
# Open Notepad  
 
# Open Notepad  
 
# File - Save as -> there you see 3 fields set the last one called "encoding" to: UTF-8  
 
# File - Save as -> there you see 3 fields set the last one called "encoding" to: UTF-8  
You may save a file using also Excel or Open Office (see next figures)
+
Alternatively, you may save a file using also Excel or Open Office (see next figures)
  
 
[[File:UtfExcel.png|480px]]
 
[[File:UtfExcel.png|480px]]

Revision as of 10:41, 19 September 2013

Statistical Manager

This is a cross-usage service that provides users and services with tools for performing data mining operations. Specifically, it offers a unique access to perform data mining and statistical operations on heterogeneous data, which may reside either on the client side, in the form of comma-separated values files, or be remotely hosted, possibly in a database. The SM service is able to take inputs and execute the operation requested by a client by invoking the most suited computational facility from a set of available computational resources. Executions can run either on multi-core machines or on different computational platforms, such as D4Science and other different private and commercial Cloud providers.

The SM Service is a container of algorithms that are implemented as plug-ins based on the Dependency Injection programming pattern. These reside on SM and can be invoked by infrastructural or external clients according to a public Web Services Description Language interface. The requests are managed asynchronously, and the client can monitor the status of the computation at any time.

Upload custom file

In the Access to the Data Space section click on the Importer tab. In the Data Set Importer form, a user can type the name he\she wants to assign to the file that will be imported.

Select the correct template for the file and click on Open CSV Importer Wizard. FormImport.png


The csv import wizard will be shown. The user has two possibilities to import files:

  • import files from local source;
  • import file from workspace;

According these, the user can select a flag and click on Next.


Saving files to import directly as UTF-8

Most text editors can handle UTF-8, although you might have to set them do this when loading and saving files. You may save a file as UTF-8, using MS Windows Notepad.

  1. Open Notepad
  2. File - Save as -> there you see 3 fields set the last one called "encoding" to: UTF-8

Alternatively, you may save a file using also Excel or Open Office (see next figures)

UtfExcel.png UTFOpenOf.png

Import file from local source

  1. Click on Browse and select a file in a local source;
  2. Click on Upload and click Next;
  3. If the first row of the file is the header of the columns, check the Has header flag.
  4. Select the delimeter of columns, e.g. comma, or define it by yourself;
  5. Click on Check configuration;
  6. Click on Next;
  7. Click on Finish when the import is completed.

Import file from workspace

  1. Click on Browse and select a file in the pop up window that shows your workspace files
  2. see steps [2-7] in the previous section.

CsvImport1.png CsvImport2.png CsvImport3.png

Execute Statistical Manager Exeriment and Collect Results

In the section Execute an Experiments" user find a list of algorithms grouped by category. Click on the cathegory in wchich chosen algorithm is, A list of algorithms will apear. DescriptionCatSM.png

The user can retrive parameters of the chosen algorithm, clicking on the arrow on top of the algorihtm description. The user fill in the parameters and click on Start computation. When the computation is completed, the user can access the results in different ways according to the algorithms features. The result can be retrieved as follows:

  • interface visualization;
  • download results files clicking on "Download file";
  • save results in the workspace clicking "Save in the workspace";


ExecResultSM.png