Package org.dmg.pmml._40

Examples of org.dmg.pmml._40.ACTIVATIONFUNCTION


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setActivationFunction(ACTIVATIONFUNCTION newActivationFunction) {
    ACTIVATIONFUNCTION oldActivationFunction = activationFunction;
    activationFunction = newActivationFunction == null ? ACTIVATION_FUNCTION_EDEFAULT : newActivationFunction;
    boolean oldActivationFunctionESet = activationFunctionESet;
    activationFunctionESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, _40Package.NEURAL_LAYER_TYPE__ACTIVATION_FUNCTION, oldActivationFunction, activationFunction, !oldActivationFunctionESet));
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetActivationFunction() {
    ACTIVATIONFUNCTION oldActivationFunction = activationFunction;
    boolean oldActivationFunctionESet = activationFunctionESet;
    activationFunction = ACTIVATION_FUNCTION_EDEFAULT;
    activationFunctionESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.NEURAL_LAYER_TYPE__ACTIVATION_FUNCTION, oldActivationFunction, ACTIVATION_FUNCTION_EDEFAULT, oldActivationFunctionESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setActivationFunction(ACTIVATIONFUNCTION newActivationFunction) {
    ACTIVATIONFUNCTION oldActivationFunction = activationFunction;
    activationFunction = newActivationFunction == null ? ACTIVATION_FUNCTION_EDEFAULT : newActivationFunction;
    boolean oldActivationFunctionESet = activationFunctionESet;
    activationFunctionESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, _40Package.NEURAL_NETWORK_TYPE__ACTIVATION_FUNCTION, oldActivationFunction, activationFunction, !oldActivationFunctionESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetActivationFunction() {
    ACTIVATIONFUNCTION oldActivationFunction = activationFunction;
    boolean oldActivationFunctionESet = activationFunctionESet;
    activationFunction = ACTIVATION_FUNCTION_EDEFAULT;
    activationFunctionESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.NEURAL_NETWORK_TYPE__ACTIVATION_FUNCTION, oldActivationFunction, ACTIVATION_FUNCTION_EDEFAULT, oldActivationFunctionESet));
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public String getText(Object object) {
    ACTIVATIONFUNCTION labelValue = ((NeuralLayerType)object).getActivationFunction();
    String label = labelValue == null ? null : labelValue.toString();
    return label == null || label.length() == 0 ?
      getString("_UI_NeuralLayerType_type") :
      getString("_UI_NeuralLayerType_type") + " " + label;
  }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetArray(ArrayType newArray, NotificationChain msgs) {
    ArrayType oldArray = array;
    array = newArray;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.SET_PREDICATE_TYPE__ARRAY, oldArray, newArray);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetArray(ArrayType newArray, NotificationChain msgs) {
    ArrayType oldArray = array;
    array = newArray;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.MISSING_VALUE_WEIGHTS_TYPE__ARRAY, oldArray, newArray);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetArray(ArrayType newArray, NotificationChain msgs) {
    ArrayType oldArray = array;
    array = newArray;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.CLASS_LABELS_TYPE__ARRAY, oldArray, newArray);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetArray(ArrayType newArray, NotificationChain msgs) {
    ArrayType oldArray = array;
    array = newArray;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.TIME_CYCLE_TYPE__ARRAY, oldArray, newArray);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetBinarySimilarity(BinarySimilarityType newBinarySimilarity, NotificationChain msgs) {
    BinarySimilarityType oldBinarySimilarity = binarySimilarity;
    binarySimilarity = newBinarySimilarity;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.COMPARISON_MEASURE_TYPE__BINARY_SIMILARITY, oldBinarySimilarity, newBinarySimilarity);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

TOP

Related Classes of org.dmg.pmml._40.ACTIVATIONFUNCTION

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.