ARIMA or Holt-Winters, Let’s Find Out!

November 14, 2021 | Blogs on Adejumo R.S

“Hiding within those mounds of data is the knowledge that could change the life of a patient, or change the world.” — Atul Butte Introduction In this blog post, we are going to develop a time series ARIMA and Holt Winters model and compare model performance. The data to be used ...
[Read more...]

{attachment} v0.2.3: fill the Remotes field

November 14, 2021 | Sébastien Rochette

You can read the original post in its original format on Rtask website by ThinkR here: {attachment} v0.2.3: fill the Remotes field A new version of {attachment} is available on CRAN. Get dependencies installed from GitHub, GitLab, … and add the link to the ‘Remotes’ field in the DESCRIPTION file of ... [Read more...]

Tackling knitting errors in R Markdown

November 13, 2021 | R on Pablo Bernabeu

When knitting an R Markdown document after the first time, errors may sometimes appear. Three tips are recommended below. 1. Close PDF reader window When the document is knitted through the ‘Knit’ button, a PDF reader window opens to present the result. Closing this window can help resolve knitting errors. 2. Delete ... [Read more...]

How to Calculate Jaccard Similarity in R

November 13, 2021 | finnstats »

Jaccard Similarity in R, The Jaccard similarity index compares two sets of data to see how similar they are. It might be anywhere between 0 and 1. The greater the number, the closer the two sets of data are. Subscribe The Jaccard Index is a stat...
[Read more...]

How to Calculate Jaccard Similarity in R

November 13, 2021 | finnstats

Jaccard Similarity in R, The Jaccard similarity index compares two sets of data to see how similar they are. It might be anywhere between 0 and 1. The greater the number, the closer the... The post How to Calculate Jaccard Similarity in R appeared first on finnstats. [Read more...]

Trending & Hot on GitHub – Launching Episode 1

November 12, 2021 | Stephen McDaniel

Episode 1: QuestDB, NocoDB, ADOP and you-get In Episode 1, we take a look at: QuestDB, an ultra-fast time series database; NocoDB, a web-based smart spreadsheet for teams; ADOP creating virtual reality from a few images; and you-get, a tiny command line interface to quickly download video files, audio files and images ... [Read more...]

How to do Chow Test in R

November 12, 2021 | finnstats »

The Chow test is used to compare the coefficients of two distinct regression models on two separate datasets. This test is commonly used in econometrics using time series data to evaluate if the data has a structural break at some point. Correla...
[Read more...]

How to do Chow Test in R

November 12, 2021 | finnstats

The Chow test is used to compare the coefficients of two distinct regression models on two separate datasets. This test is commonly used in econometrics using time series data to evaluate if the data... The post How to do Chow Test in R appeared first on finnstats.
[Read more...]

kgrams v0.1.2 on CRAN

November 11, 2021 | vgherard

Summary Version v0.1.2 of my R package kgrams was just accepted by CRAN. This package provides tools for training and evaluating k-gram language models in R, supporting several probability smoothing techniques, perplexity computations, random text generation and more. Short demo
library(kgrams)
# Get k-gram frequency counts from Shakespeare's "Much Ado About Nothing"
freqs <- kgram_freqs(kgrams::much_ado, N = 4)

# Build modified Kneser-Ney 4-gram model, with discount parameters D1, D2, D3.
mkn <- language_model(freqs, smoother = "mkn", D1 = 0.25, D2 = 0.5, D3 = 0.75)

# Sample sentences from the language model at different temperatures
set.seed(840)
sample_sentences(model = mkn, n = 3, max_length = 10, t = 1)
[1] "i have studied eight or nine truly by your office [...] (truncated output)"
[2] "ere you go : <EOS>"                                                        
[3] "don pedro welcome signior : <EOS>"
sample_sentences(model = mkn, n = 3, max_length = 10, t = 0.1)
[1] "i will not be sworn but love may transform me [...] (truncated output)" 
[2] "i will not fail . <EOS>"                                                
[3] "i will go to benedick and counsel him to fight [...] (truncated output)"
sample_sentences(model = mkn, n = 3, max_length = 10, t = 10)
[1] "july cham's incite start ancientry effect torture tore pains endings [...] (truncated output)"   
[2] "lastly gallants happiness publish margaret what by spots commodity wake [...] (truncated output)"
[3] "born all's 'fool' nest praise hurt messina build afar dancing [...] (truncated output)"
NEWS Overall Software Improvements ... [Read more...]
1 43 44 45 46 47 1,905