W3C home > Mailing lists > Public > public-schemaorg@w3.org > April 2017

Re: Decision tree schema

From: Nicolas Torzec <torzecn@yahoo-inc.com>
Date: Wed, 26 Apr 2017 01:56:06 +0000 (UTC)
To: Timothy Holborn <timothy.holborn@gmail.com>, Krzysztof Tomasz Zembrowski <krzysztof@zembrowski.com>, <public-schemaorg@w3.org>
Message-ID: <1325005085.4694469.1493171766163@mail.yahoo.com>
Krzysztof,What is your goal?
RIF was designed to encode and exchange (business) rules in a formal way using (extensions of) first-order logic. PMML was designed to serialize and exchange predictive models such as decision trees and other (statistical) ML models. It is supported by libraries such as R, Scikit-Learn, or Spark/mllib.
-N.
On Tuesday, April 25, 2017, 6:27:31 PM PDT, Timothy Holborn <timothy.holborn@gmail.com> wrote:

On Wed, 26 Apr 2017 at 11:10 Nicolas Torzec <torzecn@yahoo-inc.com> wrote:

Krzysztof,
The closest thing to a standard schema for predictive models such as decision trees is PMML. PMML is an XML-based interchange format for predictive models such as decision tree, linear regression, etc. 
See https://en.wikipedia.org/wiki/Predictive_Model_Markup_Language.
Cheers.N.


On Thursday, April 20, 2017, 12:28:40 AM PDT, Krzysztof Tomasz Zembrowski <krzysztof@zembrowski.com> wrote:Dear all,

does a schema for a decision tree structure exist?

I'm wondering whether it's reasonable to output the whole decision tree (with all questions, decision possibilities and answers [the whole tree with all branches]) in the ld+json format.

Moreover, does it makes sense to nest it, like the following example:

Question
__ Choice
____ Answer
__ Choice
____ Question
______ Choice
________ Answer
______ Choice
________ Answer
cf. https://jsfiddle.net/zembrowski/q50L7t6f/

or

make it completely flat (with or without dependencies), like this example:

Question1
Question2
Choice1_1
Choice1_2
Choice2_1
Choice2_2
Answer1
Answer2
Answer3
and add a parameter to each element with the correlation.
cf. https://jsfiddle.net/zembrowski/hevu3jof/

Would be more than happy to read your thoughts on this topic.


See RIF / OWL: https://www.w3.org/TR/rif-rdf-owl/   


Thank you in advance. 

Best regards,
Krzysztof
Received on Wednesday, 26 April 2017 01:56:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:35 UTC