Examples of Properties


Examples of com.github.neuralnetworks.util.Properties

  return t;
    }

    protected static Properties backpropProperties(NeuralNetwork nn, TrainingInputProvider trainingSet, TrainingInputProvider testingSet, OutputError error, NNRandomInitializer rand, float learningRate, float momentum, float l1weightDecay, float l2weightDecay) {
  Properties p = new Properties();
  p.setParameter(Constants.NEURAL_NETWORK, nn);
  p.setParameter(Constants.TRAINING_INPUT_PROVIDER, trainingSet);
  p.setParameter(Constants.TESTING_INPUT_PROVIDER, testingSet);
  p.setParameter(Constants.LEARNING_RATE, learningRate);
  p.setParameter(Constants.MOMENTUM, momentum);
  p.setParameter(Constants.L1_WEIGHT_DECAY, l1weightDecay);
  p.setParameter(Constants.L2_WEIGHT_DECAY, l2weightDecay);
  p.setParameter(Constants.OUTPUT_ERROR_DERIVATIVE, new MSEDerivative());
  p.setParameter(Constants.OUTPUT_ERROR, error);
  p.setParameter(Constants.RANDOM_INITIALIZER, rand);

  return p;
    }
View Full Code Here

Examples of com.google.gwt.ajaxloader.client.Properties

        options.setTitle("Total New Reports per App");
        break;
    }

    options.setTitleTextStyle(mBoldTitleFont);
    Properties animation = Properties.create();
    animation.set("duration", 1000.0);
    animation.set("easing", "out");
    options.set("animation", animation);

    return options;
  }
View Full Code Here

Examples of com.google.gwt.dev.cfg.Properties

  }

  void compileForWebMode(ModuleDef module, String... userAgents)
      throws UnableToCompleteException {
    if (userAgents != null && userAgents.length > 0) {
      Properties props = module.getProperties();
      Property userAgent = props.find("user.agent");
      if (userAgent instanceof BindingProperty) {
        BindingProperty bindingProperty = (BindingProperty) userAgent;
        bindingProperty.setAllowedValues(bindingProperty.getRootCondition(),
            userAgents);
      }
View Full Code Here

Examples of com.google.gwt.query.client.Properties

    offset = convertPositionTo(true, position);
    absPosition = offset.add(margin.left, margin.top);
  }

  public void revertToOriginalPosition(Function function) {
    Properties oldPosition = Properties.create("{top:'"
        + String.valueOf(originalPosition.top) + "px',left:'"
        + String.valueOf(originalPosition.left) + "px'}");
    helper.as(Effects.Effects).animate(oldPosition,
        options.getRevertDuration(), Easing.LINEAR, function);
View Full Code Here

Examples of com.jme3.scene.plugins.blender.objects.Properties

            }
        }

        // reading custom properties
        if (blenderContext.getBlenderKey().isLoadObjectProperties() && result.size() > 0) {
            Properties properties = this.loadProperties(curveStructure, blenderContext);
            // the loaded property is a group property, so we need to get each value and set it to every geometry of the curve
            if (properties != null && properties.getValue() != null) {
                for(Geometry geom : result) {
                    this.applyProperties(geom, properties);
                }
            }
        }
View Full Code Here

Examples of com.pugh.sockso.Properties

        coverer = null;
    }

    public void testGetLocalCoverFileName() {

        final Properties p = createNiceMock(Properties.class);
        expect(p.get((String) anyObject(), (String) anyObject())).andReturn("artist").times(1);
        expect(p.get((String) anyObject(), (String) anyObject())).andReturn("album").times(1);
        replay(p);

        coverer.setProperties(p);

        assertTrue(coverer.getLocalCoverFileName("ar123").equals("artist"));
View Full Code Here

Examples of com.sparc.knappsack.models.api.v1.Properties

        Property[] properties = new Property[3];
        properties[0] = new Property(SystemStatistics.ORGANIZATION_COUNT.name(), Long.toString(organizationService.countAll()), SystemStatistics.ORGANIZATION_COUNT.getDescription());
        properties[1] = new Property(SystemStatistics.USER_COUNT.name(), Long.toString(userService.countAll()), SystemStatistics.USER_COUNT.getDescription());
        properties[2] = new Property(SystemStatistics.APPLICATION_COUNT.name(), Long.toString(applicationService.countAll()), SystemStatistics.APPLICATION_COUNT.getDescription());

        Properties props = new Properties();
        props.setProperties(properties);

        return props;
    }
View Full Code Here

Examples of com.sun.hotspot.igv.data.Properties

    private ChangedEvent<Filter> changedEvent;
    private Properties properties;

    public AbstractFilter() {
        changedEvent = new ChangedEvent<Filter>(this);
        properties = new Properties();
    }
View Full Code Here

Examples of com.sun.midp.util.Properties

        permissions =
            (Permissions.forDomain(Permissions.MANUFACTURER_DOMAIN_BINDING))
                [Permissions.CUR_LEVELS];

        properties = new Properties();
    }
View Full Code Here

Examples of com.sun.star.wizards.common.Properties

    }

    protected XComponent setDocument(String url_, String[] propNames, Object[] propValues) throws com.sun.star.lang.IllegalArgumentException, IOException, CloseVetoException {
        url = url_;

        Properties ps = new Properties();

        for (int i = 0; i < propNames.length; i++)
            ps.put(propNames[i], propValues[i]);

        return setDocument(url, ps.getProperties());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.