@Test public void testAsString() { FeatureVectorEncoder enc = new ContinuousValueEncoder("foo"); assertEquals("foo:123", enc.asString("123")); }
@Override public String asString(String originalForm) { return getName() + ':' + originalForm; }
ContinuousValueEncoder extends CachingValueEncoder { @Override public String asString(String originalForm) { return getName() + ':' + originalForm; } }
ContinuousValueEncoder extends CachingValueEncoder { @Override public String asString(String originalForm) { return getName() + ':' + originalForm; } ContinuousValueEncoder(String name); }
ContinuousValueEncoder extends CachingValueEncoder { @Override public String asString(String originalForm) { return getName() + ':' + originalForm; } ContinuousValueEncoder(String name); @Override void addToVector(byte[] originalForm, double weight, Vector data); @Override String asString(String originalForm); }
ContinuousValueEncoder extends CachingValueEncoder { @Override public String asString(String originalForm) { return getName() + ':' + originalForm; } ContinuousValueEncoder(String name); @Override void addToVector(byte[] originalForm, double weight, Vector data); @Override String asString(String originalForm);  }