Coder Social home page Coder Social logo

Comments (4)

monk1337 avatar monk1337 commented on June 20, 2024

I had to set solver = 'lbfgs' in clf_sklearn = linear_model.LogisticRegression()

from h2o4gpu.

monk1337 avatar monk1337 commented on June 20, 2024

I checked with get_gpu_info_c it's not detecting gpu, So while setting solver = 'lbfgs' it's selecting backend='sklearn' but when I am setting backend='h2o4gpu', I am getting same error :

AttributeError: 'NoneType' object has no attribute 'make_ptr_float'

from h2o4gpu.

trebesh avatar trebesh commented on June 20, 2024

I am having the same issue but at line 380 in OP error message with the Lasso example on github giving:

Getting data
Reading Data with Pandas
(999, 9733)
Original m=999 n=9732
Size of Train rows=800 & valid rows=199
Size of Train cols=9732 valid cols=9732
Size of Train cols=9733 & valid cols=9733 after adding intercept column
Creating model
Training model
Traceback (most recent call last):
File "gpu_elastic_net_h2o.py", line 55, in
model.fit(train_x, train_y)
File "../h2o4gpu/solvers/elastic_net.py", line 302, in fit
source_dev=source_dev)
File "../h2o4gpu/solvers/utils.py", line 274, in prepare_and_upload_data
valid_y_np, weight_np, source_dev)
File "../h2o4gpu/solvers/utils.py", line 380, in upload_data
c_upload_data = self.lib.make_ptr_float
AttributeError: 'NoneType' object has no attribute 'make_ptr_float'

from h2o4gpu.

GeorgePearse avatar GeorgePearse commented on June 20, 2024

Hitting the same problem. Anyone had any luck with this?

from h2o4gpu.

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.