Skip to content

Commit 79e2fe5

Browse files
committed
Change file names
1 parent 140e5db commit 79e2fe5

6 files changed

+5
-5
lines changed

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export(mlClassificationBoosting)
5151
export(mlClassificationDecisionTree)
5252
export(mlClassificationKnn)
5353
export(mlClassificationLda)
54-
export(mlClassificationLogistic)
54+
export(mlClassificationLogisticMultinomial)
5555
export(mlClassificationNaiveBayes)
5656
export(mlClassificationNeuralNetwork)
5757
export(mlClassificationRandomForest)

R/commonMachineLearningClassification.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"rpart" = .decisionTreeClassification(dataset, options, jaspResults),
9696
"svm" = .svmClassification(dataset, options, jaspResults),
9797
"naivebayes" = .naiveBayesClassification(dataset, options, jaspResults),
98-
"logistic" = .logisticRegressionClassification(dataset, options, jaspResults)
98+
"logistic" = .logisticMultinomialClassification(dataset, options, jaspResults)
9999
)
100100
})
101101
if (isTryError(p)) { # Fail gracefully
File renamed without changes.

inst/Description.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Description
101101
{
102102
menu: qsTr("Logistic / Multinomial")
103103
title: qsTr("Logistic / Multinomial Regression Classification")
104-
func: "mlClassificationLogistic"
104+
func: "mlClassificationLogisticMultinomial"
105105
}
106106
Analysis
107107
{
File renamed without changes.

tests/testthat/test-mlclassificationlogistic.R renamed to tests/testthat/test-mlclassificationlogisticmultinomial.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
context("Machine Learning Logistic Regression Classification")
22

33
# Test fixed model #############################################################
4-
options <- initMlOptions("mlClassificationLogistic")
4+
options <- initMlOptions("mlClassificationLogisticMultinomial")
55
options$addIndicator <- FALSE
66
options$addPredictions <- FALSE
77
options$classProportionsTable <- TRUE
@@ -26,7 +26,7 @@ options$fromIndex <- 1
2626
options$toIndex <- 5
2727
options$featureImportanceTable <- TRUE
2828
set.seed(1)
29-
results <- jaspTools::runAnalysis("mlClassificationLogistic", "iris.csv", options)
29+
results <- jaspTools::runAnalysis("mlClassificationLogisticMultinomial", "iris.csv", options)
3030

3131
test_that("Class Proportions table results match", {
3232
table <- results[["results"]][["classProportionsTable"]][["data"]]

0 commit comments

Comments
 (0)