GithubHelp home page GithubHelp logo

Comments (6)

schuemie avatar schuemie commented on June 9, 2024

Hi Chan!

Yes, that is intentional (the demographics typically do not pertain to a particular time window).

Would it be possible to modify CIReNN to work with the NULL values? (Maybe convert them to whatever CIReNN expects just prior to fitting?)

from featureextraction.

jreps avatar jreps commented on June 9, 2024

I can modify the way the data get mapped. I'm not sure how best to include non-temporal data into the CIReNN though? Should we have a non-temporal matrix (people by non-temporal features) in addition to the temporal tensor (people by time by temporal-features)?

from featureextraction.

jreps avatar jreps commented on June 9, 2024

Just spoke to Peter and he had a great idea. How about rather than putting NULL as the time id for demographics, having the demographics for each time id and for things like age, make that days and have that as the actual value on the time id setting. Does that make sense?

from featureextraction.

chandryou avatar chandryou commented on June 9, 2024

@jreps , That's just what I've thought! If so, I don't have nothing more.

from featureextraction.

schuemie avatar schuemie commented on June 9, 2024

@jreps , we can definitely do that, but it would mean a huge increase in size of the covariateData objects because demographics tend to not be sparse. For example, every subject will get an age for every period, and every subject will get a gender for every period.

If all temporal algorithms require this, then we should do it at construction of the features. If only a few do, we should probably write a function that expands the current compact representation into this new large format only for those algorithms that need it.

from featureextraction.

jreps avatar jreps commented on June 9, 2024

I was thinking, I can do it when I convert the data into the array, I'll update the plp code and test next week

from featureextraction.

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.