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

Method valueAsFile

src/com/winvector/logistic/LogisticTrain.java:113–120  ·  view source on GitHub ↗
(final CommandLine cl, final String key)

Source from the content-addressed store, hash-verified

111 }
112
113 private static File valueAsFile(final CommandLine cl, final String key) {
114 final String v = cl.getOptionValue(key);
115 if(v!=null) {
116 return new File(v);
117 } else {
118 return null;
119 }
120 }
121
122 /**
123 * > logisticModel <- glm(rating!='unacc' ~ buying + maintinance + doors + persons + lug_boot +safety,family=binomial(link = "logit"),data=CarData)

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected