GithubHelp home page GithubHelp logo

hardianlawi / mtl-homoscedastic-uncertainty Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 12.0 29 KB

Multi Task Learning Implementation with Homoscedastic Uncertainty in Tensorflow

Jupyter Notebook 70.84% Python 29.16%
deep-learning estimator homoscedastic homoskedastic multi-task-learning neural-network tensorflow uncertainties uncertainty

mtl-homoscedastic-uncertainty's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Iโ€™m currently working full-time in a startup building a platform for productive discourse with purpose.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on any "high impact" projects such as open-source ML tools, kaggle, etc.
  • ๐Ÿ“š I'm interested in applied ML, ML ops/system, trading and investing.

mtl-homoscedastic-uncertainty's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mtl-homoscedastic-uncertainty's Issues

Example training file

Could you provide some example files for the training of the network? It seems like it's expecting a CSV file that will provide the full paths to the training images, correct? I would appreciate if you could send me also any other additional but needed file. Thank you for your time.

Shape of weight variables

Is the shape of the variable = []?
It is [1,] in the author's implementation and it works fine on another example with shape= [1,] but it does not work with shape=[]

Possible bug in binary classification logits in MTL estimator

In L118 it you update the the logit dictionary with logits[target_name] = logits[target_name]/uncertainties[target_name]

You later do this again when computing the task specific loss for binary classification
specific_loss = tf.nn.sigmoid_cross_entropy_with_logits( labels=labels[target_name], logits=logits[target_name]/uncertainties[target_name], )

binary cross entropy loss function

Hi, @hardianlawi !
I have referenced you code in my click-through rate prediction project.
However, one of my task could not converge and I have a question about the inconsistency regarding the binary cross entropy loss function and your implementation.
image
The loss function has added by the log of each task's theta, but you didn't include it in your implementation here:

specific_loss = tf.nn.sigmoid_cross_entropy_with_logits(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.