Coder Social home page Coder Social logo

Comments (9)

stheroux avatar stheroux commented on June 16, 2024

Circling back about this, please let me know if you have any questions! Thanks!

from asci.

stheroux avatar stheroux commented on June 16, 2024

When I run the demo data with only SBA taxa:
Error in predict.randomForest(rfmods$diatoms.cnt.spp.most.tol, c(XerMtn, :
number of variables in newdata does not match that in the training data
In addition: Warning messages:
1: In chkinp(taxa, stations) :
Only diatom or soft-bodied algae present at sites: 404M07357_2016-06-13_1, 801M16916_2016-05-25_1, 909M24937_2016-06-22_1
2: Column FinalID joining character vector and factor, coercing into character vector
3: Column FinalIDassigned joining factors with different levels, coercing to character vector
4: Column FinalIDassigned joining character vector and factor, coercing into character vector

from asci.

stheroux avatar stheroux commented on June 16, 2024

When I run the demo data with only diatom taxa :
Warning messages:
1: In chkinp(taxa, stations) :
Only diatom or soft-bodied algae present at sites: 404M07357_2016-06-13_1, 801M16916_2016-05-25_1, 909M24937_2016-06-22_1
2: Column FinalID joining character vector and factor, coercing into character vector
3: Column FinalIDassigned joining factors with different levels, coercing to character vector
4: Column FinalIDassigned joining character vector and factor, coercing into character vector
5: Column Metric joining character vector and factor, coercing into character vector
6: Column Metric joining character vector and factor, coercing into character vector
7: Column Metric joining character vector and factor, coercing into character vector

and the results is empty

from asci.

stheroux avatar stheroux commented on June 16, 2024

demo_algae_tax_diatoms_only.xlsx
demo_algae_tax_sba_only.xlsx

from asci.

r7butler avatar r7butler commented on June 16, 2024

Pushed up a proposed fix, forgot to referece the issue # in the commit message, but the master branch version should now accept algae data with only SBA or only diatoms

from asci.

stheroux avatar stheroux commented on June 16, 2024

Ran this again today --- looks like the calculator is (incorrectly) returning hybrid ASCI scores when only a single assemblage is calculated, but it is (correctly) returning NA for the missing assemblage ASCI. This will need to be changed so that if only a single assemblage is submitted, it returns NA for the the missing assemblage ASCI and also NA for the H_ASCI.

from asci.

stheroux avatar stheroux commented on June 16, 2024

Getting an error message when I run the demo data and the scores are not calculating :
"Error in startsWith(names(test), "H_") : non-character object(s)"

from asci.

r7butler avatar r7butler commented on June 16, 2024

Getting an error message when I run the demo data and the scores are not calculating :
"Error in startsWith(names(test), "H_") : non-character object(s)"

Did you install the latest version? I ran the demo data and got no errors right now

Screen Shot 2020-10-16 at 10 22 24 AM

from asci.

stheroux avatar stheroux commented on June 16, 2024

Thanks for the fix!

from asci.

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.