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.
【ML backend】振动样本多标签预测
概述
基于toklabel框架,为工业互联网PHM(预测性维护)公司提供振动数据AI自动化打标解决方案。系统实现了多标签标注功能,包括转速段标注、故障类型检测、质量分数评估和置信度处理。
核心功能
1. 多标签标注
2. 振动特征提取
3. 智能预测
系统架构
快速开始
1. 环境准备
2. 数据库初始化
3. 启动ML后端
4. 创建标注项目
5. 系统启动
# 一键启动整个系统 python scripts/start_vibration_system.py配置说明
项目配置文件 (vibration-config.yaml)
核心组件
1. 振动预测器 (VibrationPredictor)
主要功能:
2. 数据管理器 (VibrationDataManager)
主要功能:
3. 标注分析器 (VibrationAnnotationAnalyzer)
主要功能:
API接口
ML后端API
响应格式
{ "predictions": [ { "result": [ { "from_name": "speed_level", "to_name": "ts", "type": "timeserieslabels", "value": { "start": 0.0, "end": 30.0, "timeserieslabels": ["中转速"] }, "score": 0.85 }, { "from_name": "quality_score", "to_name": "ts", "type": "number", "value": { "number": 85.6 }, "score": 0.8 } ], "score": 0.825 } ] }部署指南
Docker部署
Kubernetes部署
开发指南
添加新的预测特征
扩展故障类型