instruction
stringlengths
9
38.7k
I am using gbm package for multinomial classification. Here is an extract of my code (where target is the variable I want to predict, learning the matrix over which I train my model and validate the matrix over which I compute classification). gbmModel <- gbm(target ~ param1 + param2 + param3, data = learning, ...
I have a location and scale linear regression model: $$y_j = x_j^T\beta + e_j,$$ where $e_j\sim N(0,\sigma_j)$, and $\sigma_j = \exp(x_j^T\theta)$, $j=1,...,n$, $x_j \in{\mathbb R}_p$, $\beta \in{\mathbb R}_p$ ,$\theta \in{\mathbb R}_p$. I would like to do penalized maximum likelihood estimation for some penalties $p_{...
I'm wondering if t test maybe used for a really small sample size. I have a set of data with only 3 entries for each group and I need to compare whether the two groups are significantly different.
I have got two databases $X_{S}$ and $X_{T}$ which are having different number of samples but the same size of feature-space. I am wandering which is the most efficient way to calculate the distance of those databases. How can I calculate the distance between their distributions?
Suppose I want to model an unknown function $f$ knowing a set of pair $\{ x_i, y_i\}_i^N$ where $x_i\in \mathbb{R}^D$ and $y_i\in \mathbb R$ such that $y_i=f(x_i)$. This is the classical problem of regression. My problem is more complicated. I know $\{ x_i^{(1)}, x_i^{(2)}, z_i\}_i^N$ such that $f(x_i^{(1)}) \times f(...
I have the following model, which I fit using lme in the package nlme: lme(∆T ~ Treatment + sin(2*pi*hours/24) + cos(2*pi*hours/24), random = ~ 1 | Site.ID/Location.number, data=data.30min.autumn, correlation = corAR1(form=~hours)) With data of the following structure: 'data.f...
I'm using EFA to generate regression factor scores for subsequent regression and ANOVA analyses. I want to do use regression factor scores instead of averaging the scores, as I've read in multiple sources (for example; DiStefano et al., 2009) this is the better way. For this analysis I got 13 variables, which theoretic...
How can we use a Kalman filter for tracking an object in 1D for which we we don't know the parameters of the state transition model, and only have estimates? Consider the state transition model for the Kalman Filter given as: x(k + 1) = F(k )x(k ) + G(k )u(k ) + v(k ) If one has estimates of the form of F(k) and G(k), ...
I'm interested in extrapolating treatment effects from RCTs to new populations under conditions where populations exhibit relevant differences that induce differences in treatment effects. My aim is to test different strategies for learning about such differences and similarities between populations (e.g. differences i...
What is the correct way to initialize biases in convolutional neural networks (tf.zeros, tf.truncated_normal, tf.random_normal), and why? Should biases be constant? Do we even need biases in a deep neural network (like VGG-16)? In a siamese neural network, do we also share the biases along with the weights?
I'm studying variational autoencoders and I cannot get my head around their cost function. I understood the principle intuitively but not the math behind it: in the paragraph 'Cost Function' of the blog post here it is said: In other words, we want to simultaneously tune these complementary parameters such that we max...
I have two time series models and I was wondering the best way to determine if prediction interval for Model A is more accurate than the prediction interval for Model B relative to the actual value at Yhat(t)?
Say I make a couple of GAMs, like this: # Load data data(mtcars) # Model for mpg mpg.gam <- gam(mpg ~ s(hp) + s(wt), data = mtcars) # Model for qsec qsec.gam <- gam(qsec ~ s(hp) + s(wt), data = mtcars) Would comparing GCV values between these models tell me anything at all? Or are GCV values only meaningful in a rel...
I have some data (here) that I was hoping to analyse using lme4. It consists of a binary outcome variable that has been calculated at a number of locations in each of a number of images, which themselves come from two different image databases of differing qualities. Each outcome is calculated based on two different ...
Let $f$ be a density on $[0,1]$ and let $X_1,X_2,\ldots$ be $\textit{iid}$ $f$-distributed. Also, let $f_n$ denote the kernel density estimator, i.e. $$f_n(x) = \frac{1}{nh_n} \sum_{i=1}^n K\left(\frac{x-X_i}{h_n}\right),$$ where $K$ is a kernel function (non-negative and integrates to 1) and $h_n$ is an appropriate ba...
Although I saw a few similar threads, I don't believe I saw the specific answer to the following question: If your dependent variable is an average are any assumptions violated? Let me give you some more details on what I plan to do: I am interested in detecting the effect of some policy (a treatment) on cheating in e...
I came across this post from a climate change skeptic, which made the following point (emphasis mine): However, if Pope Francis is right that history will judge us, we need to decide what, if any, action is called for by asking four questions: Is the earth warming? Is that an overall bad thing? Is human activity the p...
I have been reading about the James-Stein estimator. It is defined, in this notes, as $$ \hat{\theta}=\left(1 - \frac{p-2}{\|X\|^2}\right)X$$ I have read the proof but I don't understand the following statement: Geometrically, the James–Stein estimator shrinks each component of $X$ towards the origin... What does "...
This question is probably pretty basic but I don't know what key words I need to be googling to find the right answer. I am running the same regression model on some data for two different years (the data is paired). I then calculate the correlation between the fitted values and residuals for each year. Now I would lik...
My question is very simple, What the different between the standardized coefficients (this coefficient has been obtain in multiple regression, and take a scale (-1,1). And the semi PARTIAL coefficient could be obtain in the model regression,but with this number you can take a variable contribution in percent (%). But i...
I'm working on a project where I'm trying to classify violent events into different latent states (e.g., low, medium, and high). Each series is distributed Poisson and I'm controlling for population growth. Previously, I used a frequentist Hidden Markov Model (HMM) via the depmixs4 package in R, but this does not provi...
When dealing with t statistics, we reject the null hypothesis (H0: β=0) if the t value is greater than 1.96 in absolute value with a level of significance of 0.05. I have run this model, with the factor A with 2 levels and factor B with three levels: ldepvar ~ A * B + (1 + A * B | pp) + (1 + B | stim) The output is: ...
I am watching this video lecture by Andrew NG on "Getting Machine Learning Algorithms to work in Practice" and I am stuck at the following two slides: The problem discussed is as follows: Let's say an SVM outperforms Logistic Regression. How do I know if there is a problem with my 'optimization' or 'optimization functi...
I've heard neural networks be defined as computing a function but if the activation functions are already chosen for the hidden layers and output layers, and the cost function is also chosen, then isn't the overall function already determined and the neural network is just trying to find the parameters of that function...
Background: Marketing Measurement team works on driving the discipline of ‘test and learn’ within business's direct marketing channels (Email, Direct Mail and so on). For EM and DM campaigns, to measure the impact of marketing campaigns, they run the equivalent of randomized control trials at a very large scale, compar...
If we have a iid random variables $X_i$ with probability generating function $\xi(t) = E[t^{x_i}]$ and $N$ is Poisson with mean $\lambda$ with Probability generating function : $$ \begin{aligned} \phi(t) = \sum_{i \geq 0} { e^{- \lambda} \lambda ^i \over i!} t^i = e^{-\lambda (1-t)} \end{aligned} $$ Take $Y = \sum_1^NX...
In MNL model, given the different alternative choices, we estimate the probability of choice across different options. E.g. using the fishing data, we can use the following calculations to estimate the probability across 4 alternatives for each individual choices. Fish <- mlogit.data(Fishing, shape = "wide", varying = ...
I have a binary outcome of interest, and I have 9 binary predictors - the predictors are 9 different events having occurred (or not). So I want to ask the question 'did the customer buy anything?', with the predictors of 1) whether or not they got a phone call, 2) a letter, 3) met with representative in a store, etc (c...
I want to build something that can classify tweets (from my timeline or lists) by topic. I can of course provide a dataset of tweets pre-classified for each variant, but then the software should be able to learn from that and apply that logic to new, future tweets. Variant A) Take all tweets of a timeline and decide if...
I would like to forecast iteratively a model with a lag dependent variable and a recursive independent variable. Is this possible to do in Stata? Basically, it would be: y(t+1)=a0+a1*y(t)+a2*x(t), as usual, for 1 step ahead forecast (I know how to do this part), but in the 2nd step it would be y(t+2)=a0+a1*y(t+1)+a...
Is there a way, how one can estimate the mean of a neural network $f(\vec{x})$ $$ \int_{\mathbb{B}_1} f(\vec{x}) d\vec{x} $$ efficiently? Of course, one could sample randomly points from the feature space, propagate them through the network, collect the results, and calculate the arithmetic mean. The problem with this...
Let $X_i$, $i=1,2,...$ be any sequence of random variables (i.e. not necessarily independent or identically distributed). What are some weak conditions you know of on $X_i$ that makes $\sum_i X_i$, or some other R.V. related to the sum (e.g. multiplied by $1/\sqrt{n}$, by $1/n$) approach a gaussian-distributed R.V.?
I have survival data with 1 column for time, one for survival, and one for treatment group. Time is in units years. I created a cox model coxph(Surv(time,event)~treatment_group) I have obtained the hazard ratio and p-value for treatment group. However, how do I determine the event rate per year, taking into account...
Say I am running an AB test (control = $A$ and test = $B$). My significance level is 5% and power is 80%. My null hypothesis is that $p_A = p_B$ vs $p_A \ne p_B$. My historical conversion rate for the control group is $p_A = 20\%$. Say that I only care if my test yields a conversion rate greater or less than 10% (rela...
Scenario: I'm trying to build a random forest regressor to accelerate probing a large phase space. I'm using python/scikit-learn to perform the regression, and I'm able to obtain a model that has a reasonably low cross-validation error on known data split into training/test sets. Now I'd like to begin asking my model ...
I have a panel dataset ($N>3000$, $t>200$) containing two variables for stock prices: one comes from the market and the other from simulation. I want to see what is the relation between other factors, such as size and benchmark (B/M), and the wedge between the simulated price and the real price. So, real price and si...
Douglas Bates states that the following models are equivalent "if the variance-covariance matrix for the vector-valued random effects has a special form, called compound symmetry" (slide 91 in this presentation): m1 <- lmer(y ~ factor + (0 + factor|group), data) m2 <- lmer(y ~ factor + (1|group) + (1|group:factor), dat...
I have searched far and wide but wasn't able to come up with an answer, even though it strikes me that this should be a common problem. I am examining the inclusion of a specific type of clause in corporate contracts and its dependence on a corporation's general counsel. In other words, I am interested in whether usage...
I'm reading Marin's and Robert's Bayesian Essentials with R to work on the foundations of my understanding of Bayesian analysis. In the first chapter, about normal models, I'm having some trouble working the posterior distribution by myself. For the model with known variance and conjugate prior for the mean $N(0, \sigm...
I'm using AIC to compare a collection of submodels for a multivariate linear model. The best two models have very similar AIC scores. The model with the lowest AIC score includes all variables in the full model except one, and the second best model is the full model. The difference in score between the models is <2 ...
Consider two Hidden Markov Models. They have different state space but have the same output space and are all left to right HMMs. Is it possible to compute in closed form the probability of a sequence generated by one say HMM1 having a higher likelihood in the other HMM (HMM2)? What I am looking for is a closed form so...
Imagine we have a two player game with some sort of sparse reward (few actions are rewarded over the course of a game). My understanding is that ordinarily, the reward administered to actions would decrease by discount factor $\gamma$ each timestep as $t_\text{from reward}$ increases. If we were attempting to learn ...
My independent variable, $Y_i$, has observations at the group-year level. However, I know $Y_i$ is not independent for all $i$ because the same individuals will be in a group for several years in a row. How can I account for these dependencies (cluster by individual, for instance) given that the independent and depend...
I was wondering how you would test the null that a single regression line adequate describes the data, i.e. $H_A: $ two parallel lines needed (additional indicator variable here) Comparing summary outputs from both I can see that with two lines, you get a higher F-stat, lower respective p-value, and higher Adjusted-$ R...
If we want to conduct variable selection for a high-dimensional data with the binary responses, one good solution will be using L1 regularized logistic regression. However, I wonder what will happen if I use L1 regularized linear regression (i.e. Lasso) for the binary response data. Particularly, I am hoping to find s...
The IPW estimator, for outcomes $Y_i$, treatment $T_i$, and covariates $Z_i$ is: $$ \widehat{\text{ATE}}_{\text{IPW}} = \frac{1}{n}\sum_{i=1}^{n}\left[\frac{T_iY_i}{\widehat{\pi}(Z_i)} - \frac{(1-T_i)Y_i}{1-\widehat{\pi}(Z_i)}\right] $$ where $\widehat{\pi}(Z_i)$ is the estimate of the propensity score. Now, in litera...
I'm clustering a largeish dataset (3-4 million rows, 3+ features, all numeric), and I'm clustering with a large k (f~=2000). I'm not actually interested in finding clusters, I and just using kmeans because it relatively evenly partitions non-clustered data (by count). I need all clusters to be assigned to at least some...
It seems some methods such as Dixon and Tukey were developed under the assumption of a Gaussian distribution and may not be appropriate for the non-Gaussian data. Now I was wondering which method for outlier detection should be used for non-gaussian data.
I'm trying to model Bayesian logistic regression model with my dependent variable (status: 0=alive, 1 death) & independent variable (age) in the categorical form (0=patients < 65 yrs old, 1=patients >=65 yrs old). I'm using normal dist. as a prior for constant term, b0 and Dirichlet dist. as the prior for the regressio...
Let X be the number of defectives in a sample. Show the probability distribution for X random variable. I am kinda stuck at this. Please help.
I am trying to use a mixed-effects model to examine the effects of three teaching approaches on the learning of English past tense measured through language tests at five testing points. The dependent variable of my model is the learners' test score. The fixed-effect variables are group (three treatment group and a con...
Agglomerative clustering can use various measures to calculate distance between two clusters, which is then used to decide which two clusters to merge. Two popular approaches are single-link and complete-link. There seems to be some discrepancy in whether single-link or complete-link is sensitive to outliers. I am stat...
I have been googling for a list of practical applications of Recurrent Neural Networks for some time, but did not find a reasonable reference list. Most of the things are about text generation which seems to be rather for fun/academic research. I do not have anything against text generation. I am looking for a list of ...
I have created a cox proportional hazards regression model for predicting churning out in R(using coxph function from the survival package). I am able to see the churning out percentage with number of days of all my customers by plotting the survfit model of the above coxph model. fit_cox <- coxph(formula = form, data...
I have this case where the data look like that Trial Person 1 person 2 1 4.7. 3.8 2 7.1. 6.3 3 5.4. 4.5 I want to see if there is variations WITHIN each person measurements. I want to do this in R. I found the test that supposed to do this is repeated measure ANOVA with...
Lately, I have had to read several papers in economics (a field that I'm not too familiar with). One thing that I've noticed is that even when the response variable is binary, linear regression models fitted using OLS are ubiquitous. My question is therefore: Why is linear regression favoured over for instance logistic...
First of all, I would like to thank all of you who contribute in CV. I found it really helpful as a beginner in statistical learning. Now regarding my question, as you have probably seen, I would like to combine proportional-count data for the classic feature selection methods (From the book "Introduction to Statistica...
This is my first time working with regularized regression so I apologize if the answer to this is obvious. I am planning on using GLMnet to run a regularized logistic regression on my data set using glmnet. Previously I have been using unregularized logistic regression and have evaluated my model/ compared different mo...
I have a problem which seems to be quite common given the other questions I've seen related to this topic on StackExchange. But mine is a little more specific. Assume that my model is of the following form $Y_{t} = \alpha + \beta Y_{t-1} + \gamma X_t + \epsilon_t$ What tests/measures do I need to consider if I want to ...
I am comparing the perfomance of PCA regression (i.e. regression where original regressors are replaced by few their pr. components) to that of regression with the original regressors in which I added some white noise (mean=0,std=1) to the regressor with the highest correlation coefficient r with the response variable....
Consider a family of density functions $f(x|\theta)$ where the parameter space for $\theta$ is finite, that is, $\theta \in \{\theta_1, \cdots, \theta_p\}$. Assume that $\theta_p$ is such that $f(x|\theta_p) > 0$ for all $x$ on the support. Now consider the statistic $T(\mathbf{X}) = (T_1(\mathbf{X}), \cdots, T_p(\math...
I'm a bit confused about the usefulness of reducing dimensions before doing a k-means clustering. Suppose you want to apply k-means to a set points $(x_i)$ with high dimension. You want to minimize the cost function $\sum_i \|x_i-c_i\|^2$ where $c_i$ is the center of the cluster $x_i$ belongs to. You have basically two...
I am interested in methods to compare "predictions" of an inhomogeneous Poisson process, against "sparse" data. The model I have is that of inhomogeneous Poisson process, say on the unit square $[0,1]^2$, with intensity function $I(x,y)$. We can factor $I$ as $I(x,y) = \mu f(x,y)$ where $\mu$ is the overall rate of th...
Say we have collected data, and from a physical perspective we know that the collected data should increase positively with time. However the data looks more like this: This data shown in the figure is generated as follows: We first generate 100 random values sampled from a Gamma PDF with shape parameter = 0.78 and sc...
I could not find on the internet which is the best/standard way to process strings as sequences of characters in Deep Learning algorithm (es. GAN,CNN, etc.). For example here they are generating plausible passwords using a GAN. I tired to do something similar for another project, but the most reasonable way to process...
Let $e$~$N(0, \sigma^2)$, $x_{ij}$ and $y_i$, we want to estimate a linear model through least squares with different intercepts, but a single angular coefficient for all $y$s as in $y_{ij} = \beta_i + \gamma x_{ij} + e _{ij}$ How do i put this in matrix notation and find the least squares estimator for $\beta$s and $...
Given an input of (HxWxD), I want to output a confidence map of size (HxW) where each value is a probability. I'll try to be concise. I have 2 inputs: input_image of size (HxWx3) input_map of size (HxWx1), that was generated by a vision algorithm with "input_image" as its input. The algorithm that generates input_map...
I want to perform an encompassing test in order to compare two simulation models, a Cournot model and a competitive model, in order to tell which model fits best to historical market data. The outputs of my model are prices as well as quantity decisions for two firms, i.e. three time series. I also have historical obse...
I have been working on a set of data which contains information on the width, age, weight of statues and relate them to the price (I am not actually working on that, but I cannot disclose the topic of my work). I came up with the following regression: $Price = -9 -width + 4 log10(age) + 8 height$ the minimum-maximum i...
Here is an example of standard normal datasets (spherical, i.e. identity covariance matrices) in 1, 2, 3, 5, 10 dimensions, n=100 points. The picture shows observed distributions of the euclidean distance from every data point to its nearest neighbour point: And, likewise, from every data point to its farthest neighbo...
Assume I have a baseline system and a method proposed by me, and I want to check whether my method is better than the baseline system or not. I use both of them to train on the same training set and tune the hyper-parameters behind each method (the regularization term for example) on the same development set, and I cho...
New to ML and Deep Learning. I am trying my hands on some image classification using resnet50. Here are some of the graphs I see on tensorboard: As you can see, my total loss is mostly being influenced by the regularization loss. Is this normal? How big should the regularization loss be compared to the cross entropy l...
1. Main problem I am struggling with a mediation – moderation question. Is it proper to specify the interaction term between two independent continuous variables of model A) as the dependent variable in a second model B)? If yes, what does the final specification look like? Model A): Y = a0 + a1x1 + a2x2 + a3x3 + a4(x1...
I am working on how to get the volatility using ANNs. I don't know how to go about it after getting the output of a single neuron.
One common measure used to compare two or more classification models is to use the area under the ROC curve (AUC) as a way to indirectly assess their performance. In this case a model with a larger AUC is usually interpreted as performing better than a model with a smaller AUC. But , according to Vihinen, 2012 (https:/...
I have two models. One is a hierarchical Bayesian model that estimates parameters $p_{i, j}$ for group $i$ and sex $j$. This model is set up hierarchically because of the inherent structure of the groups and sexes, and does not work well when the groups are estimated separately. Practically, it's set up in JAGS in R. T...
I am training a feed-forward network on a regression problem (MSE error) to predict a scalar value 1x1 given an input of size Nx1. My batch size is 400 (though this problem is robust to multiple batch sizes). My problem is that the optimizer always converges to a solution where it predicts the same value for every ele...
What is the equivalent of $\sigma$ confidence limits for a normal distribution (68–95–99.7 %) on a gamma distribution ? And is there a way relate it to the standard deviation and mean (or median) of the distribution, or we have to make a fit on the distribution (since I suppose errorbars will be asymetric) ? Thank y...
There were 24 warnings (use warnings() to see them) > warnings() Warning messages: 1: closing unused connection 26 (<-localhost:11501) 2: closing unused connection 25 (<-localhost:11501) 3: closing unused connection 24 (<-localhost:11501) ....
In mixed models that I'm familiar with, the DV is a continuous repeated variable (for example, anxiety measured a few times), and the IV is a factorial variable (for example, gender). Is it possible to use a IV that is a continuous variable (for example, age)?
Let's assume that we have 2 people and 5 objects with the following ratings (scale 1-5): John has rated obj1:5, obj2:1 , obj3:(unknown value), obj4:2 , obj5:2 and Jack has rated obj1:1, obj2:5 , obj3:2, obj4:5 , obj5:5. Do i need obj3:2 when calculating the mean of Jack's ratings or just hypothetically delete it and ...
Let's assume we have a CNC machine cutting an aluminium block and we are monitoring its RMS power consumption at a constant sample rate e.g. 1Hz (see figure below for example). Can this considered to be a time-series signal? This link states that time-series should show some internal structure, others could argue that ...
I want to solve (or simulate) /int f(x)G(dx) where f is a function(or phrase of x) and G is DPM(Dirichlet Process mixture prior). Muliere (1998) approximate this integral when G is DP, I dont know to approximate it when G is DPM. I can write it also /int f dG = E_{G}(f(x))
I have a dataset with several individuals and features. I'm studying behavior over the year (for instance, averages or iterations of money gained, jobs, etc.). My ultimate goal is to implement a classifier since I have a specific feature for every person (which is equal to 0, 1, or 2). When I first tried to implement ...
I would like to create predictions for all outcomes in my sample of data. Typically with a random forest you would split the data in order to train on one part and predict on the other part. Is there any possible way to train the forest and predict on to that same data without the predictions being biased? I have been ...
The acceptance rate of Metropolis Hastings algorithm is crucial for the convergence of the MCMC. Sometimes it is advised to be about .28 (e.g. Gelman at al). Often it can be influenced by some sort of scaling parameter. I am running a simulation with MCMC where different parameters are varied and as a result the accep...
I applied a linear regression between one continuous dependent and one categorical independent. But when I check the residuals vs fitted value the plot is a little bit strange. Also the p value for Durbin Watson test is 0.001. Any Advice? The depended variable is a form of concentration variables and was measure is UL/...
I understand some of the many problems of stepwise regression. However, as an academic endeavor, assume I want to use stepwise regression for a predictive model, and I want to better understand the impacts it may have on performance. Given a linear model, for example, does performing stepwise regression on the model t...
I have an experiment that was incorrectly designed. I'm trying to see what analysis I should provide, but I'm a little confused. A brief description of the experiment: Rats were given one of four drugs: control, A, D or S. The experiment lasted four months. At the end of each month, half of the rats in each drug group ...
I'm trying to implement my own version of the Asynchronous Advantage Actor-Critic method, but it fails to learn the Breakout game. My code was mostly inspired by Arthur Juliani's and OpenAI Gym's A3C versions. The method works well for a simple Doom environment (the one used in Arthur Juliani's code) and for Pong, but ...
Lets say I have a graph like this: How to tell if this plot indicates an over- or under-representation of male students in in-school suspensions? Thank you for your time.
The premise is this quote from vignette of R package betareg1. Further-more, the model shares some properties (such as linear predictor, link function, dispersion parameter) with generalized linear models (GLMs; McCullagh and Nelder 1989), but it is not a special case of this framework (not even for fixed disper...
I am trying to understand SVM from very basic level. I encountered this statement that large margin tries to improve the test error i.e the generalization ability of the classifier. I read about it further in this but still I don't get the point. Can someone please explain this to me ?
I have a panel of $m$ individuals over $n$ periods of time. I am estimating decision making rules of people $Y=\beta_0+\beta_1X + ...+\epsilon$. I have reasons to believe that $\beta_1$ are very similar across population, while $\beta_0$ might differ by individuals. Since the data is censored, I am using tobit with ind...
Lets consider a simple derivation of GPs I've seen. Given a dataset $ ( X, \vec{y} ) = (\vec{x}_i, y_i)_{i=0}^N $, we wish to find a function $ f $ such that $ y_i = \vec{w} \cdot \vec{\phi}(\vec{x_i}) + \epsilon_i $ where $ \vec{\epsilon} \sim \mathcal{N}\big( 0, \sigma^2 \mathbb{1} \big) $ is the gaussian noise. From...
I have a table containing rows with count data for several individual animals. The counts represent the number of daytime visits that the individual animals made to a site over many days. I have divided each day into 10 discrete one-hour periods (the columns). Thus, each table cell is the number of visits made by tha...
So, I have this question (as seen in the picture) and I am curious how would I go about approaching it. Initially, I thought to use convolution but I don't think this is a valid approach because after finding the marginals, I found that they didn't satisfy a condition of independence. What are other things I could do? ...
Are the weight of a neural network updated differently due to back propagation for a classification network vs. a regression network, if so how?.. My concern comes due to the both network uses different cost function, hence the update must be different as well. I am under the intuition that log regression often are u...
A friend and I were playing Cribbage the other day and, at one point, my hand had a 6 count in the form of 15-2, 15-4 and a pair for 6. My friend then counted their hand, and had exactly the same count. Then I counted my crib (I was the dealer), and found that the crib also had exactly the same count. We were wondering...
Hi, I'm really unsure of how to do this problem. Does anyone with expertise in Machine Learning know how to do this problem?