Skip to content

Boston Housing re-uses attribute names in different type fields #19

@hayesall

Description

@hayesall

It would probably be good to revisit this dataset:

  • Create standard cross validation folds
  • Make datasets with relational_datasets.from_numpy

Currently reusing attribute names in different type fields, e.g.:

age(id100,1).
age(id101,2).
age(id10,2).
age(id102,4).
age(id103,2).
% ...
b(id97,2).
b(id98,1).
b(id99,2).
chas(id1,0).
chas(id10,0).
chas(id100,0).

Causes issues like the following:

%   *** WARNING ***  Constant '1' is already marked as being of types = [varsrim];
%          type = 'varindus' may be added if not already known.
%  PredicateName = 'indus', from 'indus(id100, 1)',
%  which has types = [signature = [const, const], types = [+id, #varindus]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '0' is already marked as being of types = [varzn];
%          type = 'varchas' may be added if not already known.
%  PredicateName = 'chas', from 'chas(id1, 0)',
%  which has types = [signature = [const, const], types = [+id, #varchas]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '2' is already marked as being of types = [varsrim, varindus];
%          type = 'varnox' may be added if not already known.
%  PredicateName = 'nox', from 'nox(id100, 2)',
%  which has types = [signature = [const, const], types = [+id, #varnox]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '3' is already marked as being of types = [varsrim, varindus, varnox];
%          type = 'varrm' may be added if not already known.
%  PredicateName = 'rm', from 'rm(id100, 3)',
%  which has types = [signature = [const, const], types = [+id, #varrm]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '1' is already marked as being of types = [varsrim, varindus, varchas, varnox, varrm];
%          type = 'varage' may be added if not already known.
%  PredicateName = 'age', from 'age(id100, 1)',
%  which has types = [signature = [const, const], types = [+id, #varage]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '4' is already marked as being of types = [varsrim, varindus, varnox, varrm, varage];
%          type = 'vardis' may be added if not already known.
%  PredicateName = 'dis', from 'dis(id100, 4)',
%  which has types = [signature = [const, const], types = [+id, #vardis]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '2' is already marked as being of types = [varsrim, varindus, varnox, varrm, varage, vardis];
%          type = 'varrad' may be added if not already known.
%  PredicateName = 'rad', from 'rad(id100, 2)',
%  which has types = [signature = [const, const], types = [+id, #varrad]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '2' is already marked as being of types = [varsrim, varindus, varnox, varrm, varage, vardis, varrad];
%          type = 'varptrat' may be added if not already known.
%  PredicateName = 'ptratio', from 'ptratio(id100, 2)',
%  which has types = [signature = [const, const], types = [+id, #varptrat]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '1' is already marked as being of types = [varsrim, varindus, varchas, varnox, varrm, varage, vardis, varrad, varptrat];
%          type = 'varb' may be added if not already known.
%  PredicateName = 'b', from 'b(id100, 1)',
%  which has types = [signature = [const, const], types = [+id, #varb]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

%   *** WARNING ***  Constant '1' is already marked as being of types = [varsrim, varindus, varchas, varnox, varrm, varage, vardis, varrad, varptrat, varb];
%          type = 'varlstat' may be added if not already known.
%  PredicateName = 'lstat', from 'lstat(id100, 1)',
%  which has types = [signature = [const, const], types = [+id, #varlstat]]
%   Other warnings with this predicate and this new type are not reported in order to keep this printout small.  Use dontComplainAboutMultipleTypes to override.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions