GithubHelp home page GithubHelp logo

Question: command line error about dl-learner HOT 5 OPEN

sunyi000 avatar sunyi000 commented on June 2, 2024
Question: command line error

from dl-learner.

Comments (5)

SimonBin avatar SimonBin commented on June 2, 2024

hi @sunyi000 can you tell us more about your command line and config file? what command line did you use? what is the content of the your config file? maybe you have not configured a reasoner?

from dl-learner.

sunyi000 avatar sunyi000 commented on June 2, 2024

thank you @SimonBin

It is my very first attempt to use dllearner. I just download it and used the 'cli' utility in dllearner-1.4.0's bin folder.

I used the father_oe_inv.conf as the template and just changing the values for my own ontology.

I noticed the reasoner in that file is {ks} but not sure what does it mean..basically I wanted to use pallet reasoner.

Thanks again for your help. Probably I will need more reading on dllearner :)

from dl-learner.

SimonBin avatar SimonBin commented on June 2, 2024

can you first verify, does the original father_oe_inv.conf work :-)

if it does, you have to understand better the config. we can better help you if you show your config. you can also look at some more conf files and/or refer the configOptions documentation

from dl-learner.

sunyi000 avatar sunyi000 commented on June 2, 2024

yes the original father_oe_inv.conf works..

I'm trying different config options and hopefully to find out what was wrong...

my conf file looks like below.. thanks

// declare some prefixes to use as abbreviations
prefixes = [ ("wo","file:///home/ubuntu/water-data/water-training/") ]

// knowledge source definition
ks.type = "OWL File"
ks.fileName = "water.ttl"

// reasoner
reasoner.type = "closed world reasoner"
reasoner.sources = { ks }

// learning problem
lp.type = "clp"
lp.classToDescribe = "wo:IndustryDischarge"
accuracyMethod.type = "fmeasure"

// refinement operator
op.type = "rho"
op.useInverse = true
op.useHasValueConstructor = true

// create learning algorithm to run
alg.type = "celoe"
alg.writeSearchTree = true
alg.replaceSearchTree = true
alg.searchTreeFile = "/tmp/celoe-water.txt"

from dl-learner.

SimonBin avatar SimonBin commented on June 2, 2024

the immediate cause for the error you get, is that the ssn and sosa ontologies define anonymous foaf:Agent instances, and pellet will error out with this error when encountering anonymous (blank node) individuals.

from dl-learner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.