Giter Site home page Giter Site logo

Comments (3)

dareneiri avatar dareneiri commented on August 23, 2024

What is mypbc_Train,mypbc_Valid? Hard to help without knowing the rest of your code.

from deepsurv.

jaredleekatzman avatar jaredleekatzman commented on August 23, 2024

I agree with @dareneiri , it's hard to debug without knowing the code that you used to generate this error.

My guess from the line ValueError: shapes (234,6) and (10,10) not aligned: 6 (dim 1) != 10 (dim 0) is there is a problem with how you are setting up the input to the network.
How many features (columns) are in your dataset x? And how big is your input network? (What is your hyper-parameter for x_in?

from deepsurv.

hanxiaozhen2017 avatar hanxiaozhen2017 commented on August 23, 2024

Many thanks @dareneiri @jaredleekatzman for looking at this! I think I figured out why I got this error by reading other posts and issues. The probable reason is I didn't normalize the data and do the hyper parameter searching first. As for normalize the data, how about one of my covariates is categorical? Does normalize mean only for continuous data?

from deepsurv.

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.