Git Product home page Git Product logo

Comments (7)

xingyuezhiji avatar xingyuezhiji commented on May 23, 2024

代码如下:

x,y = load_svmlight_file("./thundergbm/dataset/test_dataset.txt")
clf = TGBMModel()
clf.fit(x,y)
y_predict=clf.predict(x,y)

print(y_predict)

from thundergbm.

zeyiwen avatar zeyiwen commented on May 23, 2024

Thanks for the feedback! We have fixed the problem. Please pull the latest code, recompile it, and run it again.

from thundergbm.

xingyuezhiji avatar xingyuezhiji commented on May 23, 2024

Thanks for the feedback! We have fixed the problem. Please pull the latest code, recompile it, and run it again.

新的代码预测结果全是0,感觉也不对啊

print(y_predict,y_predict.sum())

and the result return [0. 0. 0. ... 0. 0. 0.] 0.0

from thundergbm.

zeyiwen avatar zeyiwen commented on May 23, 2024

Would you share your machine environment (e.g., CUDA version, GPU, OS, etc.)? And dataset if you are not using test_dataset.txt. This will help us reproduce the problem.

Also, please use English, so that other users in the community and contributors may help fix this issue.

from thundergbm.

xingyuezhiji avatar xingyuezhiji commented on May 23, 2024

CUDA Version 9.1.85, OS:ubuntu16.04, GPU1080Ti, and dataset is test_dataset.txt.

from thundergbm.

xingyuezhiji avatar xingyuezhiji commented on May 23, 2024

CUDA Version 9.1.85, OS:ubuntu16.04, GPU1080Ti, and dataset is test_dataset.txt.

I have solved it, thanks a lot!

from thundergbm.

zeyiwen avatar zeyiwen commented on May 23, 2024

Sounds cool. If there is anything needed to be improved, please let us know or even better, contribute to the project :)

from thundergbm.

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.