matloff / matloff/qeML

qeFT returning rounded errors difficulting selection of the best one.

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
46
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Hi, consider:
```
data( "oliveoils" )
qeFT( data = oliveoils, "Area", pars = list( k = c( 5, 10, 15, 25 ) ), qeftn = "qeKNN", nXval = 5, nTst = 100 )
```

![Image](https://github.com/user-attachments/assets/3790a53f-6447-455f-87a6-447375354f0b)

When accuracy values are below 1, as in the example above, they all round to 1. I believe this is incorrect since I ran ```
replicMeans(nrep = 5, "qeKNN(oliveoils, 'Area', k = 5)$testAcc")```, for each different k tried before and it produced different values between them.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the oliveoils qeFT example with qeKNN and compare its displayed accuracy values with replicMeans results for each k. Trace the qeFT output and formatting path; done when distinct accuracy values below 1 remain distinguishable instead of all displaying as 1.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.