November 2021

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...]

How to perform Rolling Correlation in R

November 11, 2021 | finnstats »

Rolling Correlation in R, Correlations between two-time series on a rolling window are known as rolling correlations. Correlations in time series are extremely valuable since they may be used to model and forecast if a relationship exists. But ther...
[Read more...]

How to perform Rolling Correlation in R

November 11, 2021 | finnstats

Rolling Correlation in R, Correlations between two-time series on a rolling window are known as rolling correlations. Correlations in time series are extremely valuable since they may be used to model and forecast if... The post How to perform Rolling Correlation in R appeared first on finnstats. [Read more...]

Mapping the confusion matrix

November 10, 2021 | A.M. Barbosa

The ‘confusionLabel‘ function below labels the predictions of a binary response model according to their confusion matrix categories, i.e., it classifies each prediction into a false positive, false negative, true positive or true negative, given a user-defined threshold value: Usage … Continue reading →
[Read more...]

{binance} P2P Trades

November 9, 2021 | R - datawookie

Peer-to-Peer (P2P) cryptocurrency trading refers to trades that occur directly between two parties without a central authority (like an exchange) being involved. It’s possible to execute P2P trades using a Binance account. You’d start by browsing the listings of adverts. Suppose, for example, that you wanted ...
[Read more...]

Xing glass bridges [or not]

November 9, 2021 | xi'an

A riddle from the Riddler surfing on Squid Games. Evaluating the number of survivors (out of 16 players) able to X the glass bridge, when said bridge is made of 18 consecutive steps, each involving a choice between a tempered and a non-tempered glass square. Stepping on a non-tempered square means death, ...
[Read more...]

Chile’s R Ladies Group is Open and Inclusive

November 9, 2021 | R Consortium

To understand what R Ladies in Santiago is like, R Consortium talked to Riva Quiroga about how they are dealing with organizing and meeting during the pandemic. We also discussed... The post Chile’s R Ladies Group is Open and Inclusive appeared first on R Consortium.
[Read more...]

Anderson-Darling Test in R (Quick Normality Check)

November 9, 2021 | finnstats

Anderson-Darling Test in R, The Anderson-Darling Test is a goodness-of-fit test that determines how well your data fits a given distribution. This test is most typically used to see if your data follow a... The post Anderson-Darling Test in R (Quick Normality Check) appeared first on finnstats.
[Read more...]
1 3 4 5 6 7 8

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)