CEAC max.col returns random indices

オープン
#167 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@feralaes がすでに取り組んでいます。

2026年11月13日 から。

  • #235 @feralaes による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
r
領域
analytics

調査の方向性

The bug is in the CEAC calculation, where max.col is applied to a matrix of values and returns indices that look random even when there is no tie. Start by finding the CEAC code that calls max.col and reproduce the problem with a matrix that has a clear maximum in each row. Done means the indices match a row-wise which.max. Linked pull request #235 is already open against this issue, so review it before starting new work.

索引モデルが issue の本文から書いたものです。

説明

bug

When calculating the CEAC, the function max.col returns a random index. Although this is to be expected when there are ties, however, for our use case, on inspection, there is a true maximum (no tie), and yet random indices are returned. If max.col is replaced with which.max within an apply function on the matrix, the correct indices are returned.

主要言語
R
スター
43
フォーク
14
平均マージ
4時間 44分
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DARTH-git/dampack のほかの issue

DARTH-git/dampack の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。