Skip to content
Snippets Groups Projects
Select Git revision
  • 1f33b33e2f13f7f298a495af6fd3aed505e6119e
  • master default protected
  • gitkeep
  • dev protected
  • Issue/2583-treeBug
  • Hotfix/2504-formGen
  • Issue/2309-docs
  • Issue/2462-removeTraces
  • Hotfix/2459-EncodingPath
  • Hotfix/2452-linkedDeletion
  • Issue/1792-newMetadataStructure
  • Hotfix/2384-guestsAndLinked
  • v2.8.14-Hotfix2365
  • Hotfix/2365-targetClassWorks
  • Hotfix/2371-fixGitLabinRCV
  • Fix/xxxx-activateGitlab
  • Test/xxxx-enablingGitLab
  • Issue/2349-gitlabHttps
  • Issue/2287-guestRole
  • Hotfix/2296-selectedValuesNotReturned
  • Issue/2102-gitLabResTypeRCV
  • v2.11.5
  • v2.11.4
  • v2.11.3
  • v2.11.2
  • v2.11.1
  • v2.11.0
  • v2.10.3
  • v2.10.2
  • v2.10.1
  • v2.10.0
  • v2.9.4
  • v2.9.3
  • v2.9.2
  • v2.9.1
  • v2.9.0
  • v2.8.16
  • v2.8.15
  • v2.8.14
  • v2.8.13
  • v2.8.12
41 results

TreeController.cs

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    simpleExtractor.py 587 B
    import numpy as np;
    
    file = open("/home/garpel/evaluation/dbpediaVectors/inversePageRankSplit11.txt","w",encoding='ISO-8859-1')
    
    embeddings = open("/data/biasedRDF2VecRecursive/data.dws.informatik.uni-mannheim.de/rdf2vec/models/DBpedia/2016-04/Biased/InversePageRankSplit11/db2vec_sg_200_5_25_5.txt","r",encoding='ISO-8859-1')
    
    for line in embeddings:
        wordAndVector = line.split('\t', 1)
        word = wordAndVector[0]
        vector = wordAndVector[1]
        #embedding_vector = np.asarray(vector, dtype='float32')
        file.write(word[1:-1] + "\t" + vector)
    
    
    embeddings.close()
    file.close()