Giter Site home page Giter Site logo

grownet's People

Contributors

khoadoan avatar sbadirli avatar xuanqing94 avatar

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  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  avatar  avatar  avatar

grownet's Issues

Cerrective step described on paper

Hi Sarkhan,

I have a question about the implementation w.r.t what the paper describes. The paper says this on Section 6.2 (page 7)

Among all components of the model, the corrective step is presumably the most vital one. In this step, the parameters of all weak learners, that are added to the model, are updated by training the whole model on the original inputs without the penultimate layer features

If I understood correctly, the model shouldn't use the penultimate layer, that is, no concatenation should take place. But during the corrective step in the regression experiment, for instance, forward_grad is called, which uses the penultimate layer's output.

def forward_grad(self, x):
    if len(self.models) == 0:
        return None, self.c0
    # at least one model
    middle_feat_cum = None
    prediction = None
    for m in self.models:
        if middle_feat_cum is None:
            middle_feat_cum, prediction = m(x, middle_feat_cum)
        else:
            middle_feat_cum, pred = m(x, middle_feat_cum)
            prediction += pred
    return middle_feat_cum, self.c0 + self.boost_rate * prediction

It this correct? If it is, could you kindly point out what I am missing?

Cheers,
Darley

Regarding NDCG Gain used in the results for ranking

Hi,

I was wondering what gains of NDCG you'd used for ranking results in your Arxiv version of the paper. Did you use identity gain, or exp2 gain? Wouldn't both have different effects on performance, and finally test results?

Boosting Rate in Regression

Hi,
I was wondering why in line 148 of GrowNet/Regression/main_reg_cv.py
loss = loss_f1(net_ensemble.boost_rate * out, grad_direction) # T
the boosting rate needed to be multiplied with the outputs of the current model? With traditional boosting ideas it seems like training should be done directly on residuals. without the boosting rate. Is there something here that I'm missing? Thanks!

About the first and second order gradient calculations in classification example

Hi there,

In the implementation of classification example in Classification/main_cls_cv.py, the first and second order gradient calculations are calculated with the logic below

h = 1/((1+torch.exp(y*out))*(1+torch.exp(-y*out))), grad_direction = y * (1.0 + torch.exp(-y * out))

However, in the paper, the formula to calculate those gradients are $h_i = \frac{ 4 y^2_i e^{2y_i \hat{y}^{(t-1)}_i}}{\left (1+e^{2y_i \hat{y}^{(t-1)}_i} \right )^2}$, and $\tilde{y}_i = \frac{ y_i (1 + e^{-2y_i \hat{y}^{(t-1)}_i}) } {2} $.

Is there anything I may miss? Thanks.

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.