第三章 学习动力与触发模型
(Learning Motivation and Trigger Model)
3.1 学习动力模型定义
WSaiOS-ICAI 中:
学习动力不是心理模拟,也不是预测模型。
它是:
个体人工智能在目标执行、问题处理、兴趣探索和决策过程中,通过规则检测发现学习需求后产生的一种系统状态。
学习动力产生过程:
对象状态
↓
属性比较
↓
规则判断
↓
学习动力生成
↓
学习任务创建
3.2 学习动力来源模型
学习动力主要来自四类对象:
3.2.1 任务驱动动力
(Task Driven Motivation)
来源:
Task Object。
例如:
任务:
开发一个企业管理系统
任务要求:
需要:
MVC能力
数据库设计能力
权限设计能力
当前能力:
已有:
PHP基础
缺少:
MVC设计
触发:
Task Requirement
>
Current Ability
产生:
学习动力:
学习MVC架构
3.2.2 问题驱动动力
(Problem Driven Motivation)
来源:
Problem Object。
例如:
系统运行异常:
数据库查询速度慢
问题对象:
ProblemObject
{
problem,
condition,
unknown,
solution
}
逻辑:
IF
Problem Exists
AND
Solution Unknown
THEN
Create Learning Motivation
流程:
Problem
↓
Analysis
↓
Unknown Area
↓
Learning Trigger
↓
Problem Learning
3.2.3 兴趣驱动动力
(Interest Driven Motivation)
来源:
Interest Object。
例如:
个体:
已有网站开发能力。
但是:
对人工认知工程产生兴趣。
逻辑:
IF
Interest Level > Threshold
THEN
Create Exploration Learning
3.2.4 决策驱动动力
(Decision Driven Motivation)
来源:
Decision Object。
例如:
选择技术方案。
发现:
当前信息不足。
逻辑:
IF
Decision Information Missing
THEN
Create Learning Requirement
3.3 Learning Motivation Object 设计
学习动力对象:
用于描述:
为什么学习。
对象:
LearningMotivationObject
{
motivation_id,
source_type,
source_object,
target_ability,
reason,
priority,
status
}
属性说明
motivation_id
动力编号。
source_type
动力类型:
TASK
PROBLEM
INTEREST
DECISION
EDUCATION
source_object
来源对象。
例如:
Task ID。
target_ability
目标能力。
例如:
MVC开发能力
reason
学习原因。
例如:
任务要求能力不足
priority
学习优先级。
例如:
High
Medium
Low
status
状态:
Created
Analyzing
Triggered
Completed
3.4 学习触发规则模型
WSaiOS-ICAI 使用规则引擎。
不是概率预测。
规则1:能力缺口触发
IF
RequiredAbility > CurrentAbility
THEN
Create Motivation
规则2:兴趣触发
IF
InterestLevel > Threshold
THEN
Create Exploration Motivation
规则3:决策信息触发
IF
RequiredInformation > CurrentInformation
THEN
Create Learning Motivation
3.5 Learning Trigger Engine
学习触发引擎。
职责:
检测各种学习启动条件。
结构:
LearningTriggerEngine
属性:
abilityAnalyzer
interestAnalyzer
decisionAnalyzer
motivation
方法:
checkAbilityGap()
checkInterest()
checkDecision()
createMotivation()
3.6 PHP OOP 实现
LearningTriggerEngine.php
class LearningTriggerEngine
{
private $motivation;
public function checkAbilityGap($required,$current)
{
if($required > $current)
{
return $this->createMotivation(
“ABILITY_GAP”
);
}
return false;
}
public function createMotivation($type)
{
$this->motivation =
new LearningMotivation();
$this->motivation->setType($type);
return $this->motivation;
}
}
3.7 MVC 工程结构
wsaios-learning/
Controller/
LearningTriggerController.php
Model/
LearningMotivation.php
Task.php
Ability.php
Interest.php
Decision.php
Service/
LearningTriggerEngine.php
AbilityAnalyzer.php
InterestAnalyzer.php
DecisionAnalyzer.php
View/
Smarty/
motivation.tpl
3.8 Smarty 表现层
motivation.tpl
<h2>
学习动力分析
</h2>
<table>
<tr>
<td>
学习来源
</td>
<td>
{$source_type}
</td>
</tr>
<tr>
<td>
学习目标
</td>
<td>
{$target}
</td>
</tr>
<tr>
<td>
3.9 学习动力完整流程
Task Object
Problem Object
Interest Object
Decision Object
↓
Trigger Engine
↓
Learning Motivation Object
↓
Learning Task Object
↓
Active / Passive Learning
↓
Ability Update
3.10 本章总结
WSaiOS-ICAI 学习动力模型:
通过对象状态和规则判断模拟人的学习启动过程。
核心不是:
“预测个体想学习什么”。
而是:
发现不足
↓
判断原因
↓
产生学习动力
↓
启动学习行为
下一章:
第四章 主动学习系统工程
(Active Learning System Engineering)
重点:
- 能力缺口主动学习;
- 兴趣探索主动学习;
- 决策实时信息学习;
- 知识查找学习;
- 实时学习对象设计;
- ActiveLearningEngine;
- PHP OOP + MVC + Smarty 工程实现。