instruction stringlengths 9 38.7k |
|---|
The following is an assignment so please do not provide complete answers. I just need an hint since I spent hours coming up with nothing.
The problem is the following. Given a stationary VARX process
$$ Y(t) = \mu + \sum_{p=1}^P \mathbf{A}_pY(t-p) + \mathbf{B}U(t) + \epsilon(t) $$
with $Y(t) \in \mathbb{R}^n$ with $t=1... |
In this bioinformatics paper: paper link is used the following DNN (Deep Neural Network):
where some input nodes were added (concatenated) to the first hidden layer.
Does anybody know the name of this technique? I would like to know more but I can not find any information about it.
|
I have conducted Spearman's Rho tests with two ordinal variables (one with 4 possible answers and the other with 6). I have obtained a statistically significant correlation between the two. My question is, how can I graphically (or some other way) determine which answer of each correlate together - as a scatterplot wou... |
I am running a regression on real GDP growth as the dependent variable. I am trying to include an initial year for GDP as an independent variable to control for the initial state of development in a time series regression focusing on one country.
How should I implement in this in STATA? i.e. What should the new Initial... |
So my sample is 500 and split in two groups.
The data is the distance in minutes to the nearest supermarket. There were 500 respondents in total and broken down into two groups (male and female). I want to compare is for significant difference.
Group 1 = n= 210
Group 2 = n= 290
I have checked and it looks like the dat... |
There has been a lot of discussion on interaction terms on this site but I'm looking at a specific situation:
I have 3 groups and a continuous independent variable X;Group1, Group2 are represented by indicators G1 and G2 and Group 3 is the baseline group.
The regression
Y = m + b1X + b2(X*G1) + b3(X*G2)
shows the in... |
Suppose that we have a network which performs poorly on the training set, something like ~40% accuracy.
Does it make any sense at all to add a regularisation term in such case? Isn't it only needed when overfitting occurs?
|
This question is related to text analytics.
I have text files which contain customer feedback for a chain of retail stores. My objective is to extract 5 main topics or entities from that data and score each store based on those entities and customer feedback corresponding to that store. Can someone tell me how i can d... |
I am wondering why in most of the literature when they measure the relationship between GDP and a certain phenomenon (For example Judicial Independence). Initial GDP is put as a first independent variable.
Do anyone knows the justification for that?
example: GDP (over period 1990 to 2008) = initial GDP (1990) + Judic... |
I am just curious about how Random forest calculates the (Out-of-bag) OOB error rate.
In my course note, it says that RF will predict each observation using only trees in which that observation does not appear. It makes sense but what if a observation appears in all the tree, how can we calculate OOB error rate for thi... |
I am somewhat new to statistics and for my degree, I am required to take a statistics course. We have recently started to look into sampling distributions, point estimators, statistical intervals, and the central limit theorem (CLT). One thing that I cannot seem to understand is how we can determine normality - or the ... |
One assumption of the Poisson regression is that the target variable follows a Poisson distribution.
Do that also mean that each individual prediction given by a Poisson regression follows a Poisson distribution of parameter lambda = the predicted value y_hat ?
|
I ran a mixed effect model in R by using lme() to analyze the following data (an excerpt is shown in the following):
name day daily_amount lag_raised_amount inv_count length
<chr> <dbl> <dbl> <dbl> <dbl> <dbl>
1 abcde 2 232 1901 20 58
2 abcde 3 ... |
I know the definition of sublinear and superlinear convergence but I have some data which seems to be neither sublinear nor superlinear (unless I am mistaken).
Sublinear convergence:
$e_{k+1}/e_{k}=\mu$, $\mu_k \rightarrow 1$ as $k \rightarrow \infty$
Superlinear convergence:
$e_{k+1}/e_{k}=\mu$, $\mu_k \rightarrow 0$... |
Let's say we are using multinomial naive bayes to perform a classification task based on ONE categorical feature.
As an example, the categorical feature could be a "Store-ID" and each training example is a recorded transaction.
Now say that we have 5000 unique values for the Store_ID, out of which 2000 are such that ... |
In this answer the author shows using ANOVA to compare two models and use the likelihood ratio test to decide keep the rank variable.
The likelihood ratio test is highly significant and we would conclude that the variable rank should remain in the model.
My question is has ANOVA be used for feature selection in large... |
I'm searching for a computationally efficient algorithm to calculate the sliding mean deviation from sample $x_a$ to sample $x_b$ belonging to a large set $x_0, x_1 ... x_n$ with the condition that $a$ and $b$ are incremented by 1 at every iteration and the window size $a-b$ is constant:
$$\frac{1}{a-b+1} \sum_{i = a}^... |
According to this post,
The choice between a t-test and a z-test, therefore, depends on whether or not σ is known prior to collecting the data.
In classical t-test example, one sample t-test can be used in quality control. We can get a sample of product and compare sample mean to design value.
But, I do not understa... |
I'm a geology student and I'm currently doing my thesis at a mining company. I've been asked to search the chemical variables (basically chemical elements) that negatively impact the most on the metallurgical process. I've got a small database (100 representative samples of the mine with their chemical analysis and met... |
I am unaware of how to generate a sample data set for reproduction that has the same characteristics as my actual data that would deliver similar results when running a log(response_variable) model vs. a regular non transformed equivalent.
My goal here is therefore to provide some detail about my response variable and ... |
I want to find out from a given data set the influence of following type of variable on outcome.
1. Continuous variable
2. Discrete variable
E.g. I am selling watches and watch has set of discrete variable like type, style, ageclass,brand which may influence what purchaser is looking...
There is another set of continuo... |
In my firm I am developing a model using a probit model. I noticed that when benchmarking with a logit specification, the logit slightly improves the model goodness-of-fit.
Talking with a colleague he argued that, this is purely luck because the probit and logit are very similar. He also said that I can apply a monoto... |
As part of a survey I had to conduct Kruskal-Wallis H test.
The aim of my study is to understand whether the current waste management practices in households have any effect on people's interests in selecting a centralized waste treatment programme.
Current management practices (independent variable) are divided into ... |
I'm new to statistics and I have just come across the term "statistical confidence". I'm not too sure what it is or how it works but I would like to understand it first. I've tried to search for explanations online but they are all quite technical for me to understand. I would like to have a more intuitive explanation ... |
I am working on a question for a course.
How can I calculate the probability of a daily return of -20.5% in S&P500 (i,e s&p500 dropping 20.5% or more in one day, this day can be tomorrow or in next 50 years)
The following are given:
Annual Volatility= 20%
Stock returns follow lognormal distributin
I am using python
re... |
In the textbooks and in code examples, the Kalman filter equations usually have the prediction step first followed by the measurement updates. Specifically, inside the loop that iterates over the measurements, prediction is first and then the measurement update step. My question is the following: Is it correct to swap... |
I have three types of food (Fish, Beef, Pasta) and for each food I have the average of the pH level. For each food and pH level, I have three repeated measures showing the amount of aluminum. I want to check whether the amount of aluminum in food depends on the pH of food by adjusting for the effect of the type of food... |
For an SVM classifier, how can I get the confidence of each prediction ? I thought of adding a "unknown" class, but I don't quite see how to do it ( what values ?)
While theory is highly appreciated, I would be glad if you can give me hint(s) on how to do it in scikit-learn.
|
In the introductory part of a Russian document I was translating, there was a simplified description of a control chart-based quality management system.
The description contained this sentence in Russian:
Контрольные границы определяют предел ожидаемых изменений процесса, когда действуют наиболее типичные для этого п... |
In machine learning, cross-entropy is often used while training a neural network.
During my training of my neural network, I track the accuracy and the cross entropy. The accuracy is pretty low, so I know that my network isn't performing well. But what can I say about my model knowing the cross-entropy?
|
I have only 1 month of day to day survival rate data on a plant subject. I want to be able to use this data to predict the survival rate for all the future months. Is there any way that I can do that in r using existing function? Basically, I have something like surv(time, death)~1. I have no other variables that I wan... |
So in SPSS I did a mann-whitney u test.
There is significant difference between the median ranks - p score below 0.5
But, it also provided a Z score along with a W and U score.
What is the z score for and what can i do with it?
|
I have edited to better reflect what my question is.
I would like to better understand chance and how to calculate probability. I am presented with three options, A, B, and C, and a prize is arbitrarily assigned to one of them. If I guess the correct option, I get a prize. I have a 33% chance of getting a prize if I gu... |
Many statistical papers or articles present very nice draws of graphical models.
Example: this on LDA from wikipedia
https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Latent_Dirichlet_allocation.svg/250px-Latent_Dirichlet_allocation.svg.png
or this, pg 7, directly from the paper:
http://ai2-s2-pdfs.s3.amazonaws... |
This is a repost from stackflow forum. My purpose is to discover key relationship between variables. I have several categorical variables such as "nationality, office locations, job title" etc. In total I have 14 categorical which created about 100 dummy variables and 6 continuous variables.
My dependent variable i... |
I am analysing business cycle effects on health behaviour (smoking, alcohol abuse etc. and want to see whether the size of the recession or the fact there is a recession is more important.
Hence I am using gdp growth and recession in my regression.
$cigarettes smoket_{it} = β_1 * employment_{it} + β_2 * earnings_{it} +... |
I want to compute the derivative of:
$\frac{\partial y^T C^{-1}(\theta)y}{\partial \theta_{k}}$,
(Note that C is a covariance matrix that depends on a set of parameters $\theta$)
for which I used the chain rule:
$ \frac{\partial y^T C^{-1}(\theta)y}{\partial \theta_{k}}= \frac{\partial y^T C^{-1}(\theta)y}{\partial C(\... |
Policy and value iteration algorithms can be used to solve Markov decision process problems. I have a hard time understanding to necessary conditions for convergence. If the optimal policy does not change during two steps (i.e. during iterations i and i+1), can it be concluded that the algorithms have converged? If not... |
I have two classes A and B. 98% of the data belongs to class A and 2% of it belongs to class B. Size of the entire dataset is about 2000. I am interested in correctly classifying all the data points that belong to class B.
I want to perform classification on the aforementioned dataset but I am not sure whether the clas... |
Suppose you want to predict the outcome of some real valued function $f$. The details of the function are unknowable and it also has a stochastic component. You identify some variables $\theta$ which you think could help to predict $f$.
You suspect that $f$ is non linear in $\theta$ so you decide to implement a neural ... |
Perhaps I'm missing a simple conceptual point here. But do the error statistics (RMSE, MAE) not tell which is the best forecast by presenting the lowest figures between the forecast and the actual figures? Why then do we need to compare two forecasts directly, given we've already established which is one is superior vi... |
I'm checking my ability to predict a binary outcome using SVM. While the model fits very well, when resampling the model performance drops (but not so much when using logistic regression) which makes me think that SVM overfits this model, but as I understand this should not happen unless cost is set to very low. I'm us... |
I am reviewing some notes from an old statistics course in preparation for a big upcoming exam I have. I have an old book by John E. Freund, Mathematical Statistics (5th Edition) that has a number of problems in it that I'm using to prepare. One of them, 3.67 (pg. 123) asks "Find the joint probability density functio... |
I am using the lrm function in the rms package in R to fit a logistic regression model. The function outputs various useful stats, including Brier score.
Is it possible to output the confidence interval for these statistics, especially the Brier score?
If not then what are the other ways of doing this?
EDIT: The calcu... |
I'm building an image recognition system that classifies cars from 10 different models. The input data is a folder with 100 images for each model.
I am having difficulties because the model stagnates at 16% accuracy when tries to predict the test set. My question is: are there any major pitfalls in my script that are ... |
I'd like to automatically determine whether a form which is filled in by hand and then scanned or photographed is "valid".
To be considered valid, the form has to satisfy the following two criteria:
Two given checkboxes have been checked.
There is a signature.
One approach to solve this would be to use an optical ima... |
I am studying method of moments and GMM in the context of econometrics.
Can someone explain on intuitive level, what does it mean to match moments? And how does this differ from the classical linear regression model, for example?
Some terms and commonly used clauses I would appreciate gaining clarity are:
Orthogonalli... |
I did a mann-whitney u test.
There is a significant difference - p value below 0.05
It also provided a Z score along with a W and U score.
What is the z score for and what can I do with it?
|
I have a collection of data for a multiplayer game (2000 games, 10 players each). I would like to create clusters from this data, each containing the ids of 3 players that had played against each other. For example, assume player A played against player B, B played against C, and C played against A. I'm trying to figur... |
This is the google trends result obtained for "Naive Bayes" phrase from Jan 2004-April 2017 (link). According to this figure, the search ratio for "Naive Bayes" in April 2017 is about %25 higher than the maximum in the whole time period. Does this imply that this simple and old method is gaining more attention? Why?
A... |
I generated 3000 observations (3000) and carrying out multiple linear regression. Prior to regression i randomized my observations five times and then selected 30 % of the observations for testing and 70 % for training.
I discovered that when i choose a different set of 30% of my observations i get slightly different ... |
Is it reasonable to use an information criterion such as AIC in which the maximized likelihood function is replaced by the maximized posterior function?
I know there are other criteria designed specifically for a bayesian setting, but I'm still curious about this adaptation of AIC.
|
I am trying to deal with data imbalance within a small dataset. Just found an article talking about SMOTE and MSMOTE here
It seems that MSMOTE can overcome the shortages of SMOTE, so I really want to try it. MSMOTE paper is published in 2009, however I could not find any library related to MSMOTE in R or python.
Do you... |
[I deleted my previous question, which was wrong]
Define:
$\boldsymbol\theta=[\theta_1,~ \theta_2]^T.$
With both $\theta_1, \theta_2$ scalars. The FIM is given by:
$\mathbf{J}_{\theta\theta}=\begin{bmatrix}{J}_{\theta_1\theta_1}&{J}_{\theta_1\theta_2}\\{J}_{\theta_1\theta_2}&{J}_{\theta_2\theta_2}\end{bmatrix}.$
I know... |
I am trying to fit penalized model for binary outcome with few events and correlated covariates. Probit and logistic regression models are among the most widely used models for binary outcome. I am wondering why penalized logistic regression has been developed and codes written but not penalized probit regression?
|
We are developing a cache for virtual reality images for painting recognition. To simulate our approach and make tests, we submit queries according to the visit distribution of a museum.
Unfortunately, there is not a lot of documentation about this, except this work, where Figure 3 is the "distribution of the stay time... |
If I want to use naive bayes with laplace smoothing and therefore add 1 to probabilities with the value of 0, what does this mean for probabilities which have the actual value of 1?
|
I'm doing a kalman filter and I need to sum two covariance matrices (Q1 and Q2) regarding two uncertainties I need to join. I'm tracking the position of an object from a referencial with a changing position and orientation. As the position of the moving referential also has an uncertainty, it also has a covariance matr... |
In his post, one of our colleagues asked if it is possible to find the shape parameters of a $Beta(\alpha,~\beta)$ distribution given knowledge about its $\mu~(mean)$ and $variance$.
However, my question is how in R I can find shape parameters of a $Beta(\alpha,~\beta)$ distribution given only its quantiles (say, lower... |
In my application (spaced-repetition system for quizzes), I have an unknown half-life (in units of time), $h>0$. This half-life governs a Bernoulli trial $X$, such that $P(X=1) = 2^{-t / h}$, for some known, deterministic time $t>0$ (same units as $h$, this corresponds to when the Bernoulli test was conducted).
I’d lik... |
I am performing a systematic review and while abstracting the data from one particular study I felt puzzled by the way its authors tested the null hypothesis of no difference between the exposed and unexposed groups in a prospective cohort study.
Here are the data:
Number of diseased in the exposed group: 135
Total pop... |
A question is asking to create a relevant regression equation and test a hypothesis. It is asking to test whether the effect of studying on SAT scores is different when consuming daily 2 cups of coffee as opposed to when consuming 50 cups of coffee.
The regression that I came up with is:
$Score =$$\beta_0 + \beta_1 CU... |
I am trying to replicate the analysis I saw in a paper. One of the step is to describe the relationships between two data tables. I use the procrustes() function from the vegan package with the argument ,symmetric= set to TRUE.
I have two issues:
1) Although the statistic is the same, the residuals from:
procrustes(A,... |
I have a crossover study where patients perform a cognitive task (with two conditions) when their brain stimulation is switched on and then off. Using a mixed effects regression, I would ensure that the two task conditions are nested within on/off conditions, which are nested within patients.
However, I also wish to i... |
Given examples with features, each labelled 0 or 1, I can train a logistic regression model to predict the probability of the label being 1 given the features. What can I do if I have just negative and unlabelled examples? I'd be happy just to rank examples (ie determine which is more likely to be positive). This seems... |
Does the following sampling process model any particular real life scenario ? If so, could you point me to some relevant scientific papers.
Consider an arbitrary probability distribution $\mathcal{D}$, and sampling $n$ times from it.
Denote by $X_1, \dots, X_n$ the corresponding random variables, with the following de... |
Examples : I have a sentence in job description : "Java senior engineer in UK ".
I want to use a deep learning model to predict it as 2 categories : English and IT jobs. If i use traditional classification model, it only can predict 1 label with softmax function at last layer . Thus, i can use 2 model neural networks ... |
I am trying to figure out which regressors to include in my model and assess my model's adequacy. I know my data is skewed. My question is:
should I do transformation first or model selection first?
When I fit the full model, i seem to have non-constant variance of the error and also deviance from normality. I have a... |
I have a dataset on two series $X_{i,t}$ and $Y_{i,t}$. Plotting the average value of $Y_{i,t}$ defined as $\bar{Y_i}=\frac{1}{T} \displaystyle \sum_{t=1}^{T}{Y_{i,t}}$ against $\bar{X_i}$ clearly shows a U shape relationship with $\bar{X}$ and $\bar{Y}$ being negatively correlated when $\bar{X_i}<0$ and conveversely.
... |
I am facing the following situation. I am running a web service for which I want to do A/B testing. The two versions A and B differ in the formatting/ordering/content of the web service answer to a user request.
The criterion I compute is the click-through rate in each version, that is to say the number of times users ... |
I've performed the same measurement 20 times and I would like to remove the outliers before continuing my analysis.
The raw sample data is shown in the following figure.
Using an algorithm I identify the most linear section between 0 and 1 on the x-axis and a perform a linear fit with the data-points in that section. ... |
When I'm fitting a generalized linear model, I use the glm() function like this:
fit <- glm(formula=y ~ x,
data=someFrame,
family=gaussian(link="log"))
But I don't know, what does the name of the family mean. It's described like this in the the documentation:
Family objects provide a convenient... |
I've set a simple function (y = x^2) to generate data to be used to train a neural network. The goal is to do predictions with new data. I've been trying to play around with the parameters of the train function, but I haven't been able to get good results. Should a neural network be useful in such a problem? What would... |
What is the exact algorithm used in nlm function in R. The documentation says:
Description
This function carries out a minimization of the function f using a
Newton-type algorithm. See the references for details.
Then in references:
References
Dennis, J. E. and Schnabel, R. B. (1983) Numerical Methods for
Uncons... |
I have some domain knowledge I want to use in a regression problem.
Problem statement
The dependent variable $y$ is continuous.
The independent variables are $x_1$ and $x_2$.
Variable $x_1$ is continuous and positive.
Variable $x_2$ is categorical, ordered, and takes only few different values (i.e, less than 10).
... |
Consider a screening test for a disease.
The sensitivity of the test is 80%.
The specificity of the test is 95%.
The disease is present in 0.1% of the population.
Use the following events for a patient receiving the screening test;
D they have the disease
DC they do not have the disease
P their test gives a positive re... |
I am analyzing whether a new feature (presenting history path) served as a cognitive support in the process of problem-solving, which means that if this new feature can have an influence on people's cognitive load.
So I have asked a 9 point rating scale for three questions in terms of their mental effort, task difficu... |
If my $X$ follows the Beta distribution with shapes $a,b$, and I only know the mean and variance of $lnX$, is there any way to figure out $a$ and $b$ ?
I've read in the wikipedia article about the Beta distribution that the mean and variance of lnX involves the digamma and trigamma functions:
$Ε(lnX) = ψ(α) - ψ(α+β)$
... |
We have ground-truth data $\mathbf{x}^* = (0,0)^T \in \mathbb{R}^{2}$. Furthermore, we have $N$ measurements $\mathbf{x}_i \in \mathbb{R}^{2}, i\in \{1,\ldots,N\}$. We calculate the $N$ error vectors $\mathbf{e}_i = \mathbf{x}_i - \mathbf{x}^*$. We assume that the two components of $\mathbf{e}_i = (e_{x,i}, e_{y,i})^T ... |
I have the graphs of ACF and PACF. But I am unable to interpret how to consider whether it is AR(p) or MA(q) or ARIMA. Along with ACF and PACF. ADF and PP test suggests that the data is Stationary.
Please Help me. Auto.arima() function suggests two models.But one of my friend suggested that one cannot blindly believe a... |
I have fun little problem that I want to try to solve. I've been given a dataset which I will randomly split up into two sets. But now I want these two sets to have the same distribution.
Consider the following two randomly generated datasets:
A:
#1: 3 7 3
#2: 3 7 3
#3: 1 1 1
B:
#1: 2 2 ... |
I’m familiar with Poisson Regression and the concept of GBM (a tree learn from the residual of the previous tree) but I don’t understand how GBM works in the case of a Poisson loss function.
Questions:
How is the residual transformed before being fit by a tree? Log of the residual?
Do we need to apply a transform at t... |
I am training a Convolution Neural Network similar to LeNet5 to detect road signs in the German Traffic Signs Dataset. With about 35,000 training samples I get to 95% validation accuracy. To improve accuracy, I tried augmenting the training set with random Affine transformations of original images.
When I perform augme... |
So I'm implementing NEAT in Javascript, however i'm not sure if different species should crossover.
So what i'm understanding is that offspring will only be created from parents originating from the same species, however is that always the case?
|
I have two data points, "A" and "B."
A and B are stats the effect countries, so I have data of A and B for four countries, Canada, the UK, the US and Australia.
Due to changes in reporting, each country only has about 5 years worth of valid data.
I know this is an extremely small sample size to perform an independent t... |
I have got a dataset of daily rainfall data (mm) from different hydrological gauges. The observed time period is not fixed, and therefore the gauges' time series have different lengths (i.e. 10, 23, 50, 110 years) I selected a threshold u = 99th percentile and I would like to know:
What is the probability of a peak ove... |
In a comparative study on human motion and perception in both reality and virtual reality, I am examining differences and relations between specific entities.
In two separate experiments, TTG Estimation* and Distance Estimation* data were collected from the same set of test persons who had following tasks:
*TTG Esti... |
From 'Modern Mathematical Statistics with Applications' (Devore and Beck) pg 377
Let $X_1, X_2 \ldots$ be a random sample from the disbribution $f(x,\theta) = \theta x^{\theta-1}$ for $x\in {]0,1[}$ and $\theta >0$.
The MLE is given by $\hat \theta = \dfrac{-n}{\sum_i\ln X_i}$.
It also shows how
$$\sqrt{n}(\hat \thet... |
I'm doing this, and it works. I know it has to have a name.
(background) I'm using a linear model (glm) and I get parameter estimates of various magnitude. My general formula is $ y = \alpha_1 \cdot x_1 ... + \alpha_n \cdot x_n + \epsilon $. Y is a binomial valued, and I am using logit-link.
(what I do) When I want ... |
I have a simple yes/no problem so I was naturally inclined towards using a binary classifier because I was reading the book, A Course in
Machine Learning by Hal Daumé III and I quote from it:
[ Binary Classification: trying to predict a simple yes/no response.
For instance, predict whether Alice will enjoy a course or ... |
Is there a way to compute an estimate of the AUC/C-index confidence interval, simply by using a mean AUC/C-index and sample size?
|
I want to implement Inhibitory SVM classifier in chapter 3 of this paper with scikit lib in Python.
However, it is hard to find materials that explains inhibitory-SVM or classifier.
In the paper, they explains inhibitory SVM but, I can't understand that.
I want to know I-SVM in terms of shape of input of data and lab... |
Let the $k$-power mean of two numbers $x$ and $y$ be defined as $M^k(x,y) = \left(\frac{x^k+y^k}{2}\right)^{1/k}$.
For the case $k=1$, we have that if $X,Y$ are independently normally distributed, then so is $M^1(X,Y)$.
For the case $k\rightarrow \infty$, we have that if $X,Y$ are independently Frechet (Gumbel/Extreme... |
I am trying to find a clever way to analyze the choice ratios between a baseline condition and a different condition.
Specifically, I have a baseline condition, where the choice ratio between two cells is let's say A/B.
In another condition, the choice ratio between the same two items is C/D.
Now, what I need to find o... |
We have a technology can automatically generate training image data sets for deep learning with true contour annotations, i.e. objects labeled without background. Instead of conventional bounding boxes around annotated objects that contain irrelevant background in the corners, we can provide training images that are cr... |
The sklearn implementation of TFIDF allows you to specify minimum & maximum token frequencies as a precursor to calculating the IDF weighted scores. It will first create a count matrix and prune out the tokens not meeting your criteria. The default setting allows for all tokens to be used (eg. min 1, max 100%).
I unde... |
I am currently using a univariate Hawkes-process for modeling the behaviour of agents in a social network. For example, the likelihood that a user will tweet in the next period is defined by the intensity $\lambda$ of a Hawkes-Process such as:
$\lambda_t = \mu + \sum_{t_i < t}\alpha e^{-\beta (t-t_i)}$
For a counting... |
Let $K =\text{diag}(\kappa_i)$ be a diagonal $N \times N$ matrix with $\kappa_i >0$ and $B$ a symmetric matrix such that $I-B$ is invertible and whose diagonal elements $b_{ii}$ are zero. Then a random field $X$ that is normally distributed with mean zero and covariance matrix $(I-B)^{-1}K$ is said to be a conditional ... |
I am trying to predict the traffic volume for all the stations. My dataset consists of two response variables (double), the total traffic volume and the net flow traffic volume. There are 5 explanatory variables: the station id (factor), year (factor), month (factor), day (factor), hour (integer), weekday (binary). Due... |
I have a situation where I need to calculate the speed of a vehicle for a given time period. The data I'm working with is very spotty in the temporal dimension— we might have 5-10 speeds recorded within seconds of each other, but other speeds in the set might be many seconds or minutes apart. The speeds can sometimes b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.