Class OCNNOutputLayer.Builder

    • Field Detail

      • hiddenLayerSize

        protected int hiddenLayerSize
        The hidden layer size for the one class neural network. Note this would be nOut on a dense layer. NOut in this neural net is always set to 1 though.
      • nu

        protected double nu
        For nu definition see the paper
      • windowSize

        protected int windowSize
        The number of examples to use for computing the quantile for the r value update. This value should generally be the same as the number of examples in the dataset
      • activation

        protected IActivation activation
        The activation function to use with ocnn
      • initialRValue

        protected double initialRValue
        The initial r value to use for ocnn for definition, see the paper, note this is only active when configureR is specified as true
      • configureR

        protected boolean configureR
        Whether to use the specified initialRValue or use the weight initialization with the neural network for the r value
    • Constructor Detail

      • Builder

        public Builder()