Index: commons/src/main/java/org/apache/hama/commons/math/DoubleVector.java =================================================================== --- commons/src/main/java/org/apache/hama/commons/math/DoubleVector.java (리비전 1598204) +++ commons/src/main/java/org/apache/hama/commons/math/DoubleVector.java (작업 사본) @@ -166,7 +166,7 @@ * vector. * * @param matrix - * @return + * @return a new vector with the result of the operation. */ public DoubleVector multiply(DoubleMatrix matrix); @@ -174,7 +174,7 @@ * Multiplies the given {@link DoubleMatrix} with this vector. * * @param matrix - * @return + * @return a new vector with the result of the operation. */ public DoubleVector multiplyUnsafe(DoubleMatrix matrix); Index: commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java =================================================================== --- commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java (리비전 1598204) +++ commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java (작업 사본) @@ -82,7 +82,7 @@ * Multiplies this matrix with the given other matrix. * * @param other the other matrix. - * @return + * @return The matrix itself, supply for chain operation. */ public DoubleMatrix multiplyUnsafe(DoubleMatrix other); @@ -90,7 +90,7 @@ * Validates the input and multiplies this matrix with the given other matrix. * * @param other the other matrix. - * @return + * @return The matrix itself, supply for chain operation. */ public DoubleMatrix multiply(DoubleMatrix other); @@ -104,7 +104,7 @@ * matrix. * * @param other the other matrix - * @return + * @return The matrix itself, supply for chain operation. */ public DoubleMatrix multiplyElementWise(DoubleMatrix other); @@ -119,7 +119,7 @@ * the sum of the rows. * * @param v the vector - * @return + * @return a new vector with the result of the operation. */ public DoubleVector multiplyVector(DoubleVector v); @@ -149,7 +149,7 @@ * Validates the input and subtracts this matrix by the given other matrix. * * @param other - * @return + * @return The matrix itself, supply for chain operation. */ public DoubleMatrix subtract(DoubleMatrix other); @@ -164,7 +164,7 @@ * the given vector. * * @param vec - * @return + * @return The matrix itself, supply for chain operation. */ public DoubleMatrix subtract(DoubleVector vec); @@ -179,7 +179,7 @@ * the given vector. * * @param vec - * @return + * @return The matrix itself, supply for chain operation. */ public DoubleMatrix divide(DoubleVector vec); @@ -193,7 +193,7 @@ * division). * * @param other - * @return + * @return The matrix itself, supply for chain operation. */ public DoubleMatrix divide(DoubleMatrix other); Index: commons/src/main/java/org/apache/hama/commons/math/FunctionFactory.java =================================================================== --- commons/src/main/java/org/apache/hama/commons/math/FunctionFactory.java (리비전 1598204) +++ commons/src/main/java/org/apache/hama/commons/math/FunctionFactory.java (작업 사본) @@ -27,7 +27,7 @@ * Create a double function with specified name. * * @param functionName - * @return + * @return an appropriate double function. */ public static DoubleFunction createDoubleFunction(String functionName) { if (functionName.equalsIgnoreCase(Sigmoid.class.getSimpleName())) { @@ -47,7 +47,7 @@ * Create a double double function with specified name. * * @param functionName - * @return + * @return an appropriate double double function. */ public static DoubleDoubleFunction createDoubleDoubleFunction( String functionName) { Index: commons/src/main/java/org/apache/hama/commons/math/DoubleFunction.java =================================================================== --- commons/src/main/java/org/apache/hama/commons/math/DoubleFunction.java (리비전 1598204) +++ commons/src/main/java/org/apache/hama/commons/math/DoubleFunction.java (작업 사본) @@ -27,7 +27,7 @@ /** * Apply the function to element. * - * @param elem The element that the function apply to. + * @param value The element that the function apply to. * @return The result after applying the function. */ public abstract double apply(double value); @@ -35,8 +35,8 @@ /** * Apply the gradient of the function. * - * @param elem - * @return + * @param value + * @return The result after applying the function. */ public abstract double applyDerivative(double value); Index: core/src/main/java/org/apache/hama/bsp/message/io/ByteBufferOutputStream.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/message/io/ByteBufferOutputStream.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/message/io/ByteBufferOutputStream.java (작업 사본) @@ -102,7 +102,7 @@ * Action to take when the data to be written exceeds the size of the byte * buffer inside. * - * @return + * @return True * @throws IOException */ protected boolean onBufferFull(byte[] b, int off, int len) throws IOException { Index: core/src/main/java/org/apache/hama/bsp/message/io/SpillingDataOutputBuffer.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/message/io/SpillingDataOutputBuffer.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/message/io/SpillingDataOutputBuffer.java (작업 사본) @@ -480,7 +480,7 @@ * @param bufferSize * @param threshold * @param direct - * @param fileName + * @param processor */ public SpillingDataOutputBuffer(int bufferCount, int bufferSize, int threshold, boolean direct, SpilledDataProcessor processor) { Index: core/src/main/java/org/apache/hama/bsp/message/MessageManagerFactory.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/message/MessageManagerFactory.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/message/MessageManagerFactory.java (작업 사본) @@ -28,7 +28,7 @@ * Returns a messenger via reflection based on what was configured. * * @param conf - * @return + * @return a messenger that was configured. */ @SuppressWarnings("unchecked") public static MessageManager getMessageManager( Index: core/src/main/java/org/apache/hama/bsp/message/HamaMessageManagerImpl.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/message/HamaMessageManagerImpl.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/message/HamaMessageManagerImpl.java (작업 사본) @@ -124,7 +124,7 @@ } /** - * @param addr, socket address to which BSP Peer Connection will be + * @param addr socket address to which BSP Peer Connection will be * established * @return BSP Peer Connection, tried to return cached connection, else * returns a new connection and caches it Index: core/src/main/java/org/apache/hama/bsp/message/compress/SnappyCompressor.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/message/compress/SnappyCompressor.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/message/compress/SnappyCompressor.java (작업 사본) @@ -65,8 +65,8 @@ * Decompresses a BSPCompressedBundle and returns the corresponding * BSPMessageBundle. * - * @param compMsgBundle - * @return + * @param compressedBytes + * @return The result after decompressing BSPCompressedBundle. */ @Override public byte[] decompress(byte[] compressedBytes) { Index: core/src/main/java/org/apache/hama/bsp/message/compress/BSPMessageCompressorFactory.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/message/compress/BSPMessageCompressorFactory.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/message/compress/BSPMessageCompressorFactory.java (작업 사본) @@ -29,7 +29,7 @@ * Returns a compressor via reflection based on what was configured. * * @param conf - * @return + * @return a compressor that was configured. */ @SuppressWarnings("unchecked") public BSPMessageCompressor getCompressor(Configuration conf) { Index: core/src/main/java/org/apache/hama/bsp/message/compress/Bzip2Compressor.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/message/compress/Bzip2Compressor.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/message/compress/Bzip2Compressor.java (작업 사본) @@ -65,8 +65,8 @@ * Decompresses a BSPCompressedBundle and returns the corresponding * BSPMessageBundle. * - * @param compMsgBundle - * @return + * @param compressedBytes + * @return The result after decompressing BSPMessageBundle. */ @Override public byte[] decompress(byte[] compressedBytes) { Index: core/src/main/java/org/apache/hama/bsp/CombineFileInputFormat.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/CombineFileInputFormat.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/CombineFileInputFormat.java (작업 사본) @@ -77,7 +77,7 @@ * * @param split * @param context - * @return + * @return a {@link RecordReader} to read the input for processing. * @throws IOException */ public abstract RecordReader createRecordReader(InputSplit split, Index: core/src/main/java/org/apache/hama/bsp/TaskCompletionEvent.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/TaskCompletionEvent.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/TaskCompletionEvent.java (작업 사본) @@ -53,7 +53,7 @@ * incrementally, starting from 0. * @param taskId task id * @param status task's status - * @param taskTrackerHttp task tracker's host:port for http. + * @param groomServerInfo task tracker's host:port for http. */ public TaskCompletionEvent(int eventId, TaskAttemptID taskId, int idWithinJob, Status status, String groomServerInfo) { Index: core/src/main/java/org/apache/hama/bsp/BSPMaster.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/BSPMaster.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/BSPMaster.java (작업 사본) @@ -480,7 +480,7 @@ * * @param conf The Hama configuration * @param identifier Identifier for the job. - * @return + * @return an instance of BSPMaster * @throws IOException * @throws InterruptedException */ Index: core/src/main/java/org/apache/hama/bsp/FileOutputFormat.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/FileOutputFormat.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/FileOutputFormat.java (작업 사본) @@ -146,7 +146,7 @@ * Get the {@link Path} to the output directory for the map-reduce job. * * @return the {@link Path} to the output directory for the map-reduce job. - * @see FileOutputFormat#getWorkOutputPath(JobConf) + * @see FileOutputFormat#getWorkOutputPath(BSPJob) */ public static Path getOutputPath(BSPJob conf) { String name = conf.get("bsp.output.dir"); Index: core/src/main/java/org/apache/hama/bsp/RecordWriter.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/RecordWriter.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/RecordWriter.java (작업 사본) @@ -32,7 +32,6 @@ /** * Close this RecordWriter to future operations. * - * @param reporter facility to report progress. * @throws IOException */ void close() throws IOException; Index: core/src/main/java/org/apache/hama/bsp/taskallocation/BestEffortDataLocalTaskAllocator.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/taskallocation/BestEffortDataLocalTaskAllocator.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/taskallocation/BestEffortDataLocalTaskAllocator.java (작업 사본) @@ -47,7 +47,7 @@ * * @param grooms * @param tasksInGroomMap - * @return + * @return a hostname of Groom Server. */ private static String getAnyGroomToSchedule( Map grooms, @@ -73,7 +73,7 @@ * @param grooms * @param tasksInGroomMap * @param possibleLocations - * @return + * @return a hostname of Groom Server. */ private String getGroomToSchedule(Map grooms, Map tasksInGroomMap, Index: core/src/main/java/org/apache/hama/bsp/sync/ZKSyncClient.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/sync/ZKSyncClient.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/sync/ZKSyncClient.java (작업 사본) @@ -183,7 +183,7 @@ * Utility function to read Writable object value from byte array. * * @param data The byte array - * @param classType The Class object of expected Writable object. + * @param valueHolder The Class object of expected Writable object. * @return The instance of Writable object. * @throws IOException */ @@ -206,7 +206,7 @@ * Read value stored in the Zookeeper node. * * @param path The path of the Zookeeper node. - * @param classType The expected class type of the Writable object. + * @param valueHolder The expected class type of the Writable object. * @return The Writable object constructed from the value read from the * Zookeeper node. */ Index: core/src/main/java/org/apache/hama/bsp/sync/ZooKeeperSyncClientImpl.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/sync/ZooKeeperSyncClientImpl.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/sync/ZooKeeperSyncClientImpl.java (작업 사본) @@ -255,9 +255,7 @@ * Registers the task from outside, most of the time used by the groom which * uses this at task spawn-time. * - * @param zk * @param jobId - * @param taskId * @param hostAddress * @param port * @param taskId Index: core/src/main/java/org/apache/hama/bsp/sync/SyncServer.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/sync/SyncServer.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/sync/SyncServer.java (작업 사본) @@ -37,7 +37,7 @@ * hostname:port. * * @param conf - * @return + * @return the configuration of sync server. */ public Configuration init(Configuration conf) throws Exception; Index: core/src/main/java/org/apache/hama/bsp/sync/SyncClient.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/sync/SyncClient.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/sync/SyncClient.java (작업 사본) @@ -47,7 +47,7 @@ * @param value The value to be stored. * @param permanent true if the value should be persisted after end of * session. - * @param Listener object that provides asynchronous updates on the state of + * @param listener object that provides asynchronous updates on the state of * information stored under the key. * @return true if the operation was successful. */ @@ -58,7 +58,7 @@ * Retrieve value previously store for the key. * * @param key The key for which value was stored. - * @param classType The expected class instance of value to be extracted + * @param valueHolder The expected class instance of value to be extracted * @return the value if found. Returns null if there was any error of if there * was no value stored for the key. */ @@ -112,7 +112,7 @@ * * @param key * @param listener - * @return + * @return true if the operation is successful. */ public boolean remove(String key, SyncEventListener listener); Index: core/src/main/java/org/apache/hama/bsp/FileInputFormat.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/FileInputFormat.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/FileInputFormat.java (작업 사본) @@ -375,7 +375,7 @@ * Add a {@link Path} to the list of inputs for the BSP job. * * @param conf The configuration of the job - * @param path {@link Path} to be added to the list of inputs for the BSP job. + * @param p {@link Path} to be addaiaied to the list of inputs for the BSP job. */ public static void addInputPath(BSPJob conf, Path p) { Path path = new Path(conf.getWorkingDirectory(), p); @@ -465,7 +465,7 @@ * * @param blkLocations The list of block locations * @param offset - * @param splitSize + * @param pSplitSize * @return array of hosts that contribute most to this split * @throws IOException */ Index: core/src/main/java/org/apache/hama/bsp/TaskInProgress.java =================================================================== --- core/src/main/java/org/apache/hama/bsp/TaskInProgress.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/bsp/TaskInProgress.java (작업 사본) @@ -137,7 +137,7 @@ * @param grooms * @param tasksInGroomMap * @param possibleLocations - * @return + * @return a hostname of Groom Server. */ private String getGroomToSchedule(TaskAttemptID taskid, Map grooms, @@ -162,7 +162,7 @@ * * @param grooms * @param tasksInGroomMap - * @return + * @return a hostname of Groom Server. */ private String getAnyGroomToSchedule(Map grooms, Map tasksInGroomMap) { @@ -183,8 +183,7 @@ /** * * @param groomStatus - * @param grooms - * @return + * @return a new task with job. */ public Task constructTask(GroomServerStatus groomStatus) { if (groomStatus == null) { @@ -261,7 +260,7 @@ /** * - * @return + * @return true if the task can start. */ public boolean canStartTask() { return (nextTaskId < (MAX_TASK_EXECS + maxTaskAttempts)); Index: core/src/main/java/org/apache/hama/util/BSPNetUtils.java =================================================================== --- core/src/main/java/org/apache/hama/util/BSPNetUtils.java (리비전 1598204) +++ core/src/main/java/org/apache/hama/util/BSPNetUtils.java (작업 사본) @@ -181,7 +181,7 @@ /** * Create a socket address with the given host and port. The hostname might be * replaced with another host that was set via - * {@link #addStaticResolution(String, String)}. The value of + * {@link NetUtils#addStaticResolution(String, String)}. The value of * hadoop.security.token.service.use_ip will determine whether the standard * java host resolver is used, or if the fully qualified resolver is used. * Index: graph/src/main/java/org/apache/hama/graph/VertexInterface.java =================================================================== --- graph/src/main/java/org/apache/hama/graph/VertexInterface.java (리비전 1598204) +++ graph/src/main/java/org/apache/hama/graph/VertexInterface.java (작업 사본) @@ -118,7 +118,7 @@ * * @throws IOException * - * @param name identifies a aggregator + * @param index identifies a aggregator * @param value value to be aggregated */ public void aggregate(int index, M value) throws IOException; Index: graph/src/main/java/org/apache/hama/graph/Vertex.java =================================================================== --- graph/src/main/java/org/apache/hama/graph/Vertex.java (리비전 1598204) +++ graph/src/main/java/org/apache/hama/graph/Vertex.java (작업 사본) @@ -379,7 +379,7 @@ * index is defined by the order you set the aggregator classes in * {@link GraphJob#setAggregatorClass(Class...)}. Index is starting at zero, * so if you have a single aggregator you can retrieve it via - * {@link #getLastAggregatedValue}(0). + * {@link GraphJobRunner#getLastAggregatedValue}(0). */ @SuppressWarnings("unchecked") @Override Index: graph/src/main/java/org/apache/hama/graph/AggregationRunner.java =================================================================== --- graph/src/main/java/org/apache/hama/graph/AggregationRunner.java (리비전 1598204) +++ graph/src/main/java/org/apache/hama/graph/AggregationRunner.java (작업 사본) @@ -130,7 +130,7 @@ * computation. * * @param lastValue the value before compute(). - * @param v the vertex. + * @param value the vertex. */ public void aggregateVertex(int index, M lastValue, M value) { if (isEnabled()) { Index: ml/src/main/java/org/apache/hama/ml/perception/SmallMLPMessage.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/perception/SmallMLPMessage.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/perception/SmallMLPMessage.java (작업 사본) @@ -64,7 +64,7 @@ * * @param owner The owner that create the message * @param terminated Whether the training is terminated for the owner task - * @param weightUpdatedMatrics The weight updates + * @param weightUpdatedMatrices The weight updates * @param prevWeightUpdatedMatrices */ public SmallMLPMessage(int owner, boolean terminated, @@ -79,7 +79,7 @@ /** * Get the owner task Id of the message. * - * @return + * @return the owner value. */ public int getOwner() { return owner; @@ -88,7 +88,7 @@ /** * Get the updated weight matrices. * - * @return + * @return the array value of dense double matrix object. */ public DenseDoubleMatrix[] getWeightUpdatedMatrices() { return this.weightUpdatedMatrices; Index: ml/src/main/java/org/apache/hama/ml/perception/SmallMultiLayerPerceptron.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/perception/SmallMultiLayerPerceptron.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/perception/SmallMultiLayerPerceptron.java (작업 사본) @@ -75,7 +75,7 @@ private DenseDoubleMatrix[] prevWeightUpdateMatrices; /** - * {@inheritDoc} + * @see MultiLayerPerceptron#MultiLayerPerceptron(double, double, double, String, String, int[]) */ public SmallMultiLayerPerceptron(double learningRate, double regularization, double momentum, String squashingFunctionName, String costFunctionName, @@ -87,7 +87,7 @@ } /** - * {@inheritDoc} + * @see MultiLayerPerceptron#MultiLayerPerceptron(String) */ public SmallMultiLayerPerceptron(String modelPath) { super(modelPath); @@ -202,7 +202,7 @@ * * @param fromLayer The index of layer that forwards the intermediate results * from. - * @return + * @return the value of intermediate results of layer. */ private double[] forward(int fromLayer, double[] intermediateResult) { int toLayer = fromLayer + 1; @@ -549,7 +549,7 @@ * Print out the weights. * * @param mat - * @return + * @return the weights value. */ static String weightsToString(DenseDoubleMatrix[] mat) { StringBuilder sb = new StringBuilder(); Index: ml/src/main/java/org/apache/hama/ml/ann/AbstractLayeredNeuralNetwork.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/ann/AbstractLayeredNeuralNetwork.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/ann/AbstractLayeredNeuralNetwork.java (작업 사본) @@ -89,7 +89,7 @@ * Set the regularization weight. Recommend in the range [0, 0.1), More * complex the model is, less weight the regularization is. * - * @param regularization + * @param regularizationWeight */ public void setRegularizationWeight(double regularizationWeight) { Preconditions.checkArgument(regularizationWeight >= 0 @@ -136,7 +136,7 @@ /** * Set the cost function for the model. * - * @param costFunctionName + * @param costFunction */ public void setCostFunction(DoubleDoubleFunction costFunction) { this.costFunction = costFunction; @@ -160,7 +160,7 @@ * Get the size of a particular layer. * * @param layer - * @return + * @return The layer size. */ public int getLayerSize(int layer) { Preconditions.checkArgument( @@ -173,7 +173,7 @@ /** * Get the layer size list. * - * @return + * @return The layer size list. */ protected List getLayerSizeList() { return this.layerSizeList; @@ -201,7 +201,7 @@ * Get the output calculated by the model. * * @param instance The feature instance. - * @return + * @return a new vector with the result of the operation. */ public abstract DoubleVector getOutput(DoubleVector instance); @@ -210,7 +210,6 @@ * * @param labels * @param output - * @return */ protected abstract void calculateTrainingError(DoubleVector labels, DoubleVector output); Index: ml/src/main/java/org/apache/hama/ml/ann/SmallLayeredNeuralNetwork.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/ann/SmallLayeredNeuralNetwork.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/ann/SmallLayeredNeuralNetwork.java (작업 사본) @@ -165,7 +165,7 @@ /** * Get all the weight matrices. * - * @return + * @return The matrices in form of matrix array. */ DoubleMatrix[] getWeightMatrices() { DoubleMatrix[] matrices = new DoubleMatrix[this.weightMatrixList.size()]; @@ -186,7 +186,7 @@ /** * Get the previous matrices updates in form of array. * - * @return + * @return The matrices in form of matrix array. */ public DoubleMatrix[] getPrevMatricesUpdates() { DoubleMatrix[] prevMatricesUpdates = new DoubleMatrix[this.prevWeightUpdatesList @@ -308,7 +308,7 @@ * * @param fromLayer The index of the previous layer. * @param intermediateOutput The intermediateOutput of previous layer. - * @return + * @return a new vector with the result of the operation. */ protected DoubleVector forward(int fromLayer, DoubleVector intermediateOutput) { DoubleMatrix weightMatrix = this.weightMatrixList.get(fromLayer); @@ -457,7 +457,7 @@ * @param layer Index of current layer. * @param internalOutput Internal output of current layer. * @param deltaVec Delta of next layer. - * @return + * @return the squashing function of the specified position. */ private DoubleVector backpropagate(int curLayerIdx, DoubleVector nextLayerDelta, List outputCache, @@ -559,7 +559,7 @@ * Get the squashing function of a specified layer. * * @param idx - * @return + * @return a new vector with the result of the operation. */ public DoubleFunction getSquashingFunction(int idx) { return this.squashingFunctionList.get(idx); Index: ml/src/main/java/org/apache/hama/ml/ann/NeuralNetwork.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/ann/NeuralNetwork.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/ann/NeuralNetwork.java (작업 사본) @@ -159,7 +159,6 @@ /** * Write the model data to specified location. * - * @param modelPath The location in file system to store the model. * @throws IOException */ public void writeModelToFile() throws IOException { @@ -191,7 +190,7 @@ /** * Get the model path. * - * @return + * @return the path to store the model. */ public String getModelPath() { return this.modelPath; Index: ml/src/main/java/org/apache/hama/ml/ann/AutoEncoder.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/ann/AutoEncoder.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/ann/AutoEncoder.java (작업 사본) @@ -109,7 +109,7 @@ /** * Get the matrix M used to encode the input features. * - * @return + * @return this matrix with encode the input. */ public DoubleMatrix getEncodeWeightMatrix() { return model.getWeightsByLayer(0); @@ -118,7 +118,7 @@ /** * Get the matrix M used to decode the compressed information. * - * @return + * @return this matrix with decode the compressed information. */ public DoubleMatrix getDecodeWeightMatrix() { return model.getWeightsByLayer(1); @@ -152,7 +152,7 @@ /** * Encode the input instance. * @param inputInstance - * @return + * @return a new vector with the encode input instance. */ public DoubleVector encode(DoubleVector inputInstance) { Preconditions @@ -166,7 +166,7 @@ /** * Decode the input instance. * @param inputInstance - * @return + * @return a new vector with the decode input instance. */ public DoubleVector decode(DoubleVector inputInstance) { Preconditions @@ -180,7 +180,7 @@ /** * Get the label(s) according to the given features. * @param inputInstance - * @return + * @return a new vector with output of the model according to given feature instance. */ public DoubleVector getOutput(DoubleVector inputInstance) { return model.getOutput(inputInstance); Index: ml/src/main/java/org/apache/hama/ml/semiclustering/SemiClusteringVertex.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/semiclustering/SemiClusteringVertex.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/semiclustering/SemiClusteringVertex.java (작업 사본) @@ -146,7 +146,7 @@ * Function to calcualte the Score of a semi-cluster * * @param message - * @return + * @return the value to calcualte the Score of a semi-cluster. */ public double semiClusterScoreCalcuation(SemiClusterMessage message) { double iC = 0.0, bC = 0.0, fB = 0.0, sC = 0.0; Index: ml/src/main/java/org/apache/hama/ml/util/FeatureTransformer.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/util/FeatureTransformer.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/util/FeatureTransformer.java (작업 사본) @@ -33,8 +33,8 @@ /** * Transform the original features to transformed space. - * @param originalFeatureVector - * @return + * @param originalFeatures + * @return a new vector with the result of the operation. */ public abstract DoubleVector transform(DoubleVector originalFeatures); Index: ml/src/main/java/org/apache/hama/ml/kmeans/KMeansBSP.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/kmeans/KMeansBSP.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/kmeans/KMeansBSP.java (작업 사본) @@ -430,7 +430,7 @@ * @param out * @param fs * @param hasKey true if first column is required to be the key. - * @return + * @return the path of a sequencefile. * @throws IOException */ public static Path prepareInputText(int k, Configuration conf, Path txtIn, Index: ml/src/main/java/org/apache/hama/ml/regression/LogisticRegression.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/regression/LogisticRegression.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/regression/LogisticRegression.java (작업 사본) @@ -80,7 +80,7 @@ /** * Get the weight of momemtum. * - * @return + * @return the monemtum weight value. */ public double getMomemtumWeight() { return ann.getMomemtumWeight(); @@ -100,7 +100,7 @@ /** * Get the weight of regularization. * - * @return + * @return the regularizatioin weight value. */ public double getRegularizationWeight() { return ann.getRegularizationWeight(); @@ -134,7 +134,7 @@ * Get the output according to given input instance. * * @param instance - * @return + * @return a new vector with the result of the operation. */ public DoubleVector getOutput(DoubleVector instance) { return ann.getOutput(instance); @@ -164,7 +164,7 @@ /** * Get the weights of the model. * - * @return + * @return a new vector with the weights of the model. */ public DoubleVector getWeights() { return ann.getWeightsByLayer(0).getRowVector(0); Index: ml/src/main/java/org/apache/hama/ml/regression/LinearRegression.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/regression/LinearRegression.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/regression/LinearRegression.java (작업 사본) @@ -84,7 +84,7 @@ /** * Get the weight of momemtum. * - * @return + * @return the monemtum weight value. */ public double getMomemtumWeight() { return ann.getMomemtumWeight(); @@ -104,7 +104,7 @@ /** * Get the weight of regularization. * - * @return + * @return the regularizatioin weight value. */ public double getRegularizationWeight() { return ann.getRegularizationWeight(); @@ -141,7 +141,7 @@ * Get the output according to given input instance. * * @param instance - * @return + * @return a new vector with the result of the operation. */ public DoubleVector getOutput(DoubleVector instance) { return ann.getOutput(instance); @@ -171,7 +171,7 @@ /** * Get the weights of the model. * - * @return + * @return a new vector with the weights of the model. */ public DoubleVector getWeights() { return ann.getWeightsByLayer(0).getRowVector(0); @@ -179,7 +179,7 @@ /** * Set the feature transformer. - * @param transformer + * @param featureTransformer */ public void setFeatureTransformer(FeatureTransformer featureTransformer) { this.ann.setFeatureTransformer(featureTransformer); Index: ml/src/main/java/org/apache/hama/ml/recommendation/Recommender.java =================================================================== --- ml/src/main/java/org/apache/hama/ml/recommendation/Recommender.java (리비전 1598204) +++ ml/src/main/java/org/apache/hama/ml/recommendation/Recommender.java (작업 사본) @@ -42,8 +42,8 @@ * load model from given path * @param path - path of saved model * @param lazy - some models are bigger than available memory, - * set this to {@value true} if memory is less than data model - * for faster prediction, set to {@value false} if using + * set this to true if memory is less than data model + * for faster prediction, set to false if using * file access and reading from file is fine in prediction phase * @return true if success */