This file contains hidden or 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
octave-3.4.0:75> help eigs | |
`eigs' is a function from the file /Applications/Octave340/Octave.app/Contents/Resources/libexec/octave/3.4.0/oct/x86_64-apple-darwin10.7.3/eigs.oct | |
-- Loadable Function: D = eigs (A) | |
-- Loadable Function: D = eigs (A, K) | |
-- Loadable Function: D = eigs (A, K, SIGMA) | |
-- Loadable Function: D = eigs (A, K, SIGMA, OPTS) | |
-- Loadable Function: D = eigs (A, B) | |
-- Loadable Function: D = eigs (A, B, K) | |
-- Loadable Function: D = eigs (A, B, K, SIGMA) |
This file contains hidden or 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
~/bin/zemanta | |
['William Kamkwamba was born in Malawi, a country where magic ruled and modern science was mystery. It was also a land withered by drought and hunger, and a place where hope and opportunity were hard to find. But William had read about windmills in a book called Using Energy, and he dreamed of building one that would bring electricity and water to his village and change his life and the lives of those around him. His neighbors may have mocked him and called him misala-crazy-but William was determined to show them what a little grit and ingenuity could do.Enchanted by the workings of electricity as a boy, William had a goal to study science in Malawi\'s top boarding schools. But in 2002, his country was stricken with a famine that left his family\'s farm devastated and his parents destitute. Unable to pay the eighty-dollar-a-year tuition for his education, William was forced to drop out and help his family forage for food as thousands across the country starved and died.Yet William refused to l |
This file contains hidden or 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
g = new LinkedDataSailGraph(new MemoryStoreSailGraph()) | |
g.addNamespace('dct', 'http://purl.org/dc/terms/') | |
g.addNamespace('dbpedia','http://dbpedia.org/resource/') | |
g.addNamespace('dbpedia-owl', 'http://dbpedia.org/ontology/') | |
labels = [g.uri('dbpedia-owl:presenter'), g.uri('dbpedia-owl:creator'), g.uri('dbpedia-owl:influences'), g.uri('dbpedia-owl:starring'),g.uri('dbpedia-owl:writer'), g.uri('owl:sameAs') ] | |
rand = new Random() | |
m = [:] | |
will = g.v('http://dbpedia.org/resource/William_Kamkwamba') |
This file contains hidden or 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
TellyClub:example danbri$ hadoop fs -chmod g+w /tmp/hadoop | |
TellyClub:example danbri$ hadoop jar /Users/danbri/Documents/workspace/trunk/examples/target/mahout-examples-0.6-SNAPSHOT-job.jar help | |
Exception in thread "main" java.io.IOException: Mkdirs failed to create /tmp/hadoop/hadoop-unjar1808932242630131202/license | |
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:47) | |
at org.apache.hadoop.util.RunJar.main(RunJar.java:132) |
This file contains hidden or 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
java -jar eulergui-1.8-jar-with-dependencies.jar | |
Aug 2, 2011 11:13:19 AM n3_project.EditorManagement chooseEditor | |
INFO: EditorManagement.chooseEditor(): fallback to /Applications/TextEdit.app , as MacVim is not installed. | |
Aug 2, 2011 11:13:19 AM n3_project.EditorManagement chooseEditor | |
INFO: External Editor found: open -a /Applications/TextEdit.app | |
11:13:19 AM [AWT-EventQueue-0] [message] Log: When reporting bugs, please include the following information: | |
11:13:19 AM [AWT-EventQueue-0] [message] Log: java.version=1.6.0_26 | |
11:13:19 AM [AWT-EventQueue-0] [message] Log: java.vm.version=20.1-b02-384 | |
11:13:19 AM [AWT-EventQueue-0] [message] Log: java.runtime.version=1.6.0_26-b03-384-10M3425 | |
11:13:19 AM [AWT-EventQueue-0] [message] Log: java.vendor=Apple Inc. |
This file contains hidden or 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
11/08/02 13:50:00 INFO common.AbstractJob: Command line arguments: {--dictionary=mahout-work/reuters-out-seqdir-sparse-kmeans/dictionary.file-0, --dictionaryType=sequencefile, --endPhase=2147483647, --numWords=20, --seqFileDir=mahout-work/reuters-kmeans/clusters-10, --startPhase=0, --substring=100, --tempDir=temp} | |
:CL-14855{n=888 c=[0.3:0.007, 0.5:0.007, 0.57:0.010, 0.63:0.011, 0.96:0.011, 00:0.089, 00.03:0.020, 0 | |
Top Terms: | |
vs => 6.63465889831921 | |
net => 4.6183964408732745 | |
cts => 4.206256219127157 | |
shr => 4.051601936688295 | |
mln => 3.2682659596473247 | |
qtr => 2.930219244581085 | |
revs => 2.708648287498199 |
This file contains hidden or 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
# check required arguments were inputted | |
if radial is None: | |
print "No radial." | |
usage() | |
sys.exit | |
if numClusters < 0 or numPoints < 0 or minDistance < 0: | |
print "numClusters, numPoints and minDistance must all be 0 or more" | |
usage() | |
sys.exit | |
if maxValue < 1 or minClusterVariance < 0 or maxClusterVariance < 0: |
This file contains hidden or 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
mahout spectralkmeans --input a/ --output b/ --dimensions 1000 --clusters 10 --maxIter 10 | |
Running on hadoop, using HADOOP_HOME=/Users/danbri/working/hadoop/hadoop-0.20.2 | |
HADOOP_CONF_DIR=/Users/danbri/working/hadoop/hadoop-0.20.2/conf | |
MAHOUT-JOB: /Users/danbri/Documents/workspace/trunk/examples/target/mahout-examples-0.6-SNAPSHOT-job.jar | |
2011-08-05 10:26:28,833 WARN [org.apache.mahout.driver.MahoutDriver] - No spectralkmeans.props found on classpath, will use command-line arguments only | |
2011-08-05 10:26:29,188 INFO [org.apache.mahout.common.AbstractJob] - Command line arguments: {--clusters=10, --convergenceDelta=0.5, --dimensions=1000, --distanceMeasure=org.apache.mahout.common.distance.SquaredEuclideanDistanceMeasure, --endPhase=2147483647, --input=a/, --maxIter=10, --output=b/, --startPhase=0, --tempDir=temp} | |
2011-08-05 10:26:29,901 INFO [org.apache.mahout.common.HadoopUtil] - Deleting b/calculations/seqfile-136 |
This file contains hidden or 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
20:36 danbri: 20:12 nevali: errr, some font-related issues for me | |
20:36 danbri: 20:18 nevali: basically, every character is a capital A in a box except the 'Posted by...' and 'Categorized under...' lines | |
20:36 danbri: 20:18 nevali: oh, and the Log In/Get Account/etc bar at the top | |
21:50 danbri: 21:47 nevali: Safari on Lion | |
21:50 danbri: 21:49 nevali: restarting browser made no diff | |
21:50 danbri: 21:50 nevali: Chrome Canary is fine, fwiw | |
21:51 Ian: I have safari on 10.6 | |
21:51 Ian: but that's not lion | |
21:57 danbri: I asked 'latest safari'; yes, he says. |
This file contains hidden or 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
1160383 [Thread-2-EventThread] DEBUG org.goldenorb.JobManager - Active Jobs: [Job0000000000, Job0000000010, Job0000000009] | |
1160384 [Thread-2-EventThread] DEBUG org.goldenorb.JobManager - Active Jobs: [Job0000000000, Job0000000010, Job0000000009] | |
1160384 [Thread-2-EventThread] DEBUG org.goldenorb.JobManager - Active Jobs: [Job0000000000, Job0000000010, Job0000000009] | |
1160391 [Thread-2-EventThread] INFO org.goldenorb.JobManager - checking for available OrbTracker resources | |
1160391 [Thread-2-EventThread] INFO org.goldenorb.util.ResourceAllocator - ResourceAllocator: assignResources() | |
1160391 [Thread-2-EventThread] DEBUG org.goldenorb.util.ResourceAllocator - requestedPartitions: 1 | |
1160392 [Thread-2-EventThread] DEBUG org.goldenorb.util.ResourceAllocator - reservedPartitions: 0 | |
1160392 [Thread-2-EventThread] DEBUG org.goldenorb.util.ResourceAllocator - partitionsPerMachine: 4 | |
1160392 [Thread-2-EventThread] INFO org.goldenorb.JobManager - Starting Job | |
1160392 [Thread-2-EventThread] INFO org.goldenorb.JobManage |