D-optimal Federov designs

Create a D-optimal experimental design, even where R functions fail

Algorithmia Platform License

Try the API

"{\"type\":\"list\",\"attributes\":{\"names\":{\"type\":\"character\",\"attributes\":{},\"value\":[\"rows\",\"D\",\"method\",\"timeLapsedInSeconds\"]}},\"value\":[{\"type\":\"double\",\"attributes\":{},\"value\":[3,4,5,6,9,10,11,13,15,16]},{\"type\":\"double\",\"attributes\":{},\"value\":[0.97032193]},{\"type\":\"character\",\"attributes\":{},\"value\":[\"optFederov\"]},{\"type\":\"double\",\"attributes\":{},\"value\":[0.00216532]}]}"

Install & Use

Use

curl -X POST -d '"{\"type\":\"list\",\"attributes\":{\"names\":{\"type\":\"character\",\"attributes\":{},\"value\":[\"variable1\",\"variable2\",\"variable3\",\"variable4\"]},\"out.attrs\":{\"type\":\"list\",\"attributes\":{\"names\":{\"type\":\"character\",\"attributes\":{},\"value\":[\"dim\",\"dimnames\"]}},\"value\":[{\"type\":\"integer\",\"attributes\":{\"names\":{\"type\":\"character\",\"attributes\":{},\"value\":[\"variable1\",\"variable2\",\"variable3\",\"variable4\"]}},\"value\":[2,2,2,2]},{\"type\":\"list\",\"attributes\":{\"names\":{\"type\":\"character\",\"attributes\":{},\"value\":[\"variable1\",\"variable2\",\"variable3\",\"variable4\"]}},\"value\":[{\"type\":\"character\",\"attributes\":{},\"value\":[\"variable1=-1\",\"variable1= 1\"]},{\"type\":\"character\",\"attributes\":{},\"value\":[\"variable2=-1\",\"variable2= 1\"]},{\"type\":\"character\",\"attributes\":{},\"value\":[\"variable3=-1\",\"variable3= 1\"]},{\"type\":\"character\",\"attributes\":{},\"value\":[\"variable4=-1\",\"variable4= 1\"]}]}]},\"class\":{\"type\":\"character\",\"attributes\":{},\"value\":[\"data.frame\"]},\"row.names\":{\"type\":\"integer\",\"attributes\":{},\"value\":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]}},\"value\":[{\"type\":\"double\",\"attributes\":{},\"value\":[-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1]},{\"type\":\"double\",\"attributes\":{},\"value\":[-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1]},{\"type\":\"double\",\"attributes\":{},\"value\":[-1,-1,-1,-1,1,1,1,1,-1,-1,-1,-1,1,1,1,1]},{\"type\":\"double\",\"attributes\":{},\"value\":[-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1,1]}]}"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/nikitos/optimaldesign/0.11.0
  
Curl Docs →