Skip to content

[7.x] [ML] DF Analytics: add results field to wizard and show regression stats (#70893)#71161

Merged
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-70893
Jul 9, 2020
Merged

[7.x] [ML] DF Analytics: add results field to wizard and show regression stats (#70893)#71161
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-70893

Conversation

@alvarezmelissa87
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…ats (elastic#70893)

* add results_field input in form. handle in cloning and editor

* update regression evaluate metrics

* add additional reg evaluation stats to expanded row and result panel

* update jest test

* resultsField: check for only spaces string in editor and form

* update getValuesFromResult to be less repetitive

* update types

* fix type name typo
@alvarezmelissa87 alvarezmelissa87 added backport This PR is a backport of another PR :ml Feature:Data Frame Analytics ML data frame analytics features labels Jul 8, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Reporting API Integration Tests.x-pack/test/reporting_api_integration/reporting/csv_saved_search·ts.Reporting APIs Generation from Saved Search ID Merge user state into the query for query

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: Reporting APIs
[00:00:00]           └-> "before all" hook
[00:01:18]           └-: Generation from Saved Search ID
[00:01:18]             └-> "before all" hook
[00:01:58]             └-: Merge user state into the query
[00:01:58]               └-> "before all" hook
[00:01:58]               └-> for query
[00:01:58]                 └-> "before each" hook: global before each
[00:01:58]                 │ info [reporting/scripted_small] Loading "mappings.json"
[00:01:58]                 │ info [reporting/scripted_small] Loading "data.json.gz"
[00:01:58]                 └- ✖ fail: "Reporting APIs Generation from Saved Search ID Merge user state into the query for query"
[00:01:58]                 │

Stack Trace

{ Error: [invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="MoPPGD-xTNqnX-jnuPv71A" & index=".kibana" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4929:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="MoPPGD-xTNqnX-jnuPv71A" & index=".kibana" }',
  path: '/.kibana_1',
  query: { include_type_name: false },
  body:
   { error:
      { root_cause: [Array],
        type: 'invalid_alias_name_exception',
        reason:
         'Invalid alias name [.kibana], an index exists with the same name as the alias',
        index_uuid: 'MoPPGD-xTNqnX-jnuPv71A',
        index: '.kibana' },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"MoPPGD-xTNqnX-jnuPv71A","index":".kibana"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"MoPPGD-xTNqnX-jnuPv71A","index":".kibana"},"status":400}',
  toString: [Function],
  toJSON: [Function] }

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@alvarezmelissa87 alvarezmelissa87 merged commit df74fdc into elastic:7.x Jul 9, 2020
@alvarezmelissa87 alvarezmelissa87 deleted the backport/7.x/pr-70893 branch July 9, 2020 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Feature:Data Frame Analytics ML data frame analytics features :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants