Building a knowledge base for data mining algorithms
Created: 2013-10-03 10:56:54
Last updated: 2018-09-20 20:20:59
The main objective of this this workflow is to allow users data mining experts enrich a knowledge base that will be used by a recommender to assist non-expert users to apply mining techniques
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Processors (6)
Name |
Type |
Description |
Load_File |
localworker |
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();
|
DataQuality_workflow |
workflow |
|
Algorithms_workflow |
workflow |
|
KBDMModel |
wsdl |
Wsdlhttp://localhost:8080/LoadWeka/services/ConectionWebService?wsdlWsdl OperationKBDMModel |
KBDMModel_input |
xmlsplitter |
|
Select_DataMining_Profile |
beanshell |
|
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
Select_DataMining_Profile |
|
|
Option
|
Outputs (1)
Name |
Description |
KBDMModel |
|
Datalinks (7)
Source |
Sink |
Select_DataMining_Profile:Option |
Load_File:Technique |
Load_File:selectedFile |
DataQuality_workflow:file |
Load_File:selectedFile |
Algorithms_workflow:file |
KBDMModel_input:output |
KBDMModel:parameters |
DataQuality_workflow:DataQualityResults |
KBDMModel_input:dataqualityresults |
Algorithms_workflow:AlgorithmsResults |
KBDMModel_input:algorithms |
KBDMModel:attachmentList |
KBDMModel |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1 (earliest)
(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