我正在尝试通过使用插入符号的遗传算法进行特征选择来优化xgboost树
StorageFile
但是这非常慢,因此我想绘制一个进度条。但是,即使我使用了XmlDocument xmlDocument = ...;
StorageFile file = await ApplicationData.Current.LocalFolder.CreateFileAsync("filename.xml");
await FileIO.WriteTextAsync(file, xmlDocument.ToString());
和results <- gafs(iris[,1:4], iris[,5],
iters = 2,
method = "xgbTree",
metric = "Accuracy",
gafsControl = gafsControl(functions=caretGA, method="cv", repeats=2, verbose = TRUE),
trConrol = trainControl(method = "cv", classProbs = TRUE, verboseIter = TRUE)
)
,也没有取得任何进展。我在做什么错了?