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



exportClasses(
            learner, task, dataset,
            cvSettings, cvRun,
            mcSettings, mcRun,
            hldSettings, hldRun,
            loocvSettings, loocvRun,
            bootSettings, bootRun,
            expSettings,
            compExp,
            tradeRecord
            )

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

export(
       # experiments.R file
       runLearner,
       regr.eval,
       experimentalComparison,
       crossValidation, 
       monteCarlo,
       holdOut,
       loocv,
       bootstrap,
       compAnalysis,
       bestScores, rankSystems, statScores,
       getFoldsResults,getSummaryResults,
       variants, getVariant,
       slidingWindowTest, growingWindowTest,
       join,
       dsNames, learnerNames, statNames,
       
       # kNN.R file
       kNN,
       
       # OR.R file
       outliers.ranking,
       
       # selfTraining.R file
       SelfTrain,
       
       # smote.R file
       SMOTE,

       # LOF.R file
       lofactor,
       
       # trading.R file
       trading.simulator,
       sigs.PR,
       trading.signals,
       tradingEvaluation,
       .addEq,.Eq,
       .addSt,.St,
       
       # trees.R file
       rpartXse,
       rt.prune,
       prettyTree,

       # utils.R file
       centralValue,
       resp,
       manyNAs,
       centralImputation,
       knnImputation,
       unscale,
       PRcurve,
       CRchart,
       SoftMax,
       LinearScaling,
       ReScaling,

       # classes.R file (the class constructors need to be exported)
       learner, task, dataset,
       cvSettings, cvRun,
       mcSettings, mcRun,
       hldSettings, hldRun,
       loocvSettings, loocvRun,
       bootSettings, bootRun,
       compExp,
       tradeRecord
       )


