Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rulemining results get cropped #11

Open
larjohn opened this issue Aug 2, 2017 · 3 comments
Open

Rulemining results get cropped #11

larjohn opened this issue Aug 2, 2017 · 3 comments
Assignees

Comments

@larjohn
Copy link

larjohn commented Aug 2, 2017

Request:

BABBAGE_FACT_URI:http://ws307.math.auth.gr/rudolf/public/api/3/cubes/budget-thessaloniki-expenditure-2012__1ef74/facts?pagesize=30
consequentColumns[]:functionalClassification.prefLabel
antecedentColumns[]:economicClassification.prefLabel

I am getting this response:

{
  "result": {
    "rules": [
      {
        "a": 3,
        "b": 0,
        "c": 0,
        "d": 27,
        "id": 238593,
        "selected": "0",
        "task": 2539,
        "text": "economicclassification_preflabel(\u0391\u03c0\u03bf\u03b6\u03b7\u03bc\u03b9\u03ce\u03c3\u03b7 \u03c5\u03c0\u03b5\u03c1\u03c9\u03c1\u03b9\u03b1\u03ba\u03ae\u03c2 \u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03b5\u03be\u03b1\u03b9\u03c1\u03ad\u03c3\u03b9\u03bc\u03b5\u03c2 \u03b7\u03bc\u03ad\u03c1\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03bd\u03c5\u03ba\u03c4\u03b5\u03c1\u03b9\u03bd\u03ad\u03c2 \u03ce\u03c1\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03bb\u03bf\u03b9\u03c0\u03ad\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c4\u03b5\u03c2 \u03b1\u03bc\u03bf\u03b9\u03b2\u03ad\u03c2) \u2192 functionalclassification_preflabel(\u0391\u03a0\u039f\u0396\u0397\u039c\u0399\u03a9\u03a3\u0397 \u0393\u0399\u0391 \u0395\u039e\u0391\u0399\u03a1\u0395"
      },
      {
        "a": 4,
        "b": 0,
        "c": 0,
        "d": 26,
        "id": 238594,
        "selected": "0",
        "task": 2539,
        "text": "economicclassification_preflabel(\u039c\u03b9\u03c3\u03b8\u03ce\u03bc\u03b1\u03c4\u03b1 \u03bc\u03b7\u03c7\u03b1\u03bd\u03b7\u03bc\u03ac\u03c4\u03c9\u03bd - \u03a4\u03b5\u03c7\u03bd\u03b9\u03ba\u03ce\u03bd \u0395\u03b3\u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03ac\u03c3\u03b5\u03c9\u03bd) \u2192 functionalclassification_preflabel(\u039c\u0399\u03a3\u0398\u03a9\u039c\u0391\u03a4\u0391 \u039c\u0397\u03a7\u0391\u039d\u0397\u039c\u0391\u03a4\u03a9\u039d)"
      }
    ],
    "task": {
      "id": 2539,
      "importState": "done",
      "miner": 2699,
      "name": "Test Miner",
      "rulesCount": 2,
      "rulesOrder": "default",
      "state": "solved",
      "type": "cloud"
    }
  }
}

The text of the first rule is actually:

"economicclassification_preflabel(Αποζημιώση υπερωριακής εργασίας και για εξαιρέσιμες ημέρες και νυκτερινές ώρες και λοιπές πρόσθετες αμοιβές) → functionalclassification_preflabel(ΑΠΟΖΗΜΙΩΣΗ ΓΙΑ ΕΞΑΙΡΕ"

which is truncated (parenthesis not closing). It would be nice if we could get the whole text because it could be matched by a regular expression and be presented better.

@HimmelStein can you have a look?

@wk0206
Copy link

wk0206 commented Aug 6, 2017

@larjohn @HimmelStein I am working on this issue, but I can not repeat the result, seems something happened to the UEP server , that make the the mining job failed, I will talk with Stanislav and continue this issue. @stanislav , I can not at Stanislave's name , if you can please @HIM

create task response code:201
task_state:in_progress
task_state:failed
task failed executing
task failed
16:55:36 Job OK
16:55:36 Result is kept for 5000 seconds
16:55:36
16:55:36 *** Listening on default...

@larjohn
Copy link
Author

larjohn commented Aug 6, 2017

@vojir

@vojir
Copy link
Collaborator

vojir commented Aug 16, 2017

The maximum length of the text representation of a rule has been extended to 5000 characters. I think this should be enough for all usual association rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants