Questions tagged [hessian]

Hessian is a simple binary protocol for connecting web services.

Hessian is a simple binary protocol for connecting web services. More info at http://hessian.caucho.com/

158 questions
0
votes
1 answer

nlm number of function evaluations per iteration?

I use nlm to maximize a likelihood in R. I would like to predict the number of likelihood evaluations and abort if the task is likely to take too long. nlm returns the number of 'iterations' (typically 10-20), and I take it that each iteration…
0
votes
1 answer

Using mle2 for parameter estimates with error and predict

I'm using mle2 to estimate a parameters for a non-linear model and I want estimates of error around the parameter estimates (std. error). As well, I'd like to use the model to then predict with newdata, and I'm having problems (errors) with a couple…
0
votes
2 answers

Python Logistic Regression / Hessian. Getting a divide by zero error and a singular matrix error

code: def sigmoid(x): return 1.0/(1+np.exp(-x)) def cost(x,y,th): pro = sigmoid(np.dot(x,th)) result = sum(-y * np.log(pro) - (1-y) * np.log(1-pro)) result = result/len(x) #len: number of feature rows return result def…
0
votes
0 answers

Android: class file for javax.naming.spi.ObjectFactory not found - when I tried to integrate Hessian into Android

I get the following error message when I tried to integrate Hessian into Andorid: error: cannot access ObjectFactory class file for javax.naming.spi.ObjectFactory not found Here's the code: ... import…
dev_kili
  • 1
  • 1
0
votes
1 answer

Release client hangs forever when server has issue (may be socket reset) during calling hessian

I have a client calls to a server through Hessian. During that time the server is not stable and ussually have Socket reset error. And the client was hangs at the below log. So how can I release this log but still keep the application running. And…
Loc Phan
  • 4,304
  • 4
  • 29
  • 35
0
votes
1 answer

Does Hessian have a timeout?

Does the Hessian protocol have a timeout? Note: I am not using Hessian4J. Instead, I am using Spring for exporting the Hessian services and my own code for handling Hessian request.
stevebot
  • 23,275
  • 29
  • 119
  • 181
0
votes
0 answers

Diagonal of the Hessian with Tensorflow

I'm doing some machine learning and I have to deal with a custom loss function. The derivatives and the Hessian of the loss function are difficult to derive and so I've resorted to computing them automatically using Tensorflow. Here is an…
Max Halford
  • 11
  • 1
  • 2
0
votes
1 answer

Problem trying to get the Gradient and Hessian in Pyomo

I got a large-scale problem and I want to know the gradient and the Hessian of the objective function and some constraints. I saw here how to obtain the symbolic derivatives. But using this simple code: > from pyomo.environ import * > mc =…
0
votes
0 answers

Object become Hashmap after Serialization and Deserialization

I have an object called Tree: public class Tree{ protected Node root; public static class Node{ protected Node parent; protected List children; } } I am serializing and then deserializing it: // build a tree Tree t…
Foredoomed
  • 2,219
  • 2
  • 21
  • 39
0
votes
1 answer

Hessian with input streams

I'm trying to build a remote service that will be called with Hessian (or any other remote call) but I'm facing problem with InputStreams. The Hessian web site says I'm better of dealing with them myself but I'm unable to figure how? Below is a…
willix
  • 686
  • 1
  • 6
  • 13
0
votes
1 answer

Record Server Interaction of Hessian based Server Communication for VUGen

Does anybody know of a way to record hessian based server interaction so that it can be used for load tests using Mercury Virtual User Generator (VUGen)? Possibly something using a logging proxy and generating code for direct submission of the…
Jens Schauder
  • 77,657
  • 34
  • 181
  • 348
0
votes
0 answers

How to compute Hessian of a function defined by a multidimensional array

I have an array defined in MATLAB with dimensions 5×5×5×5, i.e., it is a 4-dimensional array. The numbers of this array define the values a function of 4 variables takes over some domain. I need to compute the Hessian of this function. I need to…
Bravo
  • 657
  • 1
  • 8
  • 19
0
votes
1 answer

hessianKit in iphone SDK

if I have the custom value object in this framework, how should I do? I have declared and defined the interface and implementation of LoginRequest and LoginResponse, and also, the protocol of LoginRequest and LoginResponse is declared. I can't find…
ichoyb
  • 23
  • 1
  • 7
0
votes
1 answer

Hessian Serialization and Deserialization of java.time.Year

While trying to serialize and deserialize object of java.time.Year, it gives serialization error and run into stackOverflow. java.lang.StackOverflowError at com.caucho.hessian.util.IdentityIntMap.get(IdentityIntMap.java:112) at…
Sugan
  • 335
  • 3
  • 10
0
votes
2 answers

php long int to java long failed when php call java via hessian

I am using hessian between php and java service. In php client: $proxy = new HessianClient($testurl, $options); $result = $proxy->waoo(309000100340); In java server: public Long waoo(long id) { System.out.println(id); return id; } But java…
wwulfric
  • 521
  • 1
  • 4
  • 14