vijaykeswani / Fair-Max-Entropy-Distributions

This repository contains code and examples to construct unbiased max-entropy distributions from biased datasets.
8 stars 1 forks source link

Theano Code Ported to PyTorch #1

Open mohitsharma29 opened 2 years ago

mohitsharma29 commented 2 years ago

Hey

Do you have the implementation of this technique in PyTorch or Numpy? It will be easy for us to use this library with other things if we can port this to PyTorch.

vijaykeswani commented 2 years ago

We don't have an implementation in PyTorch. The current implementation uses Theano to effectively optimize the mathematical operations involved in max-entropy distribution computation and should be feasible with Tensorflow frameworks if that would be useful for your applications.