This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i = 1:m | |
subsetX = X(1:i, :); | |
subsetY = y(1:i); | |
[theta] = trainLinearReg(subsetX, subsetY,lambda); | |
[error_train(i),grad_train] = linearRegCostFunction(subsetX, subsetY, theta, 0); | |
[error_val(i),grad_val] = linearRegCostFunction(Xval, yval, theta, 0); | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i=1:p | |
X_poly(:,i) = X .^i; | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i = 1:length(lambda_vec) | |
[theta] = trainLinearReg(X,y,lambda_vec(i)); | |
[error_train(i),grad_train] = linearRegCostFunction(X, y, theta, 0); | |
[error_val(i),grad_val] = linearRegCostFunction(Xval, yval, theta, 0); | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn average-b | |
"Calculates average value of any numbers" | |
[] | |
(println "How many numbers ?") | |
(let [n (Integer/parseInt (read-line))] | |
(loop [m 1 sum 0] | |
(if (> m n) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
serviceOfferingId 10, templateId 202, zoneId 1, options [formParameters={}, headers={}, matrixParameters={}, pathSuffix=null, payload=null, queryParameters={networkids=[229]}] | |
java.lang.NullPointerException | |
at org.jclouds.cloudstack.features.VirtualMachineClientLiveTest.createVirtualMachineWithOptionsInZone(VirtualMachineClientLiveTest.java:166) | |
at org.jclouds.cloudstack.features.VirtualMachineClientLiveTest.createVirtualMachineInNetwork(VirtualMachineClientLiveTest.java:126) | |
at org.jclouds.cloudstack.features.VirtualMachineClientLiveTest.createVirtualMachine(VirtualMachineClientLiveTest.java:94) | |
at org.jclouds.cloudstack.features.VirtualMachineClientLiveTest.testCreateVirtualMachine(VirtualMachineClientLiveTest.java:178) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
serviceOfferingId 10, templateId 202, zoneId 1, options [formParameters={}, headers={}, matrixParameters={}, pathSuffix=null, payload=null, queryParameters={networkids=[229]}] | |
testing socket [address=72.52.67.28, port=22] | |
testing ssh [address=72.52.67.28, port=22] | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
org.jclouds.rest.AuthorizationException: (root:password@72.52.67.28:22) (root:password@72.52.67.28:22) error acquiring SSHClient(timeout=60000) (not retryable): Exhausted available authentication methods | |
at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:411) | |
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:241) | |
at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:252) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request | |
-> evaluate(<hudson.model.Hudson@5c1ccea9> :hudson.model.Hudson,"/computer/us-east-1/i-a0172dc5") | |
-> evaluate(((StaplerProxy)<hudson.model.Hudson@5c1ccea9>).getTarget(),"/computer/us-east-1/i-a0172dc5") | |
-> evaluate(<hudson.model.Hudson@5c1ccea9>.getComputer(),"/us-east-1/i-a0172dc5") | |
-> evaluate(<hudson.model.ComputerSet@6e12f6d> :hudson.model.ComputerSet,"/us-east-1/i-a0172dc5") | |
-> evaluate(<hudson.model.ComputerSet@6e12f6d>.getDynamic("us-east-1",...),"/i-a0172dc5") | |
hudson.model.ComputerSet@6e12f6d.getDynamic("us-east-1",...)==null. Back tracking. | |
-> No matching rule was found on <hudson.model.ComputerSet@6e12f6d> for "/us-east-1/i-a0172dc5" | |
<hudson.model.ComputerSet@6e12f6d> has the following URL mappings, in the order of preference: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 21, 2012 10:05:37 PM org.jclouds.logging.jdk.JDKLogger logInfo | |
INFO: >> providing images | |
Feb 21, 2012 10:05:37 PM org.jclouds.logging.jdk.JDKLogger logInfo | |
INFO: >> providing images | |
Feb 21, 2012 10:05:37 PM org.jclouds.logging.jdk.JDKLogger logInfo | |
INFO: << images(52) | |
Feb 21, 2012 10:06:04 PM org.jclouds.logging.jdk.JDKLogger logInfo | |
INFO: << images(4221) | |
Feb 21, 2012 10:06:04 PM org.jclouds.logging.jdk.JDKLogger logInfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user=> (use 'clojurewerkz.elastisch.index) | |
nil | |
user=> (create "wiki") | |
NoSuchMethodError clojure.lang.Numbers.lt(II)Z clojure.data.json/write-json-string (json.clj:208) | |
user=> (exists? "wiki") | |
false | |
user=> (create "wiki" :mappings {:wikipage {:properties { :title {:type "string"}}}) | |
RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException (Util.java:156) | |
user=> (create "wiki" :mappings {:wikipage {:properties { :title {:type "string"}}}}) | |
NoSuchMethodError clojure.lang.Numbers.lt(II)Z clojure.data.json/write-json-string (json.clj:208) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Error injecting constructor, java.lang.NoSuchMethodError: org.jclouds.compute.strategy.impl.ReturnCredentialsBoundToImage.<init>(Lorg/jclouds/domain/LoginCredentials;Ljava/util/Map;)V | |
at org.jclouds.ec2.compute.strategy.EC2PopulateDefaultLoginCredentialsForImageStrategy.<init>(EC2PopulateDefaultLoginCredentialsForImageStrategy.java:50) | |
at org.jclouds.ec2.compute.strategy.EC2PopulateDefaultLoginCredentialsForImageStrategy.class(EC2PopulateDefaultLoginCredentialsForImageStrategy.java:41) | |
while locating org.jclouds.ec2.compute.strategy.EC2PopulateDefaultLoginCredentialsForImageStrategy | |
while locating org.jclouds.compute.strategy.PopulateDefaultLoginCredentialsForImageStrategy | |
Caused by: java.lang.NoSuchMethodError: org.jclouds.compute.strategy.impl.ReturnCredentialsBoundToImage.<init>(Lorg/jclouds/domain/LoginCredentials;Ljava/util/Map;)V | |
at org.jclouds.ec2.compute.strategy.EC2PopulateDefaultLoginCredentialsForImageStrategy.<init>(EC2PopulateDefaultLoginCredentialsForImageStrategy.java:50) | |
at org.jclouds. |