tensorflow / tensorflow/fairness-indicators
Need help with evaluating model!
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 358
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
Hi I am new to this, I am successfully able to train and evaluate my model, however now I am wondering how do I recompute the same metrics and performance gap using fairness indicators.
My model is something like this:
def model_func():
model = tf.keras.models.Sequential([
keras.layers.Dense(units = 14, input_dim=14, activation='relu'),
keras.layers.Dense(units = 28, activation='relu'),
keras.layers.Dense(units = 1, activation='sigmoid')
])
model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
return model
Then I train model and test it on test data-set.
# Geting my trained model
model = model_func()
# Training my model
train = model.fit(X_train, y_train, epochs=50, batch_size=10, verbose = 1)
Now how do I recompute the same metrics and performance gap using fairness indicators?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the model_func definition and the model.fit call shown in the issue. Determine which trained-model outputs, labels, and fairness indicators are required to reproduce the reported metrics and performance gap. Done means the evaluation inputs and expected fairness results are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100