-
Notifications
You must be signed in to change notification settings - Fork 0
⚡ Bolt: 데이터프레임 서브셋 연산 벡터화 최적화 (2D -> 1D) #254
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
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
7939750
⚡ Bolt: R에서 2차원 데이터프레임 서브셋팅을 1차원 벡터 서브셋팅으로 변경하여 루프 성능 최적화
seonghobae 2cb0172
⚡ Bolt: R에서 2차원 데이터프레임 서브셋팅을 1차원 벡터 서브셋팅으로 변경하여 루프 성능 최적화
seonghobae 2ff3e32
⚡ Bolt: R에서 2차원 데이터프레임 서브셋팅을 1차원 벡터 서브셋팅으로 변경하여 루프 성능 최적화
seonghobae 4097b89
⚡ Bolt: R에서 2차원 데이터프레임 서브셋팅을 1차원 벡터 서브셋팅으로 변경하여 루프 성능 최적화
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: ContextualWisdomLab/aFIPC
Length of output: 208
🏁 Script executed:
Repository: ContextualWisdomLab/aFIPC
Length of output: 15915
🏁 Script executed:
Repository: ContextualWisdomLab/aFIPC
Length of output: 10562
🌐 Web query:
mirt mod2values GROUP MEAN_1 COV_11 parameter table documentation💡 Result:
The mod2values function in the mirt R package is used to convert an estimated model object into a design data frame [1][2][3]. This data frame represents the model parameters in a format suitable for use as starting values (or for modification and re-estimation) in subsequent mirt model fitting functions [1][4]. When analyzing the output of mod2values, entries labeled GROUP and GroupPars correspond to the latent distribution hyper-parameters [1][5]. Specifically: MEAN_1: Represents the mean of the latent factor (e.g., F1) [1][6]. In many default configurations, this is fixed to 0 [1][5]. COV_11: Represents the variance of the latent factor (e.g., F1) or, in the case of multiple factors, the elements of the covariance matrix [1][5][6]. For a single factor, this is typically fixed to 1 by default [1][6]. In the resulting data frame, these parameters are listed with columns for parameter names, current values, lower and upper bounds, and estimation status (logical indicating if the parameter is freely estimated) [1][7]. Users can manipulate these values and pass the modified data frame back to mirt fitting functions using the pars argument to specify custom starting values or constraints [1][2][4]. If you wish to adjust these group-level parameters directly during model specification (rather than post-estimation via mod2values), you can use the mirt.model syntax with the START keyword, for example: START = (GROUP, COV_11, 1.5) [8].
Citations:
🌐 Web query:
github philchalmers mirt mod2values source MEAN_1 GROUP💡 Result:
In the mirt package for R, the mod2values function converts an estimated model object into a data frame of starting values and parameter characteristics [1][2]. The identifiers MEAN_1 and GROUP are associated with the parameter design of multiple-group models [1][3]. Specifically: - GROUP: This identifies the group-level parameters in a multiple-group IRT analysis [1][4]. - MEAN_1: This refers to the mean of the latent factor (often the first factor, F1) for a specific group [1][5][3]. When you run mod2values on a multiple-group model, the resulting data frame includes these tags in its output to define constraints or starting values for group-specific parameters [1][3]. For example, a row in the data frame might indicate the mean of the first factor for a specific group with: Group = [group_name], Item = GROUP, Class = GroupPars, Name = MEAN_1 [1][6]. Users can utilize this output to modify, constrain, or anchor parameters for subsequent model estimations in functions such as multipleGroup by passing the modified data frame back into the pars argument [1][5][7]. Examples in the source code demonstrate using these identifiers in syntax like FREE[D2, D3] = (GROUP, MEAN_1) to specify free parameters or constraints across groups [5][8][7].
Citations:
🏁 Script executed:
Repository: ContextualWisdomLab/aFIPC
Length of output: 26221
forceNormalZeroOne에서GROUP/MEAN_1을 고정하세요.mirt::mod2values()는 그룹 평균을MEAN_1로 반환하므로 현재MEAN_11인덱스는 빈 행을 선택합니다.pars = NewScaleParms로 연결 모델을 생성하므로NewScaleParms$value[new_mean1_idx] <- 0도 설정해야 합니다.OldScaleParms에도 동일하게MEAN_1의est와value를 설정하고, 테스트에서 연결 모델의GROUP/MEAN_1값이 0이고 고정 상태인지 확인하세요.🤖 Prompt for AI Agents
Source: MCP tools