instruction
stringlengths
9
38.7k
I have 365 days of data ranging from 0 to 100. Shown in blue are the predicted values. The red line shows the actual values over the validation period. The solid line predicts the training data while the dashed line predicts the testing data. How can I get more accurate predictions when my data has such extreme values?...
I'm creating a recommendations system for an e-commerce web application. I need an algorithm. I've come across conditional probability, which might be what I need. I heard very little about recommendations algorithms built with conditional probability, and I need to hear thoughts if it's any good. This is how the alg...
I am new to machine learning, and have constructed a basic CNN classifier by retraining the last layer of the Inception v3 model with my own image set into two classifications. I did this in Python using Tensorflow, following the guidelines from here. I used two files to achieve this: retrain.py : Retrains the Incep...
I am using word embeddings as independent features to train a classifier (rf), and I am getting validation accuracy of 75% comes close to another built using hand engineered features. I am trying to interpret feature importances given by the model—do the components of a word vector mean anything that is useful for the...
I am using Kendall's Tau b to measure the strength of relationship between x and y, using the Kendall R package. x has many ties, y has a few (see image attached). If I correlate x with y, then correlate -x with y the tau values are identical, but the p values are not. x is an ordinal landscape health measure. I arbit...
Notation: X,Y - random variables f() - a function H() - entropy We know that $H(f(X)) \le H(X)$ (see e.g. Entropy of functions of a random variable) I read in a paper that $H(Y|f(X)) \ge H(Y|X)$. But I couldn't prove it: $$ H(Y|X) = H(X|Y) - H(X) + H(Y) \\ H(Y|f(X)) = H(f(X)|Y) - H(f(X)) + H(Y) \\ H(Y|X) - H(...
I am new to time series and I read some paper about all-pass models. An all-pass time series model is "an autoregressive-moving average model in which all roots of the autoregressive polynomial are reciprocals of roots of the moving average polynomial and vice versa". The mathematics behind are the same as ARMA & such ...
In book "Temporal Data Mining" by T.Mitsa, the problem given to illustrate Bayesian classification consists in the following training set of medical records: age hypertension diabete class <70 (cat.A) yes (cat.D0) yes (cat.E) C1 70-80 (cat.B) no (cat.D) yes C3 >80 ...
Can you please comment, validate, correct my reasoning here? I want to identify outliers of the value to mass ratio (V/M) of rice, just to give a simple univariate example. Prior information: rice world market figures say that the ratio is "around" 0.43 euros/kg or 430 euros/1000 kg for the period of time we're studyin...
Introduction: I'm studying "Statistics-Business-Economics-Paul-Newbold", chapter 6, topic: "Acceptance intervals" (page: 260). (https://www.amazon.it/Statistics-Business-Economics-Paul-Newbold-ebook/dp/B00IZ0834W/ref=tmm_kin_swatch_0?_encoding=UTF8&qid=&sr=) How Newbold defines acceptance intervals:(in other words, br...
In textbook statistical tests, we usually calculate the probability of observing the data we observed given that the null hypothesis is true, i.e. $P[D|H_0]$. If this probability is small (e.g. $<0.05$), we claim that the null hypothesis is unlikely given the data, i.e. we reject the null hypothesis. That is, we claim ...
I have been trying to decode a captcha using CNN. The number of training samples is 1,82,000. So far, I could achieve 99% accuracy on training as well as test set. The issue however is that LOCATION INVARIANCE is not achieved while training. The captcha text if slightly shifted horizontally gives bad prediction.Below i...
Suppose I have $N$ random variables $X_i$, $i = 1, \dots, N$. I am interested in the quantity $$ A = \mathbb E \left[\min_{i=1, \dots, N} X_i \right]. $$ Now suppose I take a subset $S \subset \{1, \dots, N\}$ of variables and calculate the expected minimum of those $$ B = \mathbb E \left[ \min_{i \in S} X_i \right]. $...
The proof for the MSE version appears not to depend on $T$ being a sufficient statistic. I provide a minimal version here: Let $\hat\theta,T$ be observable random variables, and let $\theta \in \mathbb R$ be fixed. Define $\theta^+ \colon T \to \mathbb R$ with $\theta^+(t) = E[\hat\theta|t]$ or short $\theta^+ = E[\hat...
I'm interested in how to incorporate information about the covariances of related timeseries from multiple univariate forecasts into each forecast. The ultimate goal of this is to implement hierarchical forecasts with prediction intervals, I am not considering a VAR here, I thought that this merited a separate simulati...
Sibisi and Skilling (1996, also mentioned in the 1997 paper) define Bayesian kernel density as $$ f(x) = \int dx' \,\phi(x')\, K(x, x') \tag{2} $$ Here the kernel $K$ is an assigned smooth function, possibly having a few width and shape parameters. $\phi$ is defined solely by integral properties. Thus it is an und...
I have a custom clustering algorithm that uses a custom "distance" metric - essentially, calculating a Pythagorean distance between points in five-dimensional space. How may I go about plotting these distances in 2D (i.e. what are the choices/steps for doing so), so that I can visually see the clustering?
For teaching purposes I want to show the similarity between a 3-way repeated measures ANOVA aov(y ~ A*B*C + Error(Subject/(A*B*C)), data) and the corresponding lmm assuming compound symmetry in R. From this response I found out that the corresponding lme4::lmer model is lmer(y ~ A*B*C + (1|Subject) + (1|A:Subje...
I'm training decission trees for a project in which I want to predict the behavior of one variable according to the others (there are about 20 other variables). Some time ago I was using simple logistic regression models in another project (using R). There is a nice feature in R where you can see the statistical signif...
Reversing linear dimensionality reduction algorithms by projecting new set of data in the learned manifold is very straight forward. I am interested in projecting new set of data on non-linear manifolds (eg.Sammon Mapping) and then reconstruct the high dimensional data using specific amount of components. Is there a wa...
Consider the additive hazards model: $$\lambda(t) = \lambda_0(t) + \beta^T Z.$$ I want to assume that the baseline hazard $\lambda_0(t) $ is Weibull. However, $\lambda(t)$ has to be positive by definition, thus $\lambda_0(t) \geq - \beta^T Z$. How can I impose such conditions in practice?
I have a data frame that looks as follows: description priority CDT JDT 0 Create Help Index Fails with seemingly incorre... P3 0 0 1 Internal compiler error when compiling switch ... P3 0 1 2 Default text sizes in org.eclipse.jface.re...
So I have several data sets, but each data set consists of only 7 values. I know some of the data sets are non-normal distributed, so my idea was first to do a Wilcoxon Signed Rank Test. But doing it (in python) it tells me, that my sample size is quite too small. They suggest n > 20, and as stated, I only have 7 for e...
Let's say I have a set of features: a, b, c, d, e, f. I'm now interested in identifying possible interactions between these features that best predict an outcome. For example, it could be that the features a, f, and the interactions a:b:g, d:f and c:e are the 5 most important factors that predict the outcome. It is not...
I have recently been looking into canonical correlation analysis (CCA) as a way to map between different spaces. As I understand it, CCA maps data from both distinct spaces to a common (possibly lower dimensional) space where they can be compared. It works in a similar way to PCA, choosing the direction from each inpu...
I have a de-trended and de-seasonalized time series, and it's distribution is not gaussian (see distribution in Figure 1). I tried modelling it with and ARMA model, but as we could expect, this model does not have good prediction capabilities (see Figure 2), especially for high values / maxima. My question is: is there...
I've performed multiple imputation chained equations to address missing data but I would like to perform PCA to obtain a SES index for which one of the variables I had missing data (MAR). Could anyone suggest how I may go about this in Stata since the mi estimate: command does not seem to accomodate this.
I found a phrase "closed form PPCA" with reference to the paper Tipping, Bishop - Probabilistic Principal Component Analysis. What does it mean? What is the difference with "normal" PCA? Does modern libraries like Python's sklearn calculate PCA or PPCA? Python's documentation refers to the paper of the same authors and...
I understand, in a correlation, r just signifies the relationship between two variables, and we CANNOT deduce that there is a causal relationship in the case of a correlation. By contrast, we use a linear Regression analysis to predict y from x, using the equation y= mx+c. Can we discuss that there is a causal effect ...
I am carrying out analysis of a large seedlings dynamics dataset (20258 seedlings from 7467 plots) which I am unable to share for privacy reasons, as it is not my dataset. In this analysis I am trying to determine how several explanatory variables (stem length, functional group, conspecific and heterospecific density, ...
In experimenting with the power of basic neural networks to learn particular functions, I was wondering whether a neural network can learn a random neural network. That is, if we take a neural network $N_0$ of some fixed shape, and randomly initialize the parameters, and then take another neural network $N_1$ of the sa...
After performing the following steps: 1) Split set into train and test 2) Do a grid search using k-fold cross validation on the training set to find the best hyper parameters Can we use these hyper parameters and train now a model using both the training and the test set? Why? Is there any theoretical reference to loo...
Convolution Neural Network (CNN) has been very successful in numerical features / inputs / independent variables, such as computer vision or or audio signal. And It can be viewed as extracting the useful information in frequency domain. (See What is the intuition behind convolutional neural network?) But would it be us...
I would like to implement Bayesian estimation [1, 2] to test for differences between the means of weekly wet day counts (days with observed precipitation > 0.2mm [3]) for a city in Canada using two datasets: one containing historical precipitation data from 2010-2016 and another containing precipitation data for this y...
I've done an experiment with several essays in humans, and I have the mean and variance of the results of all essays per human (each data point is not independent from each other because of the nature of the metric I'm using). I'm creating a model that predicts human behavior, and I want to know how well it is performi...
I'm facing with multi class classification task in Python. I've predicted the classes using fit () and predict () functions and want to make a custom function which will calculate the share of right predicted classes in the top 3 highest classes from predict_proba (). For example, if the actual class is '2' and the mod...
Context According to Becker (1968) and Elrich (1996) criminality study, the entrance of low income refugees with relatively lower scholarity than UK population would increase crime in the region. The main purpose of this work is analyzing if the entrance of refugees in UK statistically affected the criminality levels i...
There is a kind of a problem related to psychometrics I keep coming across in my research again and again. Unfortunately, I failed to find appropriate statistical model to solve it. Can anybody suggest a solution? Here is a my “supermarket” metaphor: You work in a supermarket which offers a diverse range of goods. Le...
If a sample of percentage results from 200 different populations has been transformed using the arcsine square root method how should the z scores of this transformed data be calculated? The method used by a colleague is below. However I feel there is an issue with this in particular the standard error applied as, in e...
All other algorithm scores have names that make sense, but the F-score is just "F". Was the letter chosen at random?
I have a binary response Y and a n*p X matrix as predictors, which n = 100 and p = 100000. I use logistic regression function to build the classification model. $ \log \frac{p(Y=1|X)}{Y=0|X} = \beta_0 + \beta_iX$. I want to check the predictive performance of MLE in the high-dimensional setting. I use the cross-validat...
Consider the linear regression model $Y=X_1\beta_1+X_2\beta_2+\epsilon$ where $Y,\epsilon$ are $n\times1$ vectors, $X_1$ is $n\times p_1$ matrix with full column rank, $X_2$ is $n\times p_2$ matrix with full column rank, and $\beta_i$ are $p_i$ dimensional vectors, for $i=1,2$. We assume the classical set up i.e. $\eps...
I have a fixed effect panel regression model using 'plm' function in R along with its 'within' option. It has three dummy variables x1, x2, and x3 representing four categories for my binary variables. So if all x1, x2, and x3 are 0, the forth category is 1 automatically. All variables and data are time varying. I use t...
Alright, I posted this same question over at MSE, https://math.stackexchange.com/questions/2395394/solving-ptrue-of-finding-counterpart-pairs-in-2-sets-with-constraints-involvin, I had a bounty on it for 100 and a user named Vincent told me he had solved it, and that it would just take a day or two to write out. Durin...
Given a large matrix, why is the ratio of a matrix's sample standard deviation and the standard deviation of the matrix of its row averages approximately equal to the square root of the sample size? test <- matrix(rnorm(1600), 100, 16) testRA <- apply(test, 1, mean) sd(test)/sd(testRA) What is the mathematical basis ...
I have seen the function pbtree (within R package phytools) be used to simulate phylogeny. How does this actually work? I'm particularly interested in the model distributions used to pick the time and branch which splits occur upon. Thank you very much!
I have two groups of customers. One received a promotion another did not. I want to determine the effect of the promotion. I created a simple linear regression with a dummy variable for weekend. $test = control + weekend$ This returned an R-Squared of .72 when applied to the pre-intervention data. When I applied t...
If we have two variables, A and B, we can compute a Pearson's r for them. Knowing how many samples we have, we can use a lookup table to find a p value. So, assuming good data (taken using a reliable measurement instrument from a representative sample), what does this p value tell us? Specifically, is it the probabilit...
Hypothetically, I am trying to make a graph representing the abundance of 4 species in a quadrat. I want to display this as a % of the total number each species represents. Here is an example dataset: Rep 1 Rep 2 Rep 3 Total Species 1 10 32 21 63 Species 2 2 19 ...
I am reading Multivariable Model Building: A Pragmatic Approach to Regression Analysis Based on Fractional Polynomials for Modelling Continuous Variables by Patrick Royston and Willie Sauerbrei. So far, I am impressed and it's an interesting approach I had not considered before. But the authors do not deal with missin...
Considering I have a dataset of which a part is shown in the image below: Basically it has some info about the football (soccer) matches from the past. Now based on the info let's say I want to predict a upcoming match. For example: for new data I have HomeTeam as Southampton and Away team as Newcastle and I want to p...
I have extracted data from a reviews website. I have created a dictionary with all words that appear in the reviews and corresponding number of counts. I have then spit the reviews into two samples: reviews_plus (reviews with 7 stars or more) and reviews_minus (7 or less). I have finally populated the two samples with ...
My question is whether it is plausible to have "Rate Ratio" showing an increased risk while "Odds Ratio" (based on the same data) showing decreased risk? I have an example in this article: http://jamanetwork.com/journals/jamapediatrics/fullarticle/203581 The article reported a rate ratio of 2.05 (95%C.I.= 1.06-3.97) fo...
Let's take a simple regression $y = ax$ with a $L^2$ regularization parameter $\lambda$. In Andrew Ng's coursera ML course, he uses a grid search to find $\lambda$. So for example, he will find for lambdas $\lambda = 0.01,0.02,0.04,\dots,1$ the optimal $a$ $$ \arg\min_a \sum_{(x,y) \in train} (ax-y)^2 + \lambda a^2$$ w...
I have the following density function which is a mixture of bivariate Gaussian distributions - \begin{equation*} f(\mathbf{x})=\frac{1}{3}\mathbf{N}_2(\mathbf{0},\mathbf{I}_2)+\frac{1}{3}\mathbf{N}_2\biggl\{\left(\begin{array}{c}-6 \\-6\end{array}\right),\left(\begin{array}{cc}1 & 0.9 \\0.9 & 1\end{array}\right)\bigg...
I am just starting in machine learning and wanted to make sure I understand the relationship between batch size and the number of features in the input data. I am referring specifically to the last chunk of code on this getting started guide provided by Keras: https://keras.io/getting-started/sequential-model-guide an...
I found a research article Nurses’ reports of staffing adequacy and surgical site infections: A cross-sectional multi-centre study and I want to know the reason why they used regression for their research. The research is about the relationship of work environment with the emergence of surgical site infections. They ...
i have a regression where dependent variable is a share variable that ranges between 0 and 100%. And independent variables are % variables, like let's say % of people in a specific age group. Suppose, the regression equation is like Y=0.5X1,+0.3X2+intercept... I want to know how to interpret. Can i say, for a 1% change...
I have no clue how to solve this question: Questions: Given that each of a,b,c,d and e is a digit from {0,1,2,3,...,9} and f is an alphabet from {A,B,C,D,...,Z} X has a Pareto distribution with parameters: $\alpha = 4 + a + 0.1 \times b, \\ \theta=10+d+0.1\times e$ Find the kurtosis (round answer to 2 decimal places) ...
I'm having trouble using the hyper-geometric test on a 2x2 contingency table. I have listed the null hypothesis below. Assuming the null hypothesis is: $$P = \frac{A}{A+B} = \frac{C}{C+D}$$ From here, how do I proceed with the hyper -geometric test? I'm aware of the equation for this test: $$P(X = k) = \frac{{a\choose...
I have a stock price data for each day for stocks A and B for 5 years. I am asked to calculate: 1-week, 1-month, 3-month and the 1-year correlation between them. I am puzzled as to the definition. Do I need to consider prices with the gap of 1-week (for example) to calculate 1-week correlation and similarly for others?...
I want to use the package 'MatchIt' in R to perform propensity score analysis. However, my dataset has 100 variables and to reduce the dimensionality I'm using Principal Components Analysis(PCA) and selecting around 60 of them. My question is, can matching be done on the PCs so obtained? Or can only the original datase...
In relation to the disorder I'm studying Screen A is reported as having a sensitivity of 90% and a specificity of 89%. Screen B is reported as having a AUC of .79 with no other data provided. Could someone please explain the relative difference between these screens? I assume screen A is more useful but but by how much...
I have a database which deals with categorical data with 50+ features and 30,000+ rows. The objective of the data is to find combination of features which occurs maximum number of times. For this I have been using Association rule mining(Market basket analysis). I need help in reducing the number of features within th...
I have a question about cross-validation and how the beta values are returned by cvglmnet. First, I understand that when using 10-fold cross validaiton for optimal parameter search, you take the parameters from the fold that gave the highest performance (in my case AUC). And this might be done preferrably after using ...
PCA is based on $L_2$ distance and is maximizing variance along the PC axes. What if we try a different distance measure (something else than $L_2$)? Do any methods corresponding to PCA but with different distance measures exist? Can they be more useful than the vanilla PCA under some settings?
I have looked for similar cases but couldn't really find the answer to my question. I want to assess the impact (with an OR in logistic regression) of a predictor X1 on a binary response variable Y and adjust for a confounding variable X2. The thing is X1 is known to vary in non linear way depending on X2 (e.g. a polyn...
I have three IVs with two levels/groups. My primary hypothesis is that there will be group differences for all IVs in total score. However, total score is comprised of scores on 7 subscales. Total score difference was hypothesised a priori, while subscale differences testing was done out of curiosity. 2x2x2 anova is ou...
I've done an STL decomposition of a time series. While trend accounts for major variations, remainder has a "cyclical" setup. I want to know what other forecasting methods I can apply to maximize data explanation via trend and seasonality and would like to see it decomposed. I only know of ETS as a tool. I'm a fresher ...
I do have a question related to the ur.df test in R with the (urca package). The data comprises a monthly time series over a span of 48 months. When testing my variables for a unit root, my results look like this: summary(ur.df(as.matrix(data[1]), type ="trend", lags=12, selectlags="BIC")) A ##########################...
I have analysed the market return using the runs test and the Durbin-Watson test to determine whether the return series follow the random walk or not. The problem I have found is that some return series is rejected by the runs test's null hypothesis, however, it is accepted by Durbin-Watson test's null hypothesis, and ...
I have a 2x2 contingency table with the following values: $$A = 20, B = 10, C = 200, D = 300$$ As you can see, the sample size is much larger than $20$, the recommended sample size if one were to use the Fisher's exact test. I read this post that suggested to do a simple $\frac{N-1}{N}$. However, I don't quite understa...
In most of the topic modeling prior literature with LDA, the number of topics is in the range of 50-300. In big data scenarios, we may need a large number of topics, say 10k or 100k.For example, if we are topic modelling the whole set of Wikipedia articles we need a larger number of topics to better represent the data ...
I have data of two different groups. From each data, I have say 100 samples, each sample having 20 features. I want to display the distribution of each of the two datasets. Now I have some very basic questions: If I want to fit a distribution to the data of each of the groups, do I fit a distribution to each sample o...
I would be very grateful if you would tell me how I can find the degree of correlation between a nominal dependent variable and an independent ordinal variable. The nominal variable has only two levels: YES and NO.
A pupil has come to me with data collected as follows. A questionnaire with 9 questions on part A and 19 on part B. Each question is either true/false or not answered. She coded the solutions with 1 for a correct solution, -1 for false and 0 for not answered. 38 subjects took part. She wants to test whether the questio...
I've ran an experiment in which different situations were presented to subjects in a random order, on which I measured a result out of $y \in {-1,0,1}$. I'd like to show that $y$ is order-independent, meaning that the answer ratio was the same either if it was on the 1st trial or the last one. My data is clearly shows ...
These are the important assumptions we need to verify before conducting the actual regression analysis? How do we carry out the Data inspections for #3, #4, #6? Assumptions: 1. a continuous dependent and an independent variable. 2. Linear relationship between the two var 3. independence observations 4. homoscedascity...
I have a significant interaction between within and between factors. Planned contrasts for simple effects revealed significant difference in one group, but no difference in the other group (as expected). Do I need to employ alpha correction for the simple effects in this case? Thanks!
I understand that Fisher's LSD test is used as a post hoc analysis if the ANOVA test rejects the null hypothesis All the means $X_1, X_2,.. X_n$ taken from various samples are equal. Also, given that if we reject null hypothesis via ANOVA, we can definitely find at least one pair of means $X_i \& X_j$ such that Fishe...
I am working with a data set that has 18500 dimensions and 450 observations(p>>n). I am coding on R and I am looking at using LASSO, Ridge and Elastic net regression. I am also looking into performing some form of variable selection with PCA or SVD. I know that I want to compare different models, first using Ridge, LAS...
I'm trying to choose the best distribution family for generalized linear regression. My outcome is cross-sectional, over-dispersed proportion data (# of behaviors/20-22 possible behaviors). I used the functions fitdistr and plotdist from the package fitdistrplus to visually rule out the binomial and poisson distributio...
I understand how LSTM can be useful for time-series or a series of words in order, but I'm curious if LSTM would provide benefit when the ordering of the inputs is not controlled. For example, assume I'm trying to make a binary classification decision. My input is a list of 10 User IDs fed through an embedding, and tha...
I have a collection of pairs of continuous values (x1,y1), (x2,y2), ..., (xn,yn). I'd like to perform a test to see if they are independent. I don't want to assume the relationship would be linear or anything in particular, e.g. I'd like to catch relationships like y=x^2, y=abs(x), .... I realize I could e.g. subdi...
In model selection with $Y$ as the outcome variable and $ X = (X_1, \ldots, X_p)$ the explanatory variables, why do we care about $F_{Y|X}$, the conditional distribution of the outcome $Y$ given the covariates $X = (X_1, \ldots, X_p)$? I read that this is often times the object of study on model selection. Can anyone t...
I was reading this question regarding large scale regression (link) where whuber pointed out an interesting point as follows: "Almost any statistical test you run will be so powerful that it's almost sure to identify a "significant" effect. You have to focus much more on statistical importance, such as effect size, ra...
Given the following simple linear regression model: $$y = ax + \epsilon$$ where the variance is normally distributed, I'd like to learn the maximum likelihood estimates for $a$ (which is a scalar) and $\sigma^2$. I'm confident in my estimate for $\sigma^2$ but not $a$. First I derived the log likelihood. I obtained: $...
When we are trying to measure a latent construct (let's call it $C$), we often give people a number of items $X$ to fill out (let's call them $x_1, ..., x_q$ where $q$ is the number of items) that we assume measure this latent construct $C$. Let's assume that all of $x_i$ are a valid measure of $C$. When we do an explo...
I am a brand new Stata user and I am not sure I understand the print for my logit. I have the following command in Stata: logit won i.dum1##(c.srto) dum1 is a dummy variable 1 or 0 srto is a continuous variable I get the following result: -----------------------------------------------------------------------------...
I would like to confirm my understanding. Is it true that a (simple) exponential smoothing model with alpha (smoothing constant) = 1 is the same as MA(1), which is in turn the same as a random walk model? (i.e. using only the most recent observation as the forecast for all future periods)?
I have read through the R documentation of lvplots, but it didn't provide enough material on how I would interpret these plots. I want to just have an intuitive idea on interpreting these plots. I know for k=2 , the IQR and median are represented. What boxes are created when increasing the value of k > 2 , what does t...
I am taking an introductory stats course this semester and have two questions regarding the following problem: Suppose that 8% of college students are vegetarians. Determine if the following statements are true or false, and explain your reasoning: A random sample of 125 college students where 12% are vegetarian...
Consider a simplest possible neural network with two layers, Input with 2 features, a hidden layer with 2 neurons with sigmoid activation function and output layer with single neuron with activation function sigmoid. Me being newbie, trying to understand in hidden layer, what makes the calculations in neuron 1 differen...
I work in a group that deploys models that are trained offline and evaluated offline before being deployed. THis is for an ads ranking system. We also record whether the user clicked on our prediction or not. At times, we find that the online performance is much worse than what we had found in the offline performance. ...
The field of model selection is well known - e.g. AIC, BIC, MDL and such. However, I cannot find what people do after the modeling part is done, i.e. once I've chosen a specific model for my set, I need to estimate the model's parameters, don't I? In most model selection criteria, Maximum Likelihood estimation of the p...
I have a question regarding Shrinkage Methods. I am currently writing a term paper about ridge regression and lasso and before explaining the two methods, I want to give some theory on why shrinking the coefficients can help to improve prediction results. I found a very cool coursera course on machine learning from the...
I am messing around with some stock returns data to compare the performance of a PCA model to that of an autoencoder. Both models are dimension reduction techniques. My returns set is for around 2500 US stocks. I am fitting a PCA, discarding most of the eigenvectors, then reversing the rotation using just the first 10 ...
I am currently teaching Maths to a large class of $200$ high school students. At the first class, I did a test that covered every lesson of Geometry (G), Algebra (A), Basic Statistics (S), and Trigonometry (T). I personally think 200 students in one class is too much so I want to divide them into $10$ classes with 20 s...
What areas/applications that still use traditional computer vision algorithms instead of deep neural networks?
I read that correlated variables are always dependent but dependent variables may be uncorrelated. Can anyone please correct me if I am wrong? And also explain me intuitively the difference between correlation and dependence in variables with an example? I will be very thankful