MCPcopy Create free account
hub / github.com/WinVector/Logistic / toString

Method toString

src/com/winvector/logistic/Formula.java:78–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 @Override
79 public String toString() {
80 final StringBuilder b = new StringBuilder();
81 b.append("formula: " + f + "\n");
82 b.append("\tresult:\t" + resultColumn + "\n");
83 b.append("\tvars:");
84 for(final String vi: variables) {
85 b.append("\t" + vi);
86 if(forcedNumeric.contains(vi)) {
87 b.append(" (forced numeric)");
88 }
89 if(forcedCategorical.contains(vi)) {
90 b.append(" (forced categorical)");
91 }
92 }
93 b.append("\n");
94 return b.toString();
95 }
96}

Callers 3

mainMethod · 0.45
mainMethod · 0.45
scoreMethod · 0.45

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected