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

Method LevelVectors

src/com/winvector/variables/LevelVectors.java:36–46  ·  view source on GitHub ↗
(final String origColumn, final int index, 
			final Map<String,VectorRow> levelCodes)

Source from the content-addressed store, hash-verified

34 }
35
36 public LevelVectors(final String origColumn, final int index,
37 final Map<String,VectorRow> levelCodes) {
38 this.origColumn = origColumn;
39 this.index = index;
40 this.levelCodes = levelCodes;
41 if(!levelCodes.isEmpty()) {
42 targetDim = levelCodes.values().iterator().next().levelEncodings.length;
43 } else {
44 targetDim = 0;
45 }
46 }
47
48 @Override
49 public String origColumn() {

Callers

nothing calls this directly

Calls 2

nextMethod · 0.45
iteratorMethod · 0.45

Tested by

no test coverage detected