Code Monkey home page Code Monkey logo

Comments (3)

randel avatar randel commented on July 19, 2024

The idea is to use cross-validation to estimate the correlation. get.CVlist() will split the data into nCV fold and return the list of CV samples. av.samp is the available sample index with observations, and this depends on your data, not only the number of patients/tissues. When the length of av.samp cannot evenly be divided by nCV. split() will throw a warning, but this only means that the sample split is not even, and only differs by one, which is unavoidable.

from mixrf.

yezhengli-Mr9 avatar yezhengli-Mr9 commented on July 19, 2024

The idea is to use cross-validation to estimate the correlation. get.CVlist() will split the data into nCV fold and return the list of CV samples. av.samp is the available sample index with observations, and this depends on your data, not only the number of patients/tissues. When the length of av.samp cannot evenly be divided by nCV. split() will throw a warning, but this only means that the sample split is not even, and only differs by one, which is unavoidable.

Hi Jiebiao,
Thanks for your fast and detailed response~

Is it easier to debug it on your end to make it more adaptive? I hope only differs by one do not have to throw error. I am indeed not an R expert and after dozens' of hours of failure (I should initially try cross-validation on baby dataset first), I might start debugging this issue next week.

Comparatively, for fitted result, I used to run even 12-24 hours and never confront any problem.

Best,
Yezheng

from mixrf.

randel avatar randel commented on July 19, 2024

My understanding is that this is just a warning, not an error. It would not affect the results other than the uneven splitting of available samples in cross-validation. If you do encounter an error, please share a reproducible code example.

from mixrf.

Related Issues (8)

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.