NeighbourhoodSizeFunction (Apache Commons Math 3.6.1 API)

org.apache.commons.math3.ml.neuralnet.sofm

## Interface NeighbourhoodSizeFunction

-     public interface NeighbourhoodSizeFunction

  Provides the network neighbourhood's size as a function of the number of calls already performed during the learning task. The "neighbourhood" is the set of neurons that can be reached by traversing at most the number of links returned by this function.
  Since:
    3.3

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `value(long numCall)` Computes the neighbourhood size at the current call.

- - ### Method Detail

    - #### value

          int value(long numCall)

      Computes the neighbourhood size at the current call.
      Parameters:
        `numCall` - Current step of the training task.
      Returns:
        the value of the function at `numCall`.

Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.