##import(graphics)
##import(abind)  # commented out as it does not have a name space
##import(xts)
##importFrom(zoo,as.zoo)
import(methods)
##import(ggplot2)

importFrom("stats", "IQR", "complete.cases", "df", "median",
     "model.frame", "model.response", "na.omit", "qtukey",
     "reshape", "runif", "sd", "t.test", "wilcox.test")

exportClasses(
    CV, Holdout, LOOCV,
    MonteCarlo, Bootstrap, 

    EstimationResults,
    ComparisonResults,

    PredTask,

    EstimationTask,

    Workflow
    )

exportMethods(show)
exportMethods(summary)
exportMethods(plot)
exportMethods(subset)

export(
    ## constructors (classDefs.R file)
    CV, Holdout, LOOCV,
    MonteCarlo, Bootstrap, 

    EstimationResults,
    ComparisonResults,

    PredTask,
    
    EstimationTask,

    Workflow,
    
    ## experiments.R file
    performanceEstimation,

    cvEstimates,
    hldEstimates,
    loocvEstimates,
    bootEstimates,
    mcEstimates,

    is.regression, is.classification, responseValues,

    ## resultsAnalysis.R file
    topPerformers,
    topPerformer,
    rankWorkflows,
    metricsSummary,
    pairedComparisons,
    signifDiffs,
    CDdiagram.Nemenyi,
    CDdiagram.BD,

    ## resultsManipulation.R file
    mergeEstimationRes,
    taskNames, workflowNames, metricNames,
    getScores, getIterationsInfo, getIterationsPreds,
    estimationSummary,
    results2table,

    ## workflows.R file
    workflowVariants,
    getWorkflow,
    runWorkflow,
    standardWF,
    timeseriesWF,
    standardPRE,
    standardPOST,
    knnImp,

    ## smote.R
    smote,
    
    ## evaluationMetrics.R file
    regressionMetrics,
    classificationMetrics
    )


