Building a knowledge base for data mining algorithms
Created: 2013-10-03 10:56:54
Last updated: 2018-09-20 20:20:59
No description has been set
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Inputs (1)
Name |
Description |
input_directory |
|
Processors (6)
Name |
Type |
Description |
Select_DataMining_Profile |
beanshell |
Scriptimport javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
List selectionValues =new ArrayList();
selectionValues.add(0,"Clasificación");
selectionValues.add(1,"Reglas de Asociación") ;
selectionValues.add(2,"Series Temporales");
selectionValues.add(3,"Clustering");
ButtonGroup group = new ButtonGroup();
JPanel messagePanel = new JPanel();
messagePanel.setLayout(new BoxLayout(messagePanel,BoxLayout.Y_AXIS));
messagePanel.add(new JLabel((message == void ? null : message)));
JRadioButton[] buttonArray = new JRadioButton[selectionValues.size()];
for (int i = 0; i < buttonArray.length; i++) {
buttonArray[i] = new JRadioButton(selectionValues.get(i));
if (i==0) buttonArray[i].setSelected(true);
group.add(buttonArray[i]);
messagePanel.add(buttonArray[i]);
}
JOptionPane.showOptionDialog(null, messagePanel, "Selecciona Tipo de Técnica de Minería",
JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, new Object[]{"OK"}, null);
String technique="";
for (JRadioButton button : buttonArray) {
if (button.isSelected()) {
technique=button.getText();
}
}
|
List_Files |
beanshell |
Scriptimport java.awt.CardLayout;
import java.awt.Image;
import java.awt.Toolkit;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import javax.swing.ImageIcon;
import javax.swing.JEditorPane;
import javax.swing.JFileChooser;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.filechooser.FileFilter;
class FileExtFilter extends FileFilter {
public FileExtFilter(String ext, String label, boolean includeDir) {
this.ext = ext;
this.label = label;
this.includeDir = includeDir;
}
public String getDescription() {
return this.label;
}
public boolean accept(File file) {
if (file.isDirectory() && includeDir) {
return true;
} else {
return file.getName().endsWith(this.ext);
}
}
String ext, label;
boolean includeDir;
}
if (title == void) {
title = "Arff File";
}
if ((fileExtensions == void) || (fileExtensions == null)) {
fileExtensions = ".arff";
}
if ((fileExtLabels == void) || (fileExtLabels == null)) {
fileExtLabels = "";
}
//JFileChooser chooser = new JFileChooser();
//chooser.setDialogTitle(title);
String[] fileTypeList = fileExtensions.split(",");
String[] filterLabelList = fileExtLabels.split(",");
if (fileTypeList != null && filterLabelList != null && fileTypeList.length != filterLabelList.length) {
throw new RuntimeException("The list of extensions and file filter labels must be the same length");
}
// create the file filters
//for (int i = 0; i < fileTypeList.length; i++) {
// FileExtFilter filter = new FileExtFilter(fileTypeList[i], filterLabelList[i], true);
// chooser.setFileFilter(filter);
//}
//chooser.showOpenDialog(null);
//File file = chooser.getSelectedFile();
//selectedFile = file.getAbsolutePath();
//name = file.getName();
//String temp= "texto\\nombre\\apellido";
path=directory;
//out1=directory.replaceAll("\\" , "X"); |
REST_Get_Files_Information |
rest |
|
DataQuality_workflow |
workflow |
|
Algorithm_workflow |
workflow |
|
REST_Get_InformationxModel |
rest |
|
Beanshells (2)
Name |
Description |
Inputs |
Outputs |
Select_DataMining_Profile |
|
in1
|
technique
|
List_Files |
|
directory
|
path
|
Outputs (1)
Name |
Description |
KBDM_Models |
|
Datalinks (9)
Source |
Sink |
List_Files:path |
Select_DataMining_Profile:in1 |
input_directory |
List_Files:directory |
List_Files:path |
REST_Get_Files_Information:path |
REST_Get_Files_Information:responseBody |
DataQuality_workflow:file |
REST_Get_Files_Information:responseBody |
Algorithm_workflow:file |
Select_DataMining_Profile:technique |
Algorithm_workflow:Data_Mining_Profile |
Algorithm_workflow:AlgorithmsResults |
REST_Get_InformationxModel:dmr |
DataQuality_workflow:DataQualityResults |
REST_Get_InformationxModel:dqr |
REST_Get_InformationxModel:responseBody |
KBDM_Models |
Uploader
License
All versions of this Workflow are
licensed under:
Version 2
(of 7)
Credits (1)
(People/Groups)
Attributions (2)
(Workflows/Files)
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment