matloff / matloff/qeML

qe functions do not return same structure of prediction objects

Open
#3 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
46
Forks
15
PR merge metrics
No merged PRs in 30d

Description

When running a problem, in qeML v1.1, on many qe functions for comparison, the prediction objects do not have the same structure. This makes comparison more difficult.

Example with factor target and numeric x-vars:

- qeAdaBoost will return a prediction object with the structure containing predClasses and probs incl class.
- qeKNN will return predClasses and probs excl class.
- qeDT will return only predClasses
- qeKNNna will return only a numeric (probs but unnamed)

Would it be possible to align the output for easy comparison, eg to a named list like for qeAdaBoost? This would also make it easier to expand qeCompare.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementations of qeAdaBoost, qeKNN, qeDT, and qeKNNna and compare the prediction objects they return for factor targets with numeric x-variables. Define the shared structure from the qeAdaBoost example, then inspect qeCompare for related assumptions. Done means the functions expose consistently named prediction components suitable for direct comparison.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.