Giter VIP home page Giter VIP logo

clustext's People

Contributors

trinker avatar

Stargazers

 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

clustext's Issues

Add a way to manually build a data_store

With the focus of text analysis on building a matrix of the right features many features will come from things other than the words themselves. Many packages in my framework will be able to be converted to dtm. It'd be prudent to allow them to be joined together and make the dtm in the data_store

Add iterative argument/function

Add an n loop iterative partition that splits of the large mass into k clusters. There'd be an argument to pass n length vector of k splits. Not sure if this is a separate function after xxx_cluster . This seems to be the most sense.

ALTERNATIVE...

Investigate dynamic tree cut: https://labs.genetics.ucla.edu/horvath/CoexpressionNetwork/WORKSHOP/2013/LectureHierarchicalClusteringLangfelder1.pdf

https://labs.genetics.ucla.edu/horvath/CoexpressionNetwork/BranchCutting/Supplement.pdf

https://cran.r-project.org/web/packages/dynamicTreeCut/

https://labs.genetics.ucla.edu/horvath/CoexpressionNetwork/BranchCutting/

This might require a tree object and may not be usable by all clustering algorithms.

Add example

## Answer to http://stackoverflow.com/q/22936951/1000343
dat <- data.frame(
    person = LETTERS[1:3],
    text = c("Best way to waste money", "Amazing stuff. lets you stay connected all the time", "Instrument to waste money and time"),
    stringsAsFactors = FALSE
)


x <- with(
    dat,
    data_store(text, person)
)


hierarchical_cluster(x) %>%
    plot(h=.9, lwd=2)

hierarchical_cluster(x) %>%
    assign_cluster(h=.9)


hierarchical_cluster(x) %>%
    assign_cluster(h=.9) %>%
    get_terms()

hierarchical_cluster(x) %>%
    assign_cluster(h=.9) %>%
    get_documents()

Ensemble method

Run all or multiple of the algorithms and then using a collocation of element assignment groups elements together. This may allow for multiple groups assignments.

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.