instruction stringlengths 9 38.7k |
|---|
I am reading this paper http://zli115.web.engr.illinois.edu/wp-content/uploads/2016/10/0479.pdf
It distinguishes between feature extraction and fine tuning in deep learning. I am not getting the difference as feature extraction is just the same as fine tuning:
As per my understanding:
You train a model on a dataset, u... |
I am still not fully able to handle the concept of generalised inverses when applied to OLS.
Is there a way to show that
$\beta$ = $\ (X'X)^- X'y + (I_k−(X'X)^-X'X)z $
solves the normal equations:
$\ X'X$$\beta$ =$\ X'y $ so that it holds for any z?
Note: $\ X $ is an (n × k)-regressor
|
I'm wondering what the wilcoxon test differentiates from the t test so it can be used with ordinal variables. In other words why can't we use a t test for ordinal variables but can we use a wilcoxon test? I know the difference between the t test and the wilcoxon test is already answered(e.g. here), however the differen... |
I am attempting to run a 2x2x2 unbalanced factorial ANCOVA on sediment mercury (Hg) concentrations (continuous response variable), sediment moisture content (%; continuous covariate), and three categorical variables: state (TX, OK), spring (active, former), and bird nesting (yes, no). However, when I begin testing the ... |
I have many panels of two-year longitudinal data, something of the form:
# A tibble: 8 x 5
ID year Y X1 X2
<int> <int> <int> <int> <fctr>
1 1 2015 2 2 D
2 1 2016 4 5 C
3 2 2015 1 5 A
4 2 2016 1 2 C
5 3 2015 4 3 ... |
I have modeled a stationary time series with another related stationary time series. I'm having a problem with cyclicality in the residuals and I don't know how to fix it.
Here is my model:
$\text{TS}_1(t) = \beta_0 + \beta_1\cdot \text{TS}_2(t) + \epsilon$
Here is a chart of the residuals:
There is clearly a strong... |
We know that the CAPM regression (for a asset i) is given by
$\ z_i = α_i1_T +$ $\beta_iz_m + ε_i = X∗θ_i + ε_i$
How can I show that the estimator of $\hat\alpha$ has the following distribution
$\hat\alpha$ ~ N ($\alpha$, $\alpha_m$ / T $\sum$)
with with am = 1 + $\hat\mu^2_m$/ $\hat\sigma^2_m$ ?
$\hat\mu^2_m$ = 1/T $\... |
What exactly is the tol (tolerance for stopping criteria) in scikit-learn? What is that quantity which is checked with tol to end the training?
|
I need some help with the following exercise:
Let $X$ and $Y$ be two independent $\exp(1)$ random variables. Let $U= \max \{X,Y\}$. Compute the conditional law of $X$ given $U = u$.
I have tried to solve the exercise above, however it's wrong since the obtained conditional density does not sum $1$.
Thanks in advance.... |
I designed an experiment,in which there is one two-level categorical independent variable, and a continuous variable as a covariate. The interaction between the two is not significant, however, when I look at the correlation between covariate and dependent variable at each level of the categorical independent variable.... |
I'd appreciate guidance on how to tackle this problem. I have several inputs which are classifications and a single output. Most of the time, each output has a small value. However, under some conditions, the output is large.
Consider the following data:
ind1 ind2 ind3 dep
black SMALL OLD 42
blue ... |
When estimating an AR, ADL and VAR model, should I use robust standard errors or HAC errors?
In an exercise, I used the robust standard error, and then check for autocorrelation in the residuls (there is none). Is this approach ok?
|
I ran across this problem when I was trying to review my probability. It seemed easy enough, but I'm having a difficult time understanding the logic behind solving it.
The country of Chile is divided administratively into 15 regions. The size of the country is 756,096 square kilometers. How big do you think the region... |
I use cross validation to find a best set of parameters for random forest on my dataset. Then I use the best model to fit my train set and got an average AUC of 0.6883. But I can see the variability of the AUC scores was significant, from 0.5113 to 0.8068. Can I claimed my model performance was 0.8068 (as what it achie... |
Suppose you define:
$$X\sim\mbox{Beta}(\alpha,\beta)$$
$$Y\sim \Phi^{-1}(X)$$
where $\Phi^{-1}$ is the inverse of the CDF of the standard normal distribution.
My question is: Is there a simple distribution that $Y$ follows, or that can approximate $Y$? I'm asking because I have a strong suspicion based on simulation re... |
I have two groups of subjects (healthy & patients). Each subject's data (>70000 samples) were displayed using a histogram. For some, it appeared to be a mixture of two Gamma function, whereas for others it appears to be that a Gamma function would be sufficient for modelling.
I am working on a Matlab script to apply... |
I'm very new to the auto.arima function in R, but it's recently given me a result that doesn't make much sense with my data. I'm using a seasonally-adjusted series, and while it's true that there might still be some lingering seasonal effect (it's unrevised, for example, but that's what I'm going for), I really should ... |
I know it all depends on the data, but I am looking for a general, most common rules for continuous data discretization.
For example It could be a list like this:
Use Supervised MDL discretization (e.g. Fayyad & Irani MDL), if this fails (i.e. no cuts could be found) Use Unsupervised equal frequency discretization, se... |
Learning about hierarchical clustering, I was wondering if there is a commonly used measure for the amount of hierarchy in a data set?
What I mean is: If the data points are all uncorrelated normal random variables with the same mean and std, clearly there is no hierarchy and thus a hierarchy measure should be 0, or cl... |
I have been reading "Applied Statistical Inference" by Held and Bove. In example 2.21 they came upon this expression while trying to show a statistic is sufficient:
$$\sum_{i = 1}^n(x_i - \mu)^2 = \sum_{i = 1}^n(x_i - \bar{x})^2 + n(\bar{x} - \mu)^2$$
I am having a hard time understanding where this expression comes fr... |
Objective
Confirm if the understanding of KKT is correct or not. Seek for further explanation and confirmations on KKT.
Background
Trying to understand KKT conditions, especially the complementary one, which always pops up out of blue in SVM articles. I do not need list of abstract formulas but do need a concrete, intu... |
I have a sample, log-returns of a finance time series. The sample size is n=252. I'd like to estimate a distribution in order to modeling dependence with a copula.
The binned histogram of frequencies, cumulative frequency counts, and qq-plot are below:
I have applied the normality hypothesis test (Anderson-Darling tes... |
Is there a maximum number of groups in Kruskal Wallis' one-way ANOVA? I am looking at a data set with 42 separate groups and I am unsure if there would be some sort of issue in running that many groups under Kruskal Wallis.
I remember reading once that ANOVA should not be ran with more than 26 groups although I am not... |
Having a dataset of 1000 data items, with 25 attributes (a mixture of numerical and categorical attributes), a binary label and using random forest classifier (it's a cost-sensitive learning task as data is a bit imbalanced, if that matters) I perform backward feature elimination which results in 20 attributes and a ta... |
As many others have, I found the resources here and here to be immensely useful for understanding LSTM cells. I am confident I understand how values flow and are updated, and I'm confident enough to add the mentioned "peephole connections", etc. also.
In my example, I have at each time step an input vector of length i ... |
Given a GMM with mean $M=[M_1, M_2, ..., M_C]$ and covariance $\Sigma=[\Sigma_1, \Sigma_2, ..., \Sigma_C]$ (where $C$ is the number of mixtures),
many papers on eigenvoice modeling states that the log-likelihood of an arbitrary speech utterance $X=[X_1, X_2, ..., X_T]$ with $T$ frames is defined as
$\sum_c(-N_c\log(2\p... |
I read gung's answer to "How to interpret type I, type II, and type III ANOVA and MANOVA?".
Instead of messing with R I'd like to just create my own linear model in a spreadsheet. The problem is that I understood what is SS(something|something) on an intuitive level, but not on a mathematical level. I don't know the fo... |
I need to compare between an AR(4) and AR(5) model, but when I try to estimate the AR(4) model, I received the following result:
Error in optim(init[mask], armafn, method = optim.method, hessian = TRUE, :
non-finite finite-difference value [1]
AR1 through 3 and 5 and 6 were estimated without issue (and I've narrow... |
Below is an examination problem. Please consider the question in image
This is what I tried:
$$\max(X,-X)= \frac{x-x}{2} -{|x+x|}= |x|$$
using the identity $\max(X,Y)= \frac{x+y}{2} -{|x-y|}$
So that now we need to find $1 - P(-x \le y \le x)$. Is this approach correct? If so, I'm now stuck choosing limits for $x$. A... |
I dont understand this point for h-steps ahead forecasts.
Even if I know that the $t+2, t+3, ..., t+h$ forecasts are highly autocorrelated, I dont really know if this autocorrelation is not just right, as I need $h$ steps ahead to evaluate it...
Nor?
|
Objective
To confirm if the understanding is correct regarding the reason why Lagrangian Dual is used in SVM.
Background
While Machine Learning, gradient descent is used at regression, logistic regression, back propagation, etc. However for SVM, suddenly Lagrangian Dual pops up. Trying to understand why.
It looks to m... |
I am trying to build a multiple regression model where I have 7 independent variables(predictors), out of which 3 are numerical and 4 are categorical(with each of factor levels upto 80). I need to filter the best possible predictors(variable selection) from these. Is there any way I can do this?
I read about Lasso but ... |
I'm reviewing a paper that has performed >15 separate 2x2 Chi Square tests. I've suggested that they need to correct for multiple comparisons, but they have replied saying that all the comparisons were planned, and therefore this is not necessary.
I feel like this must not be correct but can't find any resources that ... |
I have two years of sales data on a daily basis of 2,000 products. I am not really interested in Time Series modelling but rather on some sort of count data model. The issue is that sales are really sensitive to promotions so it's difficult to model them.
In the following plot you can see how it looks like (sorry for ... |
I have seen in many areas people scale their data before passing to a classifier or learning algorithm . I noticed that by doing that classifier would be really fast. For instance in python X=preprocessing.scale(X) is used before doing svm.SVC().fit(X,y) . Does this have any effect on classifier?
Edit : X=preprocessing... |
Is there a possibility to disable the initial message (1) when creating a sequence with seqdef library(TraMineR) ?
(1) this message
[>] coding void elements with '%' and missing values with '*'
[>] 6 distinct states appear in the data:
1 = M
2 = MC
...
For instance,
LCS.ex <- c("S-U-S-M-S-U", "U-S-SC-... |
Classical reinforcement learning (Q- or Sarsa-Learning) can be extended with models of the environment. These models are usually transition tables that contain the probability of arriving at a particular state given another state and one action.
In model-free learning, these transition probabilities are "incorporated" ... |
TL;DR For a multiclass problem, is Jaccard score the same as accuracy?
Update March 29, 2019
The wrong implementation in scikit-learn is now fixed with pull request #13151. Hooray!
P.S. The lesson here is that no matter how mature and widespread the library, framework or idea is, there are always bugs and shortcomin... |
I'm specifically looking to apply the trick to a Dirichlet distribution. Kingma and Welling (2013) briefly talk about how the trick can be applied to non-Gaussian distributions, and state that the Dirichlet distribution can be expressed as a "weighted sum of Gamma variates", however I've not found any more details on t... |
Basic question
Is there a way to create z-scores across multiple factors quickly? And how would you do this without creating multiple subsets and rebinding them?
Details
Basically I am comparing pilot data of three scales (scale_type: VAS (0 to 100), LMS (0 to 100), TS (-18 to 18). The result of each is put into a co... |
I have a group of individuals X, each member of the group has had two measures taken: i and j.
I have the means and SDs of i and j. I also know the correlation coefficient between i and j: r.
I am able to calculate the combined mean of i and j: k
How do I calculate the standard deviation of k? The formula I have for c... |
I have data of the form ($x$, $y$, $dy$), where $x$ is the independent variable, $y$ is the dependent variable, and $dy$ is the standard error of the mean (SEM) for $y$. I intend to do a weighted least-squares fit to this data. This wikipedia article states that the inverse of the variance should be used for the weig... |
I have data from approximately 200,000 people all of whom do a task at least once, and I record the time it takes them to complete the task. They can complete the tasks in one of two ways (method A or method B). Most people choose to use method B, but some use method A, and some use both (considering most people repeat... |
Suppose $X_1 , ..., X_n$ are random samples of exponential distribution with mean $\theta$. Determine $a$ and $b$ such that $a\sum_{i=1}^n X_i +b$ be admissible under the loss function $L(\theta,\delta)=\frac{(\delta - \theta)^2}{\theta ^2}$.
All my efforts fail, I can't get my head around this, any help would be very ... |
Together with some of my colleagues, I am responsible for an introductory course preparing students for university studies in mathematics. For this course we have the policy that if a student finishes the course, we ask him or her to evaluate the course by answering what we call a course evaluation.
Two years ago I and... |
Over the years, many developments led to adaptations and variations over the original SVM (here called $\ell_1$-SVM, alluding to the $L_1$ penalty for points across the margin).
Two such formulations one frequently encounters are the LS-SVM1 and the $\ell_2$-SVM2.
What's the differences between the three, from an optim... |
I would appreciate your advice.
I have a number of outcome variables that follow Normal, Gamma or Poisson distribution. The predictor is categorical with two levels, as follows:
Category 1: N=321, 9.3% of the sample
Category 2: N=3145, 90.7% of the sample
I understand that unequal cell size is a problem in ANOVA/regre... |
a simple question I suspect. I have a logistic model with a count predictor (#times some event happened) as a predictor of a binary outcome. Am I correctly interpreting the odds ratio as 'the constant and linear increase in the likelihood of being in the category coded as a '1' on the outcome for each additional event'... |
We are about to measure the quality of a conversation in several ways and have some possible predictors. We would like to have each of 10 people have a conversation with each of the other nine people giving us 45 conversations. I plan to carry out a linear mixed model using lmer(). My problem is that I have two rand... |
If data have right censoring and complete data, I delete the right censored ones. Does it make the data to be left truncated? And why?
|
I am running a binary logistic regression with compositional predictors that sum to 100% (demographic categories). I've looked at several postings about this, but can't find a good solution to my problem. Would dropping a single predictor be useful in cases where 0% of the data comes from that category? I.e., if my pre... |
The article here: http://novanoid.github.io/2014/09/26/training-a-neural-network-to-recognize-handwritten-digits/ discusses and implements a way to recognize handwritten digits. For images with a quality of 256 square pixels and an output vector of magnitude 10, the network is constructed quickly and efficiently on a m... |
I have a 40 item questionnaire (20 positive and 20 negatively phrased questions, 1-5 Likert scale), which has been taken by 363 people. Originally, the responses seemed to show two clear factor loadings, simply reflecting the positive and negative question phrasings (which i know is common).
However, I then discovered ... |
I am preparing my data for CFA and multiple regression. I want to see how different types of parental involvement influence children's motivation and academic results. I have a sample size of 5000 with about 20% missing data.
I am having problems with handling the missing data. I probably made the mistake of deleting ... |
I have a basic understanding of free-energy minimization methods from doing some reading in neuroscience on prediction error minimization--primarily from Rafal Bogacz's beautiful tutorial on the free-energy framework for modelling perception and learning.
I'm interested in getting a more thorough understanding of the f... |
I am programming in R using hierarchical bayes for a choice-based conjoint task and wondering how I code the "none of the above" option in the design matrix?
The R code that I am using is below, which contains the rhierMnlRwMixture() function from the bayesm package. The response options are from two product bundles pl... |
Here is a small example:
MyDf<-data.frame(x=c(1,2,3,4), y=c(1.2, .7, -.5, -3))
Now with thebase::lm:
> lm(y~x, data=MyDf) %>% summary
Call:
lm(formula = y ~ x, data = MyDf)
Residuals:
1 2 3 4
-0.47 0.41 0.59 -0.53
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 3.0... |
I searched multiple entries with similar topic, but couldn't find suitable answer. I want to compare two time series, interest rate and investment grade corporate bond yield over 15 years. I have quarterly data for interest rate. And I want to also control for other variables like GDP, inflation and so on. Which statis... |
I am working with a dataset and found a significant interaction between a continuous and categorical (2 levels) predictor (DV is continuous--so the model is something like DV = b1 + b2 + b1*b2). How should I test the simple effect? To help visualize, let's say I have a graph, with my DV on y-axis, continuous predictor ... |
So following the example at the end of the chapter here, I generated a neural network for digit recognition which is (surprisingly) accurate. It's a 784->100->10 feedforward network with one input layer, one hidden layer, and one output layer.
So for an example, here is an input image (reshaped to be a 28x28 image):
... |
I have recently built a random forest model for classifying two types of cancer based on patients' genetic profile. I used patients' genetic markers (SNPs) as my features and disease status as my outcome.
My question however is why top ranked features in my model are not the same as the features with high correlation t... |
In the development of Kalman filter, I hit roadblocks when trying to estimate the noise covariance matrix of both the state process and the measurement process.
In this post, the author mentioned "tuning" these covariance. Also, on the wikipedia page, it says In most real-time applications, the covariance matrices that... |
I am confused about something very trivial.
Suppose that we have 3 random variables, such that:
$Z=XY$
I am trying to understand the relation between the following expressions:
$E_Z[Z] =? E_{X,Y}[XY] =? E_{Z}[XY] =? E_{X,Y}[Z]$
I can't decide which integrals below yield which expectation and which are equal:
a) $\int p... |
When minimizing the squared error using vanilla/basic gradient descent..meaning basically:
while not converged:
new_parameter = old_parameter - step_size*(gradient of rss)
Are the following assumptions correct?
You're guaranteed convergence to a global minimum because rss is a convex problem
The only reason it wou... |
I have a count dependent variable with one continuous independent variable and one dichotomous independent variable, and I am using a negative binomial regression due to the poisson appearing overdispersed. The confidence interval for alpha excluded zero further confirming the inappropriateness of poisson. I'm concerne... |
I'm doing logistic regression with too many predictors and too few datapoints, so I'm using elastic net logistic regression as a principled way to do variable selection. (The larger goal is to test a predictive model as measured by AUC, but I don't think that matters here.)
However I've noticed that which coefficients ... |
I work with surveys (unweighted data) and my research vendor and I are debating what test to use when comparing whether two proportions are equal. What I mean is that we have a lot of data using a Likert scale (5 points agree) or binary data (yes/no).
While I would think to use a t-test with the formula to compare mean... |
I want to estimate the following:
$$Y = b_0 + b_1D_1 + b_2X_1 + b_2X_1D_1 + b_3X_3....+error$$
where $Y$ = outcome, continuous
$D_1$ = endogenous, binary
$X_1$ = exogenous, binary
$X_1D_1$ = interaction of the two
$X_3, X_4$ = exogenous variables
I have a panel data. From what I read so far, though not finding somethi... |
A reviewer is asking me to test for homoscedasticity with "appropriate tests", as opposed to visual inspection of residual plots. I haven't found any such test (I guess he wants a p-value). Does such a test exist and if not, is there something I can cite to justify not presenting a p-value?
|
This paper on von Mises clustering uses an upper bound on the modified log-Bessel function that I struggle to replicate. Taking results from this paper, the authors state:
$$u\frac{I'_\nu(u)}{I_\nu(u)} \le \sqrt{u^2 + v^2} $$ $$ \frac{I'_\nu(u)}{I_\nu(u)} \le \frac{\sqrt{u^2 + v^2}}{u} = \sqrt{1 + \frac{v^2}{u^2}} \ta... |
I have observed that, on average, the absolute value of Pearson correlation coefficient is a constant close to 0.560.42 for any pair of independent random walks, regardless of the walk length.
Can someone explain this phenomenon?
I expected the correlations to get smaller as the walk length increases, like with any ran... |
I have transformed multivariate normally distributed data into uniform distribution using the Probability Integral transformation. Now I want to preserve the locality of the data points, that is, if there were two data points that have the same distance to a given point in the multivariate normally distributed data; t... |
In Applied Linear Statistical Models (Kutner, Nachtsheim, Neter, Li) one reads the following on the coefficient of partial determination:
A coefficient of partial determination can be interpreted as a coefficient of simple determination. Consider a multiple regression model witht two $X$ variables. Suppose we regress ... |
In order to correctly estimate a VAR model, i have to determine whether my variable, the log of the Harmonized Index of Consumer Prices, is stationary. Now, I have performed both the ADF and the PP tests. The ADF-test rejects the null hypothesis with every specification (trend+constant, constant, nothing). However, the... |
Given random variables $X_1$,$X_2$,$Y_1$,$Y_2$, such that
$$
\text{Var}(X_1) > \text{Var}(X_2),\text{Var}(Y_1) > \text{Var}(Y_2).
$$
Then does the following hold?
$$
[\text{Var}(X_1) - \text{Var}(X_2)][\text{Var}(Y_1) - \text{Var}(Y_2)] \ge [\text{Cov}(X_1,Y_1)-\text{Cov}(X_2,Y_2)]^2
$$
|
A binomial experiment obviously needs to have only two possible outcomes. However, what if there are three outcomes but treated as two?
For example, would these two examples be binomial experiments?
A researcher conducts a poll for 200 people in which the options are "Yes", "No", or "Maybe". X is the number of people ... |
We observed that in a particular scenario, the p-values for t-test and tukey were exactly opposite and we are trying to figure out what the problem is
Here is the output from Tukey. Observe the p adj value for 1Hr-0Hr is 1.00
$sampleIL1.b
diff lwr upr p adj
1Hr-0Hr 4.625395e-05 -0.025... |
I have a output variable and 1 categorical predictor and 3 continuous predictors.
dat=data.frame(IV = rnorm(9), group=c("A","A","A","B","B","B","C","C","C"),pred1=rnorm(9),pred2=rnorm(9),pred3=rnorm(9))
What is the recommended way to add the dummy variable and how does the interpretation of the output change with thes... |
What is the formula (approximate or exact) for a prediction interval for a Binomial random variable?
Assume $Y \sim \mathsf{Binom}(n, p)$, and we observe $y$ (drawn from $Y$). The $n$ is known.
Our goal is to obtain a 95% prediction interval for a new draw from $Y$.
The point estimate is $n\hat{p}$, where $\hat{p}=\fr... |
I'm trying to filter a time series, of which I occasionally can observe the state variable variable but not always. I also have a noisy measure of this state variable all the time. By picking the time points when I have both, I can compute the error between the two, which gives me a sense of what the noisy measure is l... |
The following model was estimated:
Linear regression
Number of obs = 1,027
F(45, 981) = 17.85
Prob > F = 0.0000
R-squared = 0.4268
... |
I've been working on some attribution modeling in R, following the markov chain-based methodology described here.
In order to compare the sensitivity and specificity trade-offs of using models of different markov orders, I'd like to look at a ROC curve. I do not know how to technically implement this, using the dataset... |
I am trying to create an algorithm to fit dI/dV data from a superconducting sample, and eventually a GUI.
There is a double integration involved over the product of two functions Fermi function and density of states), both of which contain the independent variables order parameter, temperature and broadening parameter... |
I'm currently building a business intelligence product that requires the classification of employee review text into 15 different categories with bearing on the company's strategy execution (e.g. innovation mindset, resource allocation, collaboration.)
As I hand-coded a training set for a prospective machine learning c... |
I have a problem where gradients after minimization using Adam Optimizer only changes from hidden layer to output layer. But not from input layer to hidden layer, it stays the same as the previous training step (so gradients are not all 0s).
My neural network has the following architecture:
Input layer: 150000 units (... |
I ran a Generalized Linear Mixed Model in SPSS and included 3 measurement levels (D1, D2 and D3) with 2 between-subjects groups (A and B) and the interaction effect between time and group. The interaction was not significant, but the main effects (time and group) both were. It is valid to run between and within post-ho... |
I am interested in a power analysis for a Poisson regression of the form:
$Y_{i,1} = \beta_{0}+\beta_{1}Y_{i,0}+\beta_{2}Z_{i}$
where...
$Y_{i,1} $=The count from the 'post period' for case $i$
$Y_{i,0} $=The count from the 'pre period' for case $i$
$Z_{i} $=An indicator (0 or 1) of treatment for case $i$
There are $n_... |
In https://en.wikipedia.org/wiki/It%C3%B4's_lemma
Under the section of Poisson jump processes, it is said that
We may also define functions on discontinuous stochastic processes.
Let h be the jump intensity. The Poisson process model for jumps is that the probability of one jump in the interval [t, t + Δt] is hΔt plus... |
Let's say I have a uniform random sequence of 0s and 1s.
I then calculate a 20-window moving average series of this sequence. Meaning the first data point of this MA-20 series is the average of all 0s and 1s between the first and 20th index of the sequence, and the second data point is the average between the 2nd and 2... |
I am trying to build a model which can recommend/predict a followup question based on the previous question.
Like "Did you attend the college?"
a followup question may be "What was your major at college?"
I am trying to build a deep learning model for the same. A approach that seems possible is using "Seq2Seq" model o... |
I am attempting to fine-tune the inception-resnet-v2 model with grayscale x-ray images of breast cancers (mammograms) using TensorFlow. As the images consists of both the left and right breasts, I have opted to do the following preprocessing:
The standard image whitening by subtracting the pixels mean value and dividi... |
A small question
In the book of Rasmussen Page 115 last paragraph. When we have multiple databases you setup a gaussian for each database and the optimisation is said can be done by adding the likelihoods as a single one.
What about the gradients? do I add the gradients?
If I have a simple gaussian with three hyperpa... |
Question: Let $X_1,\dots,X_n$ be iid exponential rate $\lambda$. Suppose we don't know the observed values of our experiments, but we know that $k$ values were $\le M$ and the remaining $n-k$ were $>M$ for some constant $M$. Find the MLE of $\lambda$.
I need to find the likelihood function $L(\lambda; \vec x) $, whic... |
I am trying out VIF in order to reduce the number of variables, by removing highly collinear variables. I will be using VIF in R, but before applying it, does my time series need to be stationary?I cant seem to find a list of its prerequisites. I am currently using principal component analysis and I want to cross it wi... |
Suppose we are training a neural network for multi-class classification, and we use softmax (or hierarchical softmax) as its output layer.
For positive examples, we need to maximize the log likelihood of training examples. We can calculate the gradient of the negative log likelihood for each example, and do stochastic ... |
I see two options:
Apply gradient noise before you apply an optimization method such as Adam (or just SGD with momentum or something else). I.e. you calculate the gradients, then you add noise to it, and then you pass the resulting term over to the optimization method (such as Adam) which will return the updates for t... |
In context to supervised learning, I have been told that the training dataset and testing data set must be obtained from same distribution whichever it is. That is, for a given supervised learning algorithm, if training data is obtained from say, a normal distribution, then test dataset must also be obtained from norma... |
Let $X_1$ and $X_2$ be independent random variables where $X_1 \sim \mathrm{Bin}(m, 1/2)$ and $ X_2 \sim \mathrm{Bin}(n,1/2)$.
How can we prove that $X_1 - X_2 + n \sim \mathrm{Bin}(m + n ,1/2)$?
Can a binomial variate be negative?
|
I'm looking for good references explaining how to design and analyze simulation studies (and, just to be clear, by this I mean the typical study you'd find in many modern papers, where you repeatedly generate data, estimate something and assess performance). The goal is to include this in a graduate computational cours... |
I have a dataset consisting data from 3 persons (2 male, 1 female) for a total of 56 days. Data consists time, location and human activity (3 weeks for male 1 and female, 2 weeks for male 2). I applied HMM to recognize human activity from time and location information and got pretty good accuracy (97%).
The sample size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.