Coder Social home page Coder Social logo

exploratory_func's People

Contributors

hideaki avatar hidekoji avatar htamakos avatar ironistm avatar kei51e avatar yosuke-yasuda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

exploratory_func's Issues

new data prediction to xgboost_binary should not require a response column

Issue Description

If new data to predict doesn't have the response column used to build xgboost_binary, this error appears

model frame and formula mismatch in model.matrix()

Steps to Reproduce

Provide detail steps to reproduce the issue, including which data you use

Expected Behavior

What should happen

Actual Behavior

What really happened

Error Message

Provide error message or screenshot if available

Other Comments

Can't find function do_cosine_sim.kv()

I want to run the do_cosine_sim.kv() function for comparing two corpuses, but when loading the exploratory package I run in to an error that R can't find the function.

> library(exploratory)
Package attached: exploratory v0.3.16 (same as the most recent version available through GitHub).

If you run into errors, please try restarting R.

> do_cosine_sim.kv()
Error in do_cosine_sim.kv() : could not find function "do_cosine_sim.kv"

All help much appreciated.

devtools::check() fails because of insufficient dependency information

Issue Description

devtools::check() fails because of insufficient dependency information

I see this error

R CMD check results
1 error  | 0 warnings | 0 notes
checking package dependencies ... ERROR
Package suggested but not available for checking: ‘gtrendsR’

Namespace dependencies not required:
  ‘data.table’ ‘dtw’ ‘foreach’ ‘ggplot2’ ‘iterators’ ‘scales’ ‘zoo’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Warning message:
do_market_impact_.Rd is missing name/title. Skipping 

install from github also fails because of this

Steps to Reproduce

Provide detail steps to reproduce the issue, including which data you use

Expected Behavior

What should happen

Actual Behavior

What really happened

Error Message

Provide error message or screenshot if available

Other Comments

Strange behaviour of `do_tfidf`

I am trying to reproduce the example from the manual

> res <- data.frame("text" = c("this is what it is", "which is better")) %>%
+   do_tokenize(text) %>%
+   do_tfidf(document_id, token)

which is expected to result in:

document_id token count_per_doc count_of_docs tfidf
1 is 2 2 0.0000000
1 it 1 1 0.5773503
1 this 1 1 0.5773503
1 what 1 1 0.5773503
2 better 1 1 0.7071068
2 is 1 2 0.0000000
2 which 1 1 0.7071068

However, I obtain

document_id token count_per_doc count_of_docs tfidf
1 is 2 2 0.0000000
1 it 1 1 0.0000000
1 this 1 1 0.7071068
1 what 1 1 0.7071068
2 better 1 1 0.7071068
2 is 1 2 0.0000000
2 which 1 1 0.7071068

Another strange result is the following:

> data.frame("text" = c("good it was", "is nice she", "good is she")) %>%
+   do_tokenize(text) %>%
+   do_tfidf(document_id,token)
document_id token count_per_doc count_of_docs tfidf
1 good 1 2 0.327
1 it 1 1 0.327
1 was 1 1 0.887
2 is 1 2 0.327
2 nice 1 1 0.327
2 she 1 2 0.887
3 good 1 2 0.327
3 is 1 2 0.327
3 she 1 2 0.887

where I would expect to find identical values for "it" and "was"...

do_cosine_sim.kv compatibility with [email protected]

do_cosine_sim.kv doesn’t work under [email protected]. Running the function with a dataset that should work fine (a bit tricky to share, but can if need be—just creating the issue to note this is a problem) generates the following:

Error: `unnest_()` is deprecated as of tidyr 1.0.0.
Please use `unnest()` instead. 

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.