Editing
AI in Education
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Deep Knowledge Tracing for student modeling:''' <syntaxhighlight lang="python"> import torch import torch.nn as nn class DKT(nn.Module): """Deep Knowledge Tracing: model student knowledge from exercise sequences.""" def __init__(self, n_problems, hidden_size=128, n_layers=2, dropout=0.2): super().__init__() # Input: one-hot encoding of (problem_id, correct/incorrect) β 2*n_problems self.input_size = 2 * n_problems self.n_problems = n_problems self.lstm = nn.LSTM(self.input_size, hidden_size, n_layers, batch_first=True, dropout=dropout) self.output = nn.Linear(hidden_size, n_problems) def forward(self, input_seqs): """ input_seqs: (batch, seq_len) of encoded (problem, response) pairs Returns: (batch, seq_len, n_problems) predicted correctness probabilities """ # One-hot encode: problem p answered correctly β index p; incorrectly β p + n_problems x = torch.zeros(input_seqs.shape[0], input_seqs.shape[1], self.input_size) x.scatter_(2, input_seqs.unsqueeze(-1), 1.0) h, _ = self.lstm(x) return torch.sigmoid(self.output(h)) # P(correct) for each concept # Training: predict next response from history of previous responses # Loss: binary cross-entropy on next problem's correctness prediction # Application: given a student's history, predict P(mastery) for each concept # β select the problem where P(correct) β 0.7 (optimal challenge) </syntaxhighlight> ; AI in education application map : '''Personalized practice''' β DKT + spaced repetition β Khan Academy, Duolingo, IXL : '''Essay feedback''' β BERT/GPT fine-tuned on rubric-scored essays β Turnitin, Grammarly : '''Dropout early warning''' β Logistic regression/GBM on LMS engagement data : '''Question generation''' β LLM fine-tuned on domain content β automatic quiz creation : '''AI tutoring''' β LLM with Socratic prompting β Khanmigo, Synthesis Tutor : '''Plagiarism detection''' β Perplexity-based AI detection + semantic similarity </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information