Skip to content

Commit

Permalink
Add output example.
Browse files Browse the repository at this point in the history
  • Loading branch information
lccasagrande committed Jan 7, 2020
1 parent d399936 commit 2b3df40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

This repository contains my implementation of [**Deep Knowledge Tracing**](https://github.com/chrispiech/DeepKnowledgeTracing) for the Udacity's Capstone Project.


## Overview

The objective is to predict the probabilities of a student correctly answering a problem not yet seen by him. To this end, we train the model using the [**ASSISTments Skill-builder data 2009-2010**](https://sites.google.com/site/assistmentsdata/home/assistment-2009-2010-data/skill-builder-data-2009-2010) public dataset.
Expand Down Expand Up @@ -56,6 +57,8 @@ Tensorflow 2.0 is installed along with the project. Check the instructions below
tensorboard --logdir=logs
```

![alt text](docs/output_example.png "Output example")

## Custom Metrics

To implement custom metrics, first decode the label and then calculate the metric. This step is necessary because we encode the skill id with the label to implement the custom loss.
Expand Down
Binary file added docs/output_example.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions examples/run_dkt.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def run(args):
hidden_units=args.hidden_units,
dropout_rate=args.dropout_rate)
model.compile(
optimizer='adagrad',
optimizer='adam',
metrics=[
metrics.BinaryAccuracy(),
metrics.AUC(),
Expand Down Expand Up @@ -90,12 +90,12 @@ def parse_args():
train_group = parser.add_argument_group(title="Training arguments.")
train_group.add_argument("--batch_size",
type=int,
default=16,
default=32,
help="number of elements to combine in a single batch.")

train_group.add_argument("--epochs",
type=int,
default=10,
default=50,
help="number of epochs to train.")

train_group.add_argument("--test_split",
Expand Down

1 comment on commit 2b3df40

@gontuo
Copy link

@gontuo gontuo commented on 2b3df40 Oct 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

evaluate() got an unexpected keyword argument 'x'

Please sign in to comment.