instruction
stringlengths
9
38.7k
I have a list of 1D values, like this: x = [20 21 30 31 200 201] These values have corresponding weights: w = [100 100 100 100 1 1] I know that there are $k = 2$ clusters in this dataset. Using regular k-means results in centroids = [25.5, 200.5] But I want to take the weights into account, making the values near 20...
I want to run a regression analysis with the following variables: Y = Dependent variable X1 = Independent variable 1 X2 = X1/Z = Independent variable 2 Note that X1 and X2 are confounded because both are based on X1 (i.e., X2 is the ratio of X1 with another variable, Z). There is a positive relation between X1 and Y....
We are given a spreadsheet with data on cars, n = 42. Some cars are either automatic, or manual. I have concluded from the data that 0.53281 of cars in the sample are Automatic, and the rest are manual. So far I have a null hypothesis of mu <= .6 and an alternative hypothesis of mu > .6 With the Z observation formula I...
I inspect a road network's condition every three years: +-----+-----------+ | age | condition | +-----+-----------+ | 0 | 20 | | 3 | 19 | | 6 | 19 | | 9 | 18 | | 12 | 18 | | 15 | 17 | | 18 | 16 | +-----+-----------+ The rating system is from 0-20, 20 being p...
I have data about restaurants, their dishes and customer's orders. Then I want to cluster dishes in restaurant's menu by customer order. So clusters will be dishes in order and criteria of similarity will be price, ingredients and location of restaurant where dish is served. For example if there is a Americano coffee i...
Background I recently watched a 2014 Talk by Geoffrey Hinton (a key researcher in Machine Learning literature) where he discusses the concepts behind the recently published Capsule Networks. In the talk, he makes the general statement that coincidences are less likely to occur in higher dimensions. Intuitively I can un...
There are numerous discussions on this site concerning how to control for certain variables in regression analysis. How exactly does one “control for other variables”? How do you "control" for a factor/variable? Is there a difference between 'controlling for' and 'ignoring' other variables in multiple regression? Ho...
In optimization with gradient descent I update cost function parameters with respect to the negative gradients. In gradient boosted treed, I update the prediction function by calculating negative gradients and then fitting a tree to them. Why bother and go through the last step of fitting? Just to add an example for il...
I was reading the textvae paper (A Hybrid Convolutional Variational Autoencoder for Text Generation). There are some things in the paper that are counter-intuitive to me. First, "In most cases the model converges to a solution with a vanishingly small KL term, thus effectively falling back to a conventional language mo...
I found the definition of SVM polynomial kernel is $$K (x, x′) = (1 + (x · x′))^p$$ I want to know why it add $1$? Does the kernel $K (x, x′ ) = (x · x′ )^2 $ a linear kernel or a polynomial kernel? Why?
Obviously, error terms can be correlated with explanatory variables. E.g. see this. However, I came up with an argument why they cannot be, so I am wondering where the mistake in my argument is. Assume we have a "true" linear regression model $$y=\beta_0+\beta_1x_1+\beta_2x_2+\epsilon$$ Where $E(\epsilon|x_1,x_2)=0$ B...
Is it always possible to find a one-class SVM with given true positive rate (TPR)? I used 1-D grid search with cross-validation to find the width parameter of RBF kernel with .90 TPR. The closest model I found has average .79 TPR using cross-validation. I am not talking about the prediction on unseen data yet; just t...
My supervisor has written some (relatively draft-like) R code that implements an idea from Optimal Experiment Design. However, during instead of using KL divergence $D_{KL}(P(M | Y = y) || P(M))$ as proposed in the paper (similar to the step on page 3, return KL( mPosterior , mPrior )), he directly used the absolute v...
first of all, I apologize about asking this question again since a similar one was posted recently; I had to repost it since I still don't understand the answer and I had no other way to interact with those who answered. That said, I can't fully get how the "training set vs. origin" logic can work in One-Class SVM, eve...
I have forgotten the name of this term. If I were to create a regression model in which one of the independent variables perfectly i.e regressing y ~ y(t-1), which would imply a causality issue, what is the name for this error?
I have GDP Time series, that has a positive stochastic trend trend: > CADFtest(logGDP, type= "trend", criterion= "BIC", max.lag.y=max.lag) > ADF test data: logGDP ADF(3) = -2.5019, p-value = 0.327 The first differenced log GDP time series removes the trend and looks like: and is stationary: > CADFtest(dlogGDP, ty...
Is there a single English word to denote the "number of columns" of a matrix? For example, "dimensionality" of a $2\times 3$ matrix is $2\times 3$. I need a term for $3$ in this example. I can always just say "number of columns", of course, but could I have a single word for it?
I am a bit new to this, but I was hoping to get some guidance. I have a large dataset of cash register sales. It shows items sold, returned, or given away for free by the sales person. The 3rd item is what I want to look at to see if 1: this can be used to predict theft? 2: Is a manager at a given store more likely...
I'm working through Hierarchically Supervised LDA by Perotte et all (2011). The conditional posterior I'm supposed to sample values $z_i$ from, however, is zero almost everywhere. To see why, lets have a look at the conditional posterior I use in my Gibbs sampler: \begin{equation}\label{cond_post} p(z_{i}=k| \mathbf{z...
I have 2 predictor variables which both have a low correlation value(0.007 and -0.017) with the response variable. What does this low correlation tell me? Can I somehow alter the predictor variables by taking their log or some other function to increase the correlation value?
I have a dataset which includes responses to a survey given to two groups. One of the group has 350 respondents, while the other is greater and contain ~ 4000 respondents. An example to a question is: How much time do you spend on TV, out of your total leisure time? The responses are: (a) A lot (b) Some time (c) Not th...
I have an experiment in which participants can either make an A-, B- or C-type response. Each participant completes ten trials of the experiment. For each response a participant makes, they will receive a score of 1. After the ten trials, they will receive a score of 10 distributed across the three match types. For exa...
Say $\boldsymbol x \sim t_5(\boldsymbol\mu, \boldsymbol\Sigma)$ is a $p$-dimensional multivariate t distributed random variable with $\boldsymbol \mu \in \mathbb{R}^p$ and $\boldsymbol \Sigma \in \mathbb{R}^{p\times p}$. Be $\boldsymbol w \in \mathbb{R}^p$ a constant vector. What are the probability density and distrib...
I'm conducting a clinical survey which has a really complex experimental design and I have doubts about what factors need to be considered as nested and which crossed. The study include 30 subjects, 15 with colorectal cancer (CRC) and 15 healthy controls. In the two groups 5 subjects were not treated whereas 5 were tre...
Suppose we have a linear regression model with autocorrelated error terms and we know it is AR(1) by for example investigating both the ACF and the PACF plot (I know there are probably more sophisticated methods, but I am an undergrad student with basically no or minimal experience in this field). I do not understand w...
I have some questionnaire data were participants rated with [0, 1, 2, 3, 4] whether a product helped with respect to several attributes. 0 indicates that it didn't help at all and 4 is very much. I am wondering whether I can somehow get some significance for each of the different attributes whether the product really h...
Is it possible to train a neural network (that outputs mean and standard deviation) with maximum likelihood? What does the setup look like and is there any tool supporting it?
I have a 3-level repeated measures model with observations (level-1) nested within patients (level-2) nested within providers (level-3). My hope is to partition variance at both the patient and provider level, but also within each level based on the patient's racial-ethnic status (1 = rem, 0 = non-rem). I have 1,500 pa...
I was looking at this example and I got to the point where they use $\beta_0=-222.$ My question is where did they get those parameters, since they state the $\beta_0$ is when $X=0$ but since it is not in the scope of the scatter plot then they just mention that "it is not much of interest," does that mean that we can...
I'm training a NN using MSE as loss function and SGD as optimizer. The Y values are normalized between -1 and +1. After about 20 epochs the current loss is 0.0085, while it was 0.5 at the beginning of the training. I would like to understand if and how further training is impacted by having a small loss. Can someone ex...
I've been struggling with this challenge in my notes for a while: Suppose I have a sample of size n taken from each of: $X_1 \sim N(a+b,\sigma^2)$ and $X_2 \sim N(a-b,\sigma^2)$ where $a, b > 0$. The sample observations are denoted $x_{ij}$ , $i = 1, 2$ and $j = 1, . . . , n$. What are the maximum likelihood esti...
I have a dataset of molecular sequences from which I have inferred a phylogenetic tree (a.k.a a dendrogram) with various algorithms (maximum parsimony, neighbor-joining, and maximum likelihood). What I would like to know is whether there is a way to measure the effect that either one character or several characters has...
A random sample of size $n_1$ is to be drawn from a normal population with mean $\mu_1$ and variance $\sigma^2_1$. A second random sample of size $n_2$ is to be drawn from a normal population with mean $\mu_2$ and variance $\sigma^2_2$. The two samples are independent. What is the maximum likelihood estimator of $α...
Response = Unique User per URL Factor = Group by Enrollment Number Block = Group By Enrollment Number URLs are for school district, which has varying enrollments To account for variation in user numbers based on enrollment, I have it blocked when testing other factors. I also want to test if a URL gets higher users bas...
I want to find the best hyperparameters of a neural network by a grid search. Let's say I have: activation (ReLU or sigmoid) batch size (32, 64, 128 or 256) so my space of hyper-parameters has 8 points. My data is: [1 2 3 4 5 6] I have limited data, so I do k-fold cross validation for each hyperparameter choice. F...
I have a couple of questions regarding random effects (or hierarchic models). I am doing some analysis of experiments where I measure a gene expression within three replicates and compare the results of a healthy and sick group. In order to propagate the measurement information, I understand I should include all replic...
Can somebody explain me how to test whether simple slopes are significant? ...and is it necessary to test the significance of the simple slopes or would it be sufficient to plot the slopes and describe the effects? I performed a moderation analysis with a regression, i.e. a regression with an interaction. The interacti...
I want to do a full Bayesian analysis of a Gaussian process regression problem: $$x\sim{GP[\mu,K(t_i,t_j)]},$$ where $\mu$ and $K$ are mean and covariance functions and $$K(t_i,t_j)=\sigma_f^2\exp\left(-\frac{(t_i-t_j)^2}{2l^2}\right)+\sigma_n^2\delta(t_i,t_j),$$ where $\sigma_f^2$,$l$, and $\sigma_n^2$ are parameters...
With the limited knowledge I have on SVM, it is good for a short and fat data matrix $X$, (lots of features, and not too many instances), but not for big data. I understand one reason is the Kernel Matrix $K$ is a $n \times n$ matrix where, $n$ is number of instances in the data. If we have say, 100K data, the kernel m...
We are comparing two sets of data for microbial growth. In one column I got 36, 23, 35, 30, and 34 In the second I got 29, 20, 30, 26, and 29. I am trying to compare them to see if they are statistically different. The way it was done before looks like they are doing a t test, but the way they did it was taking the dif...
I have used cause-specific Cox regression to identify predictors of cardiovascular mortality. When doing this kind of analysis, are there any model assumptions to test for? Thanks in advance!
I have the following non-linear model $(y_t -X_t\alpha)^a=u_t$ where $u_t $ ~ $N(0,\sigma^2)$ Assume taht you estimated this model consitional on $a=1$. Calculate an Lagrange Multiplier LM test which you could use to test this restriction without estimating the unrestricted model. My attempt is as follows: Model: $...
I have a dataset of monthly air pollution levels (i.e. PM2.5) as well as a corresponding dataset with monthly rainfall amount (i.e mm) spanning several years. These datasets have moderately strong, negative relationship (i.e. R-squared = 0.6). I show an example of the data below. I have read in several articles where p...
I read papers that when the authors implement their regression algorithm (mainly using Conv Net) they sometimes use the correlation to evaluate their regression algorithm even though they used the Mean Square Error (MSE) as the loss function for their regression algorithm. My question is what does the correlation give ...
Imagine there are 4 pots (Pots 1, 2, 3, & 4), each with 8 unique items. Suppose we then draw from those pots into 8 new groups, in the following way: Draw from Pot 1 and place each item in a different group Draw from Pot 2 and place in a new group (each group now has 2 items) Draw from Pot 3 and place in a new group (...
I have data on patients receiving an SPK (simultaneous pancreas-kidney) transplant. Of interest is the effect of developing the BK virus post-tx on outcomes such as death-censored graft survival. I initially fit a Cox model in SAS as such, adjusting for age at transplant and whether the recipient was white: proc phreg ...
I have a convenience sample of patients in a ZIP Code Tabulation Area (ZCTA) for whom I know their gender and age. I also have census data for the ZCTA (in particular I have 1) the percentage of males and females in the ZCTA, and 2) the percentage of the (estimated) population of the ZCTA that is made up of different...
df <- data.frame(a=runif(1:100), b=runif(1:100), c=runif(1:100), d=runif(1:100), e=runif(1:100), f=runif(1:100)) I would like to model multiple interactions of the effect of b on c, b on d, b on e, and b on f. What is the difference between specifying a single model with all interactions and their main effect. summary...
I've made a logistic regression model with a categorical response variable of two levels (YES/NO coded as 1/0) and a numerical predictor value (measured in ms). I need to figure out a way to generate the value of the predictor variable (ms) needed to give a probability of $x$ for "YES". For example, what levels of the ...
For me it sounds intuitive, but I am having a hard time to come up with a proper proof for the following statement (if it can be demonstrated). Let $y$ and $c$ be two strictly positive random, stationary variables, not necessarily having the same pdf. How can I show that $\text{Var}(y \times c)$ increases by increasing...
This is more of a conceptual question, but let me know if more details are needed. Say I am predicting test score and my explanatory variables are subject and study time. I can easily create a linear model of the form: $score \sim subject + studytime$ However, I know that there are some random effects caused by the ac...
I did my undergrad in computer science and have minimal background in statistics (i.e., several courses during my undergrad). I've been working on a side project attempting to validate Metcalfe's Law in the context of the network value of cryptocurrencies (i.e., their price X number of coins in circulation). Metcalfe's...
(I'm aware there are other related questions.) I'm struggling with the concept of "controlling" in a regression analysis where one variable is binary (0,1) and a Professor of mine said in our stats class that the term control or ignoring is not right: "It is not ignoring Group, it is taking the average outcome for th...
Let $X$ be a random variable with some distribution $f_X(x)$, and assume that we generate $X_1, \ldots, X_N$ i.i.d. samples from this distribution. For simplicity, assume $X_n \in \mathbb{R}$. Then it is clear from elementary probability theory: $$\mathbb{E}(X) = \int\limits_{-\infty}^\infty x f_X(x) dx$$ If we have...
I was reading law of large numbers when I ran into this confusion. I am asking this doubt in context to coin-toss or dice-throw scenario. We are having i.i.d random variables $X_i$, $X_2$....$X_n$, and we define the sample mean of it as $(X_1 + X_2 + ... X_n)/n$. What does this sample mean signify ? Option 1: There ...
I'm really new to this.. I've tried to normalize the data with log, sqrt, Z, normalize function but doesn't work. It stays strongly right skewed. Data has many 0's in it. How to deal with this?
I'm looking for a very simple explanation as possible for Baum Welch and Viterbi for HMMs with a straightforward well annotated example. Almost all of the explanations I find on the net invariably jump from the beginning into an almost completely jargon/symbol based explanation. The few times they have an example it is...
Let's say I have a column x with uniform distributed values. To these values, I applied a cdf-function. Now I want to calculate the Gaussian Copula, but I can't find the function in python. I read already, that Gaussian Copula is something like the "inverse of the cdf function". The reason why I'm doing it comes from t...
How can I find the correlation between a categorical (dependent) variable and a continuous-scale (independent) variable? Is a Kruskal Wallis test appropriate? I'm a little confused as my independent variable is not nominal but scale!
Skimming through scientific papers I bumped into both correlation and cross-correlation. How similar or different are these two concepts?
In variational methods, given a set of latent variables $z$ corresponding to visible variables $x$, why is it that the probability distribution $p\left(x\middle|z\right)$ is tractable to compute, but $p\left(z\middle|x\right)$ intractable? My current understanding is that$$ p\left(x\middle|z\right) = \frac{p\left(z\mid...
About QQ-plot, for one dataset, the x-axis shows theoretical quantile and y-axis shows sample quantile. So the more points gather on the y = x line, I can think that the more sample quantiles are equal to the theoretical quantiles. Then I can conclude the sample distribution is similar to the theoretical distribution s...
I'm not very familiar with statistical terms, so sorry if I messed up with some namings. If I have a data set with names and ages. Example: Tom 12 Jenny 14 Joe 15 Kate 14 And I have a the following choices of ages: [11, 12, 13, 14, 15, 16] Let's say I don't know the age of each person, I have a task to calculate the av...
I am new to data mining and am manually implementing decision tree classification on a dataset with all continues values. A very small sample dataset of 4 attributes (columns) would be like this: 0.012 0.64 5.6 1.12 0 0.03 0.48 13.03 0.75 1 0.02 0.19 1.3 2.92 0 0.043 0.37 1.53 0.9 1 ...
I have a yield loss data(due to some climate disasters) for each year as below, I want to fit the dataset with some distribution function such as normal, weibull, gumbel and so on, It seems like a weibull distribution from the histogram plot, but the goodness of fit result show a bad Q-Q plot, and the k-s test reject a...
I am looking into conducting some simulations. For those simulations I need to generate observations of variables $X_1$ and $X_2$ (suppose that both variables have mean zero) such that $X_1$ and $X_2$ have non-zero correlation but at the same time the second conditional moment $$V[X_1 |X_2=x_2]$$ does not depend on $...
How fast would the observed autocorrelation in a sample converge to the true autocorrelation (say, an AR(x) process)? Are there any results like the Central Limit Theorem - which says that the sample mean of a random sample converges to the true mean at a rate of $\frac{1}{\sqrt{n}}$ - or the Berry-Esseen theorem that ...
For a certain dataset, I am finding the k closest points in my dataset to the centroid of the dataset. Are these k points the k medoids or are medoids something completely different. If so, is there any mathematical term for the points that I'm finding? I use 2 distance metrics, one is the Mahalanobis distance and the ...
I would like some help with a GARCH(1,1) volatility modeling. I am working with the assumption the volatility is the weighted sum of three factors: Long run variance + $n-1$ squared return + $n-1$ variance If that is accurate, my doubt is, what is the difference between the 1st and 3rd parts of the equation? I was rea...
I'm intrigued by the structure of some correlations after a hierarchical, or second order, factor analysis The explanation in the paper only goes as far as to say 3.3. Intercorrelations between psychopathic, narcissistic, Machiavellian, and sadistic traits Psychopathic, narcissistic, Machiavellian and sadistic tra...
I have a discrete data set showing number of customers entering a shop per day, with the following descriptives: n=303 min=531 max=1695 mean=1100 Std: 193 As I want to run a monte-carlo simulation to show the customers per day, I want to find the best-fitting model to describe the data. My problem is that the data fits...
I have an msts time series, hourly data of electricity prices that have daily, weekly and yearly seasonality. I am decomposing the data using TBATS. Data I am using covers 365 days. Residuals have almost zero mean and a normal distribution. However there seems to be some correlation. The data I am using has a lot of sp...
I am not quite sure if I understand the concept of the AIC and the model order of a time series model correct. My understanding is that it is some kind of algorithm which looks like Take the ARMA (1,1) model, estimate the parameters via Maximum Likelihood With this Maximum Likelihood, calculate the AIC of the ARMA (1,...
Page 4 of this notes says Let $Z_n = \sqrt{n} \left(\hat{\theta} - \theta_0\right)$. $Z_n$ converges to $\mathcal{N} \left(0, J^{-1} V J^{-1}\right)$, where $J=-\mathbb{E}\left[H(y;\theta_0)\right]$ and and $V=\text{Var}(s(Y;\theta_0)).$ $\hat{\theta}$ is MLE estimator. $H(y;\theta_0)$ is the Hessian matrix of log-li...
I am studying a paper and while I have done a lot of additional reading, I would like some hints on on this issue as I am somewhat stuck. My question is whether a Structural Equation Model of the Latent Profile sub-type would require random IID probability sampling in order to use BIC to test model fit?
I'm studying about exponential smoothing methods and something I still can not understand is the behavior of level and trend components when you increase and decrease level and trend smoothing parameters. Let $\alpha_1$ and $\alpha_2$ be the smoothing parameter for the level and $\beta_1$ and $\beta_2$ the smoothing pa...
How can I fit a polynomial to my data using gradient descent in python?
So I am trying to fit a real data set with initial plot of acf being But I don't recognize a time series with an ACF that looks similar to this. Should I try differencing? I attempted to remove seasonality on my original data and formed a residual series. For which the acf looks like
If I have some data in $\mathbb{R}^N$ space, with $N$ beiling large and I want to estimate the density function of this data, $\mathbf{P}_{data}(x)$, using the fantastic property of neural networks that allows approximation of very complex functions...I will then start with some parameterized formulation $\mathbf{P}_{m...
My question is related with a simulation Professor John Guttag did in the 15th lecture of the course MIT Opencourseware "Introduction to C.S." The program simulates multiple fair coin tosses experiments. It sets multiple values for n, the number of tosses in each experiment and for each n, it repeats the experiment m t...
I've been searching but I couldn't find on the internet if there's any significance for the integral of the pdf squared: $\int_\mathbb{R} f^2(x)$ That's because, as an alternative of Shannon entropy, you could measure the entropy (or in this case the "order") of a pdf as its distance to the uniform distibution pdf. As ...
Why common support is important for MLE? What happen if a family of distributions fail to have common support? I would like to understand where and why in the proof of MLE properties (existense, consistency, effciency, asymptotic normality) we need the regularity condition of common support.
Why is Gaussian Copula's Tail Dependence Zero? I am confused about the second equation. Why does the derivative of C(q,q) can be written in two parts? And why each part has a conditional probability form? Is it due to the full derivative?
I am watching this great lecture by Nando De Freitas. He establishes the KL divergence by using maximum liklihood estimation. However, there is one step I don't really understand. I do understand the steps from a math standpoint. I just wonder why he wants to measure the similarity between the distributions P(x|theta)...
I just read a research paper that said implicitly that there was a difference between the two. I thought that Fisherian statistics was another word for frequentist statistics.
I have some trouble with this computation, I have the moment generating function of a random variable $S$ by: $$M_S(t)=\frac{\beta\mu t}{1+(1+\beta)\mu t-M_X(t)}$$ According to the text that I am following, I need to consider the saddlepoint approximation i.e. I need to find$\theta=\theta(x)$ such $k_S(\theta)=x$, wher...
If I have such an optimization problem: $$ \arg\min_{x,z} \dfrac{||y-x||_2^2}{z}+z(||y-x||_2^2) $$ where $y$ is known and $z>0$. If $z$ is fixed, then this function w.r.t $x$ is convex. Similarly, if $x$ is given, this function w.r.t $z$ is also convex. However, I wonder: Is the original function w.r.t $x$ and $z$ jo...
I want to predict the duration a trip would take. For this I transformed my dependent variable (trip time in sec) to log transformed. When I do regression on this variable with some other features, I get this: The score on held out data is: 0.08395386395024673 Hyper-Parameters for Best Score : {'l1_ratio': 0.15, 'alp...
Given a Matrix $A$ where the SVD would be $$A= U \Sigma V^t$$ Where $\Sigma$ is a diagonal matrix with its singular values Assuming that I only had the $\Sigma$ values and I don't have the $U$ and $V$ values. Let's say $\sigma_i$ corresponds to the columns of the $\Sigma$ matrix of singular values. Is it possible t...
I've been trying to ARIMA models for the UK nominal GDP. I've determined the I to be not stationary - I(1). And now am having trouble identifying what the AR(p) and MA(q) would be from the linked correlograms: ACF for differenced variable (https://i.stack.imgur.com/zXHYs.jpg) PACF for differenced variable (https://i.s...
I want to plot the RMSE of some models to compare their performance in a dataset. I'd like also to include error bars, because I know they may have very different standard deviations. The problem is, does it even make sense to talk about standard deviation of RMSE? I thought about taking the square root of the standar...
Suppose $Y \sim N(X\beta, \Sigma)$. Ordinary LS $\hat{\beta_{OLS}} = (X'X)^{-1}X'y$ and weighted LS $\hat{\beta_{WLS} }= (X'WX)^{-1}X'Wy$, where $W = \Sigma^{-1}$. It is well known that $Var(\hat{\beta_{OLS}}) \ge Var(\hat{\beta_{WLS}})$. This implies for the predicted value $Var(X\hat{\beta_{OLS}}) \ge Var(X\hat{\beta...
According to answers of this topic: Polynomial regression using gradient descent I've written a code for polynomial regression of this data: http://illumina.ir/ML/data1.xlsx (the output is simply a sine function). import pandas import numpy as np import matplotlib.pyplot as plt def gradientDescent(x, y, theta, alpha...
Let's say a colleague tells me they has a good ML model and show me some numbers that suggests that they are right. What are some good questions that I should ask given that I can't LOOK at the actual model or data. Basically I would want to understand that the model is not overfitted to historical data, that they´ve b...
I read this article by Michael Honiball (creator of Spacy) in which he talks about the 'Catastrophic Forgetting' problem. Here he says that when we want to fine-tune a pre-trained model to add a new label or correct some specific errors, it can introduce the 'Catastrophic Forgetting' problem (loses its generality). To ...
i am developing a text classification neural network based on this two articles - https://github.com/jiegzhan/multi-class-text-classification-cnn-rnn https://machinelearningmastery.com/sequence-classification-lstm-recurrent-neural-networks-python-keras/ For the training i am using, text data in Russian language (langua...
I'm currently reading up on Kernels specifically related to SVM. My understanding of Kernels is that the data points are projected to another dimension and an SVM run on these new values. My understanding seems to fall down on how the initial kernel values are created. From my reading it seems that the first step is to...
I have an assignment and I'm kinda confused with the terminology of prior in the context of Gaussian processes. Let $f$ be the function of interest. The matrix $\textbf{X}$ is also a set of $N$ $M$-dimensional input vectors. According to the description I have been provided, we can formulate the prior over the output ...
I am currently trying to read the "Elements of Statistical Learning", by Efron, Hastie, and Tibshirani, and already at the beginning there is a bit above my level in mathematics. I have 3 questions regarding the move from (2.9) to (2.10): What is the meaning of integrating with respect to Pr(dx,dy) instead of with res...
I am currently dealing with an issue regarding cluster validation. I have a pairwise distance matrix (based on the hamming distance between a set of core genes of different strains of a bacterium). I performed k-medoids clustering on the pairwise distances, attempting to validate my initial suspicion that there are 3 ...