MCPcopy Index your code
hub / github.com/WinVector/Logistic / process

Method process

src/com/winvector/variables/LevelVectors.java:68–79  ·  view source on GitHub ↗
(final BurstMap row, final double[] vec)

Source from the content-addressed store, hash-verified

66 }
67
68 @Override
69 public void process(final BurstMap row, final double[] vec) {
70 final String level = row.getAsString(origColumn);
71 if(level!=null) {
72 final VectorRow code = levelCodes.get(level);
73 if(code!=null) {
74 for(int i=0;i<targetDim;++i) {
75 vec[index+i] = code.levelEncodings[i];
76 }
77 }
78 }
79 }
80
81 @Override
82 public String name() {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected