Created
July 20, 2019 09:20
-
-
Save engleangs/d047584d73ab7d38ddef90e74a0da4ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.demo.knn; | |
/** | |
* @author Engleang | |
* Data class for storing distance value between test and sample . | |
* */ | |
public class SampleDistanceValue { | |
private final String identifier; | |
private final double value; | |
public SampleDistanceValue(String identifier, double value) { | |
this.identifier = identifier; | |
this.value = value; | |
} | |
public String getIdentifier() { | |
return identifier; | |
} | |
public double getValue() { | |
return value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment