instruction
stringlengths
9
38.7k
While reading about community detection and stochastic block model I came up with the article "Community detection and stochastic block models: recent developments" by Emmanuel Abbe. I saw there a definition of graphical channel which connects community detection with information theory. I have difficulty to completely...
How to measure the shift between two cumulative distribution functions (CDFs)? Specifically, in the image below, how meaningful is the shaded area? It is supposed to measure the shift between the green and the red CDF. On the x-axis, the value of the variable is given in arbitrary units, while on the y-axis, it's the ...
Say I'm constructing a GAM for a response variable R in terms of predictors A, B, C, and D. Something like this (in quasi-R-code): R ~ s(A) + s(B) + s(C) + s(D) Before I construct this model, I check for colinearity by calculating Pearson's correlation coefficients. This shows that A is slightly correlated with all of ...
In the training of very deep neural nets, the vanishing gradient is the problem that the gradients of weights associated with early layers are too small leading to small overall steps in gradient descent. This seems like a valid problem if the gradient is too small to be represented using available bits. But if this is...
I have finished my model reduction of a linear mixed model (and have used ML for this) and have found which factors that are significant in my final model. I am aware of that using ML is necessary when performing model reduction with likelhood ratio test and using REML is preferable when I need to get the estimates ou...
In the batch normalization paper it is mentioned that the same gamma and beta are used throughout a feature map for convolutional layers. I interpret this as the filter weights are consistently used throughout a feature map (i.e. only 1 channel depth), then this same filter weight will also have the same gamma and beta...
I am trying to optimize the hyperparameters for a Gaussian process. I am using a squared exponential kernel, where I am optimizing three parameters. $$k_y(x_p,x_q) = \sigma^2_f \exp\left(-\frac{1}{2l^2}(x_p-x_q)^2\right) + \sigma^2_n\delta_{pq}$$ As described by Rasmussen I am maximizing log marginal likelihood using i...
I have an image containing the elevation of an area (digital elevation model) and I need to determine whether this image contains buildings or not automatically. If it contains buildings I would need to remove it. If not the image should be smooth. I am thinking to try to determine whether the image has unimodal or...
Goal The goal is to forecast the prices all participating companies will set in period $t0$. Problem description It is a real world application, in which multiple suppliers offer the same product for the purchaser for a certain period in a reverse blind auction. Only one price per supplier is submitted for each period...
I want to approximate a multi-variable function $f(x_1,x_2,x_3,x_4,x_5,y)$ from data by neural networks, and $f$ satisfies $f(x_1,\ldots,x_5,y)=f(x_{i_1},\ldots,x_{i_5},y)$, where $(i_1,\ldots,i_5)$ is an arbitrary permutation of $(1,\ldots,5)$. How can I impose this constraint on networks? Thanks!
What are the best ways to compare (calculate similarity) between two bar plots? For example: a = {apple: 2, orange: 10, grape: 1} b = {apple: 1, cucumber: 2, apricot: 3, avocado: 2} Similarity (a,b) = ? I want to compare a and b. The things which come to my mind are Jaccard simlarity and Cross Entropy. Are there any ...
A recurring objectionable event is observed over a period of time. It could be a signal failure in TV reception, for example. We can assume that it is a Poisson process with a time varying wait between events. There is no significant clustering of events in time. For whatever reason, somebody declares the problem s...
I'm implementing a simple user-based collaborative filtering. So, basically, I use a user vector $U$, and similarity matrix of the items, $H$. But I have extra data about my items, based on which I construct another similarity matrix, $E$. There's a hypothesis that combining $H$ and $E$ will improve the overall perform...
Cover and Thomas ("Elements of information theory") define relative entropy as: $$H(Y|X)=-E[ \log p(Y|X)]$$ where $\log p(Y|X)$ is therefore a random variable defined, at least as I understand it, by composition with the function $p(y|x)$: $\Omega \rightarrow (X,Y) \rightarrow p(Y|X)$. My question is if there is a prob...
I am running a Fuzzy Regression Discontinuity Design using 2SLS. If I specified the model (and most importantly the IVs) correctly as i have never worked on a RDD before. The difference to the usual case is that i'm considering not just one but two cutoff points/discontinuities. The running variable is age and the two ...
I am used to think of correspondence analysis (CA) as dissecting the weighted departure from independence through singular value decomposition, but I cannot relate this to constrained correspondence analysis. Say I want to analyse a n-by-p count matrix Y with samples in the rows and variables in the columns. Then R is...
I am looking at plots of learning curves (accuracy vs training examples) in order to compare different feature extraction methods that I am trying using a bag of words model (term presence vs. term frequency vs. tf-idf) for binary text classification. I am using ShuffleSplit with 10 splits for cross-validation using Gr...
I have a situation where I'd like a DNN to learn the [unknown] mapping between two fixed-length strings. A [simplistic] example: "-+--++-++-" -> "968" "+-+-+-+-+-" -> "185" "-+-+-+++--" -> "766" I can normalize the characters in the input string to convert them into the numerical inputs required by the DNN but I'm not...
I have some parameters $p_1,\ldots,P_n$ distributed iid. with mean and variance $\mu, \sigma^2$. Then, for each $t\in\{1,\ldots,n\}$ I have $\{X_{1, t}, \dots X_{N, t}\}$ realizations of the Bernoulli experiment with probability $p_t$ (iid conditional on $p_t$), with whom I estimate $$ \tilde p_t = \frac{1}{N} \sum_{i...
I'm trying to use convolutional networks for classifying images of . In the training set, I noticed large variation in illumination and light intensity. In order to fix this, I'm considering Contrast-limited adaptive histogram equalization (CLAHE), which I was planning to use as a black box. Two parameters of CLAHE are...
I have to start by saying that stats is a foreign language for me. Thus being said, back to my problem. I am doing experiments with 3 technical replicates and 3 biological replicates. So basically I have 3 wells per experiment and in total 3 experiments from which I want to get a mean and a deviation. I started by av...
Let the relative efficiency between two estimators $T_1$ and $T_2$ of a parameter $\theta$ be defined as: $$e(T_1,T_2) = \frac{E[(T_2-\theta)^2]}{E[(T_1 - \theta)^2]}$$ This definition indicates that $T_1$ and $T_2$ need to be estimators of the same parameter, i.e. $\theta$. Taking location parameters as an example - m...
I have performed analyses using two different regression models, multi-nominal regression and Tobit regression. In the first model I measured the impact of 9 variables on choosing travel mode while in the second model I addressed the impact of these variables on trip time duration. After submitting to a peer review jo...
When doing complex survey design, does weights necessarily gross up the data to the whole population size or just up to a certain level, e.g. 50% of the actual population?
I am working with lavaan to conduct a latent variable analysis. I have a sequence of 5 indicators for a single latent variable. This is subsequently used in an structural equation model to inspect relations among several exogenous variables. To assess the results and my intuition for the SEM results, I want to look at ...
I know that when there is close to zero variance in either random effect, a perfect correlation can mean that the model isn't able to estimate both effects. However, I have a good deal of variance in my random intercept and slope. They are, however, perfectly correlated. I've read some conflicting advice on whether thi...
I was wondering about this problem while I was running a normal regression. Assume that we have the standard regression setup with one dependent variable $Y$ and an independent variable $X$, and the model is: $log(100/Y_i) \sim N(\beta_0 + \beta_1X_i, \sigma^2), i = 1, \ldots, n$. Suppose that we now fit a new model $...
I have a dataset with no labels. I've tried k-means to see how the data separates into multiple groups but haven't had much luck. As an alternate approach I was thinking to "manufacture" target labels and then run a classification model (binary or multi-nomial) to detect patterns. For example in the titanic dataset, s...
My goals is to classify a set of documents (e.g. 20newsgroups) into one of twenty categories. I can do this using Logistic Regression for example which takes as input a sparse $D\times V$ matrix in which each row is a document and each column represents a tf-idf smoothed count of words in that document. Instead of usin...
I have a small Bayesian network and I am trying to understand the results after applying some observed value / evidence. I have a net like below where $Y \in \{0,1\}$, $P(X) \sim N(\mu, \sigma)$, and $logit(p) = \beta_{0} + \beta_{1}X$ . (Y nodes are related to X nodes by logistic regression). If I add evidence that $...
I have a case-control experiment that produces one p-value of 0.002 for a given measurement (out of 100 measurements). If I shuffle the case-control labels and run the analysis 1000 times as a permutation test, 80 (or 8%) of my experiments will produce a p-value equal or lower to 0.002. In those 1000 pseudo-experiments...
I'm not a statistician and this is my first post on stackexchange, so I apologize if I'm not following guidelines. My situation is that I have a prognosticator who projects sales revenue for 30 different products in my company and I have 3 years worth of data. My goal is to determine what his predictions would look li...
I am running a sequence of post-hoc tests with glht (mutcomp package), but the function summary warns me that the algorithm ends with an error > abseps as in: > hr.ph <- glht(hr.lm, linfct = ph_conditional); > summary(hr.ph) Warning messages: In RET$pfunction("adjusted", ...) : Completion with error > abseps Does any...
I'm currently trying to perform a point-biserial correlation on my data, but can't seem to get the continuous data to follow a normal distribution. I've looked into other answers on this website and thus far I've tried Lambert, cube root, square root, asinh, etc. What further steps should I take to try and transform t...
I split my data into "estimation" and "holdout" sample, using "Select Cases" (and select only the cases I want to use as the estimation sample). Then, I created a time series using Expert Modeler in Forecasting. Doing this already gave me predicted values for the holdout cases (since my holdout cases were included in t...
I have a dataset that consists of pairs $(x,y)$, with: $x$ being a high dimensional vector of personal features (e.g height, weight etc) of individuals; the individuals belong to one of three different types of populations: young, middle-aged and old people. $y$ is their performance on some task (e.g, scoring a goal),...
I am wondering if there are some standard results to find rates of convergence of the MLE for different sub-parameters, when the Fisher information is degenerate. More precisely, suppose that I consider a parametric model with parameter $\theta=(\theta_1,\theta_2)\in\mathbb R^k\times \mathbb R^{d-k}$ and I suppose tha...
My data: Tracking forest communities (via species abundances) in various forest plots across time. My approach: Non-metric Multidimensional Scaling ordination I performed NMDS (using nmds() in the R package Ecodist), and then added change vectors to my ordination. The ordination was performed using 1000 separate ordi...
I have a large dataset with 800 columns and 6,000,000 rows with many dummy variables (70%+). I want to Normalize it. Given that so many variables are binary, taking values 0 or 1, I am tending towards MinMax Normalization which will render all continuous variables in the [0, 1] range and leave the dummy variables int...
I have a linear regression model where my dependent variable, cancellation rates is measured in terms of percentages and the independent variable, waiting times is measured in terms of logs. Suppose if the estimated beta coefficient is 0.24. Then what is the interpretation of the coefficient? Is it 1% increase in waiti...
Say that I have two logistic GAMs fit on two different datasets that have exactly the same types of predictors (i.e., the same columns, although they could be distributionally different), and I have estimates of $f(x_i)$ from GAM #1 on dataset 1 and estimates of $g(x_i)$ from GAM #2 on dataset 2. Does there exist a tes...
As I understand it, the Welch–Satterthwaite equation says that if $s_i^2$ is the sample variance of group $i$ (with $n_i$ samples), then, assuming that the measurements in each group are iid's that are normally distributed, the statistic $\sum a_i s_i^2$ has roughly $\chi^2$ distribution with degrees of freedom $\frac{...
I noticed that R computes the acf(data,n) in order $O(n)$ time, not $O(n^2)$, so it cannot compute it brute force using double for loops. How does R calculate it this quick? What is the algorithm?
I have my data for 10 years and I used ARIMA model to forecast data for 30 years. Now, I want to measure the forecasting accuracy for the next 30 years. How do I calculate each one of MAD, SMAPE, MAPE and etc....? Each one of these formulas needs actual and forecast data. How could I do with 30 years forecast, where th...
My question is whether the fact that two random variables, X and Y, are symmetrically distributed implies that their ratio, Z=X/Y, is symmetrically distributed too.
I am looking at performing a DOE using the Response Surface approach (control and noise modeled together) for a group of 2 Continuous Control, 1 Continuous Noise and 3 Categorical variables. 2 of the Categorical variables are Nominal, and the third is Ordinal. Ignoring axial points (I do not care about rotatability) a...
I've implemented in MATLAB the UCB algorithm for gaussian bandits with zero mean and unit variance (these means were themselves sampled from a gaussian prior of zero mean and unit variance). Now I want to plot the accumulated regret as a function of time against the Lai&Robbins bound. The plot shows that the Lai&Robbin...
I've looked for information on this, but there are a lot of different angles to addressing selection bias I'm lost on how to proceed. Here is the basic scenario: We collect data on n customers. Of those n customers, we follow up with on a certain number n_followup for additional screening. The decision of whether or ...
I am working with a large dataset that included subject's ages (continuous), sex (binary; Female or Male), service purchased (discrete & categorical, 7 levels), and year of purchase (set to be discrete). What I am trying to do is compare frequencies of demographic data and ornamentation details. Since I will be doing ...
I'm new to statistics, but I'm currently reading Algebraic Statistics for Computational Biology. In it, the authors state that we can define an exponential family with a $d \times m$ non-negative integer matrix, $A=(a_{ij})$, with the property that all column sums are equal. My question is why this assumption is necess...
I am interested in machine learning; I have a particular liking for RNNs. I have coursework in some areas of computer science, e.g., data mining, optimization for ML algorithms, deep learning, and an undergraduate degree in mathematics. I have been applying ML algorithms for a while. I have some coursework in basic ...
I'm not sure if this is possible, but I'm wondering if there is a way to determine/estimate the covariance between random variables where there is always missing data in one variable when another variable has a value. Hopefully an example will make this clear: Suppose I want to test a material for its strength propert...
I am new to Quantile Regression and have a couple of questions. First, assume I want to study the relation between a bond index and various financial variables such as an equity market index over the period 1995-2015, would it be necessary to use crisis dummies? I have seen both ways used in the literature i.e. estimat...
I have a dataset for events occurred in past year and other measurement around event for past one day, so if I have 10 events in past year I would have 10 days data just before the event for all the measurements. Measurements are more than 100. What kind of model I can use to predict the events? or what kind of algorit...
The blue dot is the (0,0) point. So there is clearly a reverse relationship between X and Y. but its not exactly linear. the slope is also deeper on the positive side of X. What kind of mathematical function can I use to transform the plot to fit a linear regression? I prefer a transformation to a linear relationshi...
It is intuitive that spread of the response residuals changes with mean. But, I am not sure how can I prove this mathematically. If $y_{i} \sim Po(\lambda_{i})$, what is Var$(y_{i} - \hat{y}_{i})$?
I have a dataframe as follows: New_Text | New_Score review1 | Positive review2 | Negative review4 | Positive ... and so on. I want to create a model that tells whether a review is Positive or Negative I have been asked to use only 30% of the data as training data and the rest as test data. Now, I can't use a s...
When reading on the wikipedia page of Calibration they said : " A reverse process to regression, where instead of a future dependent variable being predicted from known explanatory variables, a known observation of the dependent variables is used to predict a corresponding explanatory variable " Indeed, this confuses ...
I have with me two data matrices each of dimension n x p where n is the number of rows of observations and p = 2 is the number of variables. Each data matrix yields a covariance matrix using the standard sample covariance estimate. My aim is to determine, in a visual manner, if the two covariance matrices are signific...
I use 2 layer CNN network for NLP task with triplet loss with margin 0.2. The task is to learn document embeddings to find similar docs. My architecture is similar to this https://arxiv.org/abs/1406.3830 I use truncated_normal init function from TensorFlow to initialize conv weights. I also use AdamOptimizer with defau...
I have one dataset with 800+ records. This dataset contains two groups of studies (e.g. Group A and B). With the sample size of 261 and 581. I have generated the Desc stats using Excel tools. Both the Group A and B is left-skewed. With the mean of 4.3 and 4.6 and median of 5, based on Ordinal Variable (E.g. Rating of C...
I have two-way interaction on the two levels of the third categorical variable, the pattern looks different, why is three-way interaction non-significant? Thanks to all!
My thesis supervisor advised me to show standardized coefficients in my regression output (which show the change in the dependent variable if the independent variable increases by one standard deviation). Using the "traditional" coefficients, I usually report the coefficients and the standard error in the regression ou...
I am interested in the effect of a continuous variable on some Y. I have 4 conditions crossed with participant and 1 observation per participant per condition. I fitted a linear mixed model using lme4 looking like this: model <- lmer(Y ~ Cont + (1|Participant) + (1|Condition)) The model overfit when I included a rando...
I have a simulation model with several producers in which I vary an assumption concerning market structure (Cournot or competitive). The outcome of this model is a time series of prices. I am interested in the question whether historical prices can be better explained by Cournot or competitive behavior of the producers...
I've conducted a survey for my thesis where I ask a series of questions of the format: A statement relating to the experiment Then the participants answer strongly disagree (1) --> strongly agree (5) I have 14 responses and two groups, one control and one experimental (7) in each. With the answers to each of these ques...
One can identify identical distributions by the equality of their Moment Generating Function (MGF), if it exists. Let's say $X_i$ ($i>0$) are independent random variables drawn from an identical distribution with mean $u$ and finite variance $s^2$ Let $Z=X_1+X_2+X_3+\dotsm+X_N$ As $N$ gets larger we know that the distr...
As you may have guessed from the title, I am very confused as to which statistical test I should use for my data. So I have 15 individuals, for each of them I have several ( from 1 to 20) measures of the time they spent foraging. I also have two conditions, lets say A and B, under which the individuals foraged. What I ...
I'm constructing a GLMM using lme4 in R, and am unsure as to when it is and isn't best practice to center fixed effects. For this model (with logit link), for example: model <- glmer(dependent_variable ~ continuous_variable*categorical_variable + (1|random_variable), data = d, family = binomial) should the categorical...
Assume a population of businesses, each given a size value which is proportional to their popularity. The sampling design is as follows, and cannot be changed: 1. Choose a random business uniformly, disregarding their size. 2. Obtain a sample from that business (let's assume a categorical value). How should I adjust th...
Suppose I have some heavy-tailed data that I want to transform so it's roughly normal in order to perform a t-test. Shapiro-Wilk normality test data: NAPChange W = 0.72716, p-value < 2.2e-16 Then, I use the LambertW R package to transform the data so that it is closer to a normal distribution (as per this post)...
What analogies and differences exists between the Gaussian function on the reals $e^{-x^2}$ and the matrix Gaussian $\exp(-X^2)$ where $x\in\mathbb{R}$ and $X$ is an $n\times n$ matrix? Here $\exp$ is the matrix exponential. Is there a way to renormalize the matrix Gaussian so as to give it some sort of probabilistic/s...
I've been playing around with some random field models and noticed that the apparent differentiability seems to be related to the covariance function's behavior at 0. My initial guess was that if $\frac d {dx} C(x) = 0$, then a resulting random field would be differentiable almost everywhere. However, I got stuck tryin...
I have a result of text clustering based on TF-IDF. I have $k$ clusters. How can I get the representative terms for each cluster $I=1,\dots,k$ using the TF-IDF matrix? Is there any standard way to do so? Some preliminary ideas: Calculate the average TF-IDF per term, take the highest values. This is equivalent to ranki...
Some time ago I ran across a great reference which I have since lost. I'm hoping that either someone will know the source I'm talking about or be able to point me to the same test. Basically the argument is that you want to reproduce the classic tortoise and hare race to determine if the result was a fluke or not. You ...
I'm really interested in understanding the intuition behind multilayer perceptrons and neural networks. I'm following the Caltech video which is excellent https://www.youtube.com/watch?v=Ih5Mr93E-2c More specifically it goes through an example at 30 mins in where a circle classifier is approximated by intersections o...
I understand that in general MLE ha no requirement that the observation probabilities be identical or even independently distributed. But in order to decompose MLE in the conventional way — e.g. to express it as a sum of log likelihoods — my text (and several others I've skimmed) describe the observations as being "i.i...
Here is the homework problem. Basically, I have no idea how to get top 100 out of 400 homes just from a box plot. Not really looking for the answer explicitly, but I want to know how to read it or guess the answer. The following box plot was prepared based on data collected for a sample of 400 homes in zipcode 123...
I am performing illumination correction using regression methods, let's say polynomial method. If we use 3rd order polynomial in 2D we will have 10 coefficients to estimate. I manually chose these coefficient values and created an illumination profile as shown below using 'once' square in MATLAB. My question is, ignor...
I want to test seasonality for abundance plankton data, with somes NA and nearly equally spaced (every 2 weeks aprox., for teen years). Also some species have seasonal behavior, some years, other were sporadics, How can handdle this? and the last question is How can identify other regular pattern for this kind of data?...
I have a dataset where the number of possible predictors number ~ 2000. This is nutrition data of macro and micro nutrients from diet. Many of these are going to be highly correlated. The number of observations are only ~300. My understanding is there are some new methods that can handle the correlation structure be...
I have a Gaussian mixture model with some parameters mean=(506.8644,672.8448,829.902) sigma=(61.02859,9.149168,74.84682) c=(0.1241933, 0.6329082, 0.2428986) And the plot look something like below. Also, if I change my parameters to mean=(2.15,2.0,2.9) sigma=(0.1,0.1,0.1) c=(1/3,1/3,1/3) Then plot would change to ...
Suppose you have a case where there's a near-tie in K Nearest Neighbor Algorithm - 3 of the K Nearest Neighbors are in class A and 2 of the K Nearest Neighbors are in class B. (Obviously, K = 5). Effectively, that means that a single document is determining which class your item should be in. In this case, would K = 5 ...
I really like this histogram-come-bubble chart thing. It appears to have some force/physics elements. Does it have a name? Can anyone speculate how I might go about making one? https://pudding.cool/2017/07/comics/
In ranked set sampling, we select $n$ random sets, each of size $n$. Then we choose the largest unit from the 1st set, 2nd largest from the 2nd set, and thus $n$th largest from the $n$th set. This sampling procedure was first introduced by McIntyre (1952). The reference is A method for unbiased selective sampling, usin...
Now I used LIBSVM toolbox to solve a regression problem. However, I found a question that the value of MSE calculated by the toolbox was different with the value of MSE calculated by myself. Did you meet the question? The MSE is calculated by the equation for LIBSVM. What is the meaning of "l" in the equation? In my ...
In ranked set sampling, we select $n$ random sets, each of size $n$. Then we choose the largest unit from the 1st set, 2nd largest from the 2nd set, and thus $n$th largest from the $n$th set. This sampling procedure was first introduced by McIntyre (1952). The reference is A method for unbiased selective sampling, usin...
In Wilcoxon signed-rank paired test, the hypotheses are $H_0$: difference between the pairs follows a symmetric distribution around zero $H_1$: difference between the pairs does not follow a symmetric distribution around zero So 0 is both the mean and the median. Now suppose I have two groups of measurements and p...
I have a dataset that is not normally distributed - trying to prove 99.7% reliability of it being less than spec (spec=250). We typically would've used tolerance intervals if the data was normal for 95% confidence of 99.7% reliability, but in this case, that doesn't seem appropriate. I've tried to use Minitab's distrib...
Suppose... $ X\sim B(1,p_x)~~~~~~~~~\bar X\sim N(p_x,\frac{p_x(1-p_x)}{n_x})\\ Y\sim B(1,p_y)~~~~~~~~~~\bar Y\sim N(p_y,\frac{p_y(1-p_y)}{n_y})\\ $ How can we estimate $\frac{p_x}{p_y}$? Or what is the expectation and variance of $\frac{\bar X}{\bar Y},$ $E(\frac{\bar X}{\bar Y})$ and $Var(\frac{\bar X}{\bar Y})$?
Let $X$ be a random variable on $\mathbb{R}$ and $Y$ another random variable, independent from $X$ and also defined on $\mathbb{R}$. Let $F_X$ be the CDF of $X$. I'm interested in calculating the distribution of $F_X(Y) = \mathbb{P}(X \leq Y \mid Y)$. Is there a general way of calculating this? We know that if $X$ and ...
Why "softmax" is called "softmax"? How is it related to "max"? I am trying the following code and the results do not look like each other: a = seq(-1,1,0.05) b = seq(-1,1,0.05) softmax <- function(x,y) { exp(y)/(exp(x)+exp(y)) } par(mfrow=c(1,2)) c = outer(a,b,pmax) persp(a,b,c) d = outer(a,b,softmax) persp(a,b,...
I am attempting a classification problem where I am trying to assign a row of data to a category that has about 1,000 levels. My predictors are codes that are categorical and can be any of 10,000 possible values. I have between one and ten of these codes for each row of my data. The codes are not independent of each ot...
As per the recommendation, I am re-framing my questions. I am doing a Bayesian Regression where the parameters are truncated at zero ($0< \beta < \infty$, Assuming prior to follow truncated normal distribution). I need to prove the significance of the estimated parameters for the same. Do I have to go for conventional ...
I was noticing that some of my parameters where training faster than others. However, I was not sure of the source of this nor how to deal with it. The only thing that occurred to me is to have a different learning rate per parameters but that seems very hacky and difficult to scale (i.e. a human has to intervene for e...
I have generated random data from uniform distribution, runif(25, -1, 1) I am trying to plot the density , so I used the plot function, plot(density(runif(25, -1, 1))) I was expecting a uniform density like like this below What I am seeing is like this below, which looks like a normal distribution, Need help underst...
I'm looking for help with what kind of metrics (Skewness?) I could use to assign a number value to a certain preferred situation. Specifically, for nurses that do home care, patients always feel better when they are visited repeatedly by the same nurse. So consider these cases for a patient getting visited by nurses. ...
Suppose we have a random variable $Y^n(x)$ which depends on $x\in[0,1]$, and this $Y^n(x)$ converges in probability to $Y(x)$ which is a constant. Let a bounded and continuous function $f$ be given. Then for all $x\in[0,1]$, we have $\mathbb E[f(Y^n(x))]\rightarrow f(Y(x))$ by Portmanteau lemma. My question is: For an ...
If we want to include the context as a background knowledge, how can we do this when using a data stream mining algorithm. What are the possible forms of the background knowledge and how can they be integrated in real time? Thank you in advance
I am playing with the IRIS dataset and want to see underfitting and overfitting in action. I am using a multilayer perceptron (2 layers). It is pretty easy to underfit (see the plot below), but I am having problems with overfitting. The dataset capacity is 600 (# of samples (150) times # of features (4)), so I should ...