Git Product home page Git Product logo

Comments (5)

jindongwang avatar jindongwang commented on July 24, 2024

迭代没有变化也是正常的,你不妨换个参数试试?
原代码的出处是作者Mingsheng Long的主页,你可以去看看

from transferlearning.

mengchuangji avatar mengchuangji commented on July 24, 2024

我又试了一下,原文代码好像没有迭代部分,我的数据Acc=0.9284。而您的代码有一个迭代部分,通过T设置迭代次数,但每次迭代就像我贴的图片一样,没有变化,并且Acc=0.0701(比较离谱)。我对比了一下,在Construct MMD matrix这块,原码有训练一个model。而您的代码没有model,加入了一个N,是希望每次迭代变化吗?但是迭代没有变化,我觉得是代码可能有问题,导致迭代环节没有变化。

from transferlearning.

jindongwang avatar jindongwang commented on July 24, 2024

from transferlearning.

jindongwang avatar jindongwang commented on July 24, 2024

@kind-hearted-Tbag 我刚更新了一下ARTL方法的代码,如果你还在用的话,可以再看一下有没有问题。我是基于我目前正在用的代码做的,应该是可以跑的。

from transferlearning.

mengchuangji avatar mengchuangji commented on July 24, 2024

非常感谢! 现在好了,就45和51行有点小问题,n_neighbor改为p,mu是多余的。 现在正确率是0.9299(挺好),但每次迭代任然没有变化,是不是所有的数据都这样。这方面我会继续尝试的。

from transferlearning.

Related Issues (20)

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.