MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / run

Method run

JSAT/src/jsat/regression/OrdinaryKriging.java:173–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 {
172
173 @Override
174 public void run()
175 {
176 for(int i = id; i < N; i+=SystemInfo.LogicalCores)
177 {
178 DataPoint dpi = dataSet.getDataPoint(i);
179 Vec xi = dpi.getNumericalValues();
180 for(int j = 0; j < N; j++)
181 {
182 Vec xj = dataSet.getDataPoint(j).getNumericalValues();
183 double val = vari.val(xi.pNormDist(2, xj));
184 V.set(i, j, val);
185 V.set(j, i, val);
186 }
187 V.set(i, N, 1.0);
188 V.set(N, i, 1.0);
189 Y.set(i, dataSet.getTargetValue(i));
190 }
191 latch.countDown();
192 }
193 });
194 }
195

Callers

nothing calls this directly

Calls 7

getNumericalValuesMethod · 0.95
pNormDistMethod · 0.95
getTargetValueMethod · 0.80
countDownMethod · 0.80
valMethod · 0.65
getDataPointMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected