Feat/sequence scatter#3785
Merged
skie1997 merged 7 commits intoVisActor:feat/sequence-scatterfrom Apr 16, 2025
Merged
Conversation
- classification background for training process 1 - neighborhood relationship for training process 2
skie1997
reviewed
Mar 19, 2025
|
|
||
| let TRAINING_PROCESS_ID = 1; // 1 for code search process, 2 for image classification process | ||
|
|
||
| let original_data, training_info, task_type, scope; |
|
|
||
| /* | ||
| create data for sequence-scatter | ||
| */ |
Contributor
There was a problem hiding this comment.
数据处理的逻辑可以内置在packages/vchart-extension/src/charts/sequence-scatter/utils中,导出使用即可。
input:task_type -> output: chartData
skie1997
reviewed
Mar 19, 2025
| y0: pos[1], | ||
| x1: original_data[epoch].projection[neighbor][0], | ||
| y1: original_data[epoch].projection[neighbor][1], | ||
| type:0, |
Contributor
There was a problem hiding this comment.
type如果没有特殊意义,建议配置成字符串,'intra_similarity' / 'inter_similarity'之类的,语义化,比较好理解
| type:0, | ||
| color: label_color_dict[label_text[label_index[id]]] | ||
| }); | ||
| edgeId++; |
| Helper functions for preprocessing original data | ||
| */ | ||
| function transformEdges(specData, pointX, pointY) { | ||
| const endpoints: any[] = []; |
Contributor
There was a problem hiding this comment.
这个类型也是,有对应的定义IterationEdgesData[],尽量避免用any
| /* | ||
| Helper functions for preprocessing original data | ||
| */ | ||
| function transformEdges(specData, pointX, pointY) { |
This was referenced Apr 16, 2025
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🤔 This is a ...
🔗 Related issue link
close #3574
🔗 Related PR link
🐞 Bugserver case id
💡 Background and solution
Plot the data under different numbers of iterations.
Plot the relationships between samples.
Plot the clustering boundaries of different categories.
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
copilot:summary
🔍 Walkthrough
copilot:walkthrough