instruction stringlengths 9 38.7k |
|---|
I'm trying to learn machine learning using the book "Learning From Data".
I'm working through the exercises and problems of the book and I got stuck at problem 1.9 on page 37, which is about deriving the Chernoff bound.
I got through parts (a) and (b), and worked out the proof for:
$u_1, ..., u_N$ iid random variables,... |
So, I'm trying to think about how to evaluate models composed of more than one equation in a Bayesian context. For example, consider the following as 'how the world works':
$y2_i \sim dpois(\lambda_i)$
$log(\lambda_i) = \beta_0 + \beta_1 * y1_i$
$y1_i \sim dbinom(15, p_i)$
$logit(p_i) = \beta_3 + \beta_4 x1_i$
Now, a... |
Here's my data.
https://www.dropbox.com/s/puf57efqkdl8zt0/data.csv?dl=0
It's too big, therefore I did not know to use the dput(data) command.
I am using a mixed effect model to model response as a function of 8 climate variables. response is derived from yield of 2 crops yld.lc and yld.nc as follows
response = (yld.... |
If we know the pre-truncated distribution follows the standard normal distribution and we know the post-truncated mean and variance, is it possible to calculate the truncated point of the truncated normal?
From Wikipedia, it seems like we can express the mean of the truncated normal as (if my derivation is correct)
$$
... |
Let me denote a standard normal random variable by $X$ and its outcome (sample) by $x$.
My question is about the $\sim$ notation.
Should we write
\begin{equation}
X \sim \mathcal{N}(0, 1)
\end{equation}
or ,
\begin{equation}
x \sim \mathcal{N}(0, 1).
\end{equation}
i.e. Does the $\sim$ denote a random variable or a sa... |
I have implemented two independent multivariate abundance regressions, both of which use the manyglm function in the mvabund package in R.
One regression fits 17 predictors to the abundances of 62 different bird species, while the other regression fits 15 predictors to the abundances of 158 different plant species, wh... |
I am just learning Markov Models and HMM. I have a problem on which I am trying to implement them but am not sure which one is appropriate. Following is the problem.
The data is time-series. There are 2 states - 1 & 0. When at state 1, observations can take a range of values usually between say 1 to 10000. But when in ... |
I am reading a paper that defines
$$ \mathcal{T}(x, \mu, \sigma) = A \cdot x \cdot \exp \left \{ - \left[ \frac{x-\mu}{\sigma} + \frac{\sigma}{2 \mu} \right]^2 \right \}.$$
It is introduced in order to have a Gaussian that goes to zero at $x=0$. It says that $A$ has to be chosen such that $\mathcal{T}$ is "unimodular... |
I'm looking for the best statistical practice to transform the number of occurrences (of a word in different documents) into a value between 0 and 1, whereby the first occurrence is worth more than the second, which is worth more than the third, etc. The number of occurrences is theoretically unlimited, so the value sh... |
The model of interest is
$$
y = \alpha + \beta_1 x_1 + \beta_2 x_2 + \epsilon
$$
In the population, $E[\epsilon|x_1]\neq 0$ and $E[\epsilon|x_2]\neq 0$, so OLS estimates of $\beta_1$ and $\beta_2$ are biased.
Suppose that I know, from theory, that the bias will be downward for $\beta_1$ and upward for $\beta_2$.
I... |
I can define the sigmoid function in R with:
library(tidyverse)
s_curve <- function(x) {
y <- 1/(1 + exp(1)^-x)
return(y)
}
df <- tibble(x = seq(-3, 3, 0.1)) %>%
mutate(y = s_curve(x))
And plot it with:
ggplot(df, aes(x, y)) + geom_point()
Hight I adjust the function to include hyperparameters that ... |
I am confused with metropolis hastings. This is a simple question. In the metropolis hastings, it is assumed that we know the un-normalised posterior, $\pi(x)$. We can obtain the density by normalising $\pi(x)$. No doubt, if you have a closed-form expression of $\pi(x)$, this can be difficult because you still evaluate... |
I am about to start a project in ABC methods and I need to first of all study ABC since I know nothing about it. I spent quite a bit looking for on-line tutorials and notes but I found nothing apart for some videos. Can you please suggest me some notes or even a textbook? Not to difficult since I do not really need to ... |
For simplicity, let's consider an AR(1). The model I want to fit is
\begin{align*}
Y_{t} = \mu + \beta X + \phi Y_{t-1} + \epsilon_t
\end{align*}
where $X$ does not vary with time. So how is $\beta$ even identifiable? Well, I have $K$ replicates of these time series, each at different levels of $X$, so ultimately I hav... |
What i know about sufficient statistics is that the conditional distribution of sample obtained given for particular statistic must be independent of parameter.. but how does this relate to the containing all information regarding parameter in sample.....
Elaborate plz .and is sufficient statistic unique
|
I'm developing a code to perform Mie scattering corrections and, while reading a paper regarding this [1], I found this sentence:
Prior to approximation by PCA, the matrix $M$ is orthogonalized with
respect to the reference spectrum $Z_{ref}$
where $Z_{ref}$ is a vector of data.
The matrix $M$ has a spectrum of dat... |
I'm new to reinforcement learning (and machine learning in general) and have attempted to recreate the k-armed bandit experiment in section 2.2, Action-value methods, of "Reinforcement Learning: An Introduction" by Sutton & Barto. The expected graph is supposed to look like this:
However, mine looks like this
I would l... |
I did a simple regression where the independent variable was the educational background of the mother. The dependent variable was the language skills score of the child.
I switched them around and did another regression to see which coefficients change and which didn't.
The t-test of the gradient was the same for bot... |
Suppose I have an $n \times p$ matrix of data, $X$, and a $p \times p$ matrix of coefficients $\beta$. I'm interested in the folllowing:
$$ \min_{B} \Bigg\{ \lVert XB - X \lVert_2^2 + \lambda \sum_{j = 1}^p \lVert B_{\cdot , j} \rVert_2 \Bigg\}$$
A couple of thoughts here:
$B_{\cdot , j}$ is the $j^{th}$ row of $B$
... |
$\newcommand{\Cov}{\operatorname{Cov}}$I am getting hung up on what is probably a very basic point. We know that covariance is defined as
$$\Cov(X,Y) = E(XY)-E(X)E(Y)$$
Now if we look at the definition of expected value, assuming $X,Y$ are discrete with mean 0
$$\Cov(X,Y) = \sum_{(x_i,y_i)}x_iy_iP(X=x_i,Y=y_i)$$
Now,... |
I ran a three-way ANOVA to find effect of insecticide (2 levels), species (2 levels) and location (2 levels) on body condition of turtles. I did not find any three-way interaction. However, I found an interaction between insecticide and species! I am not familiar with three-way ANOVA and I dont know how should I interp... |
I am trying to analysis a dataset with survival data, I am new to cox model and I am not sure how to interpret covariate factors. I have read the survival R package documentation and online examples but I am still very confused.
The covariate I am trying to understand is frailty and contains three levels: frail, pre-fr... |
In randomized trials with non-compliance among the treatment group, a common estimator is the Complier Average Causal Effect (also called the Local Average Treatment Effect), which (conditional on a number of assumptions) provides an unbiased estimate of the causal effect of the treatment. The idea is that both the int... |
I have data that I have used the R package twang with multinomial propensity scoring, to assign caseweights based on an ATT model. Once these caseweights have been assigned, they are typically used with a survey procedure. In R, there is the survey package which contains svycoxph, but this can also be done using the su... |
I want to test for efficacy of an intervention. I have pre- and post-intervention data and I used auto.arima to find the best fit for the two data sets.
I'm stuck in the actual use of these models now. What do I do with the auto.arima fit? Can I graph it and test for statistically significant differences in the coeffic... |
The definition of differential privacy says that an algorithm $M$ is $(\epsilon,\delta)$-differentially private if
$$P(M(x \in D) \in S)\leq e^\epsilon P(M(x \in D')\in S) + \delta$$
where $D,D'$ differ by one row and $\delta$ is $\text{negligible}$ in the number of database rows, so $\delta< \frac{1}{p(n)}$ with $n$... |
I was thinking about using PCA to deal with issues of multicollinearity on my dataset. I was wondering how appropriate it is to run PCA on only subsets of variables that seem to have issues of collinearity.
For example, if I had a dataset with 10 independent variables, and 5 of them seemed to suffer from multicollinea... |
I would like to test if one procedure yields a significantly different success rate than the other. In procedure A, I have 2 successes and 19 failures. In procedure B, I have 2 successes and 38 failures. What kind of test can I use here because it appears that I don't have a large enough sample size for t-test for prop... |
I have two distributions of continuous, unpaired measurements. I would like to visualize the two distributions with a pair of histograms, counting measurements that fall over a bin's interval.
Are there ways to rescale or process the smaller of the two sets, so that when I make two histograms (or other visualizations,... |
I'm trying to understand fraction of unexplained variance on wikipedia: https://en.wikipedia.org/wiki/Fraction_of_variance_unexplained
$$\text{unexplained variance} (y, \hat y) =\frac{\operatorname{Var}\{y-\hat y\}}{\operatorname{Var}\{y\}}$$
Correct me if I'm wrong, it's basically find out the variance between the di... |
I remember recently seeing or reading a paper about a new type of recurrent neural network that enabled long term memory over sequences by having only part of the neurons active at any given timestep.
The timestep unrolled connections looked something like this (possibly not exactly like this)
This was done to model t... |
Here's a question from my problem sheet.
For the normal linear model, verify that the MLEs $\boldsymbol{\hat{\beta}}$ and $\tilde{\sigma}^2$ are maximal values for $\ell(\beta, \sigma^2;\mathbf{y})$ with respect to $\beta$ and $\sigma$, where $\ell$ denotes the log likelihood. What is the maximum value of the likeliho... |
The NIST website's description of the partial residual plot says that it plots
$$
\text{Res}+\hat\beta_iX_i\text{ versus } X_i
$$
where
$\text{Res}$ = residuals from the full model
$\hat\beta_i$ = regression coefficient of $X_i$
$X_i$ = the $i$th independent variable in the full model
This decription is clear enough ... |
If I have n IID normal random variables, and I sum their squares, what does the resulting cummulative distribution (cdf) look like?
This is where I've gotten so far:
$Y = \sum_{i=1}^nX_i^2$ where $X_i \sim \mathcal{N}(\mu, \sigma^2)$
$Y = \sigma^2\sum_{i=1}^n\frac{X_i^2}{\sigma^2}$
$Y = \sigma^2\sum_{i=1}^nZ_i^2$ whe... |
I'm trying to understand this answer on Earth Mover's Distance, especially the first sentence (below), without having deep statistical knowledge. I think the word "marginals" is the biggest stumbling block. I can generally only find definitions for it as an adjective, and Andrew Gelman notes that the statistical use of... |
How can we show that weight decay produces a positive effect on the performance of a neural network? Specifically, a network that classifies images? One way would be to add noise to the images in the dataset, and compare the performance of training with weight decay and without. What kind of noise would be best for ima... |
I am a intermediate level programmer, interested in ML generally.
RE: Decision Tree Classifier with iris data.
In R this is so easy .. I inspect the raw data in the .csv file and THEN upload to R dataframe for preprocessing, etc.
In Python with sklearn this is just hellishly DIFFICULT !
I do NOT want to just use iris =... |
My question:
I usually don't have much trouble with deriving the MLE from the
log-likelihood, but I am a little stumped on an example I found in "In
All Likelihood" [1] pg.75.
Could someone show the steps from the log-likelihood to the MLE?
What the book says:
Discrete data are usually presented in grouped form. For ... |
I have Type I CD protein data which consists of 27 Enzymes and 217 non-enzymes. I want to determine if there is a significant difference in the length of enzymes versus non-enzyme. What type of non-parametric test should I use if there is a huge difference between the sample size of enzymes versus non-enzyme?
|
I'm reading a paper, where they measure the pressure of patients before and after a treatment. Here are the quoted values for pre, post, and difference:
Pre (n=43): 40.5 +- 7.6 (SD)
Post (n=43): 17.8 +- 3.4 (SD)
Delta (n=43): 22.7 +- 3.2 (SD)
I want to estimate the implied correlation, within patients, between pre ... |
My sample population includes elderly men and women (age 60-90 years) with information about the prevalence of HBP. I want to make a contingency table showing the distribution of HBP (column variable) across the age groups (60-69, 70-79, 80-90). X2 tests in SPSS, STATA, Rcmdr are able to calculate the percentages(some ... |
I have some data with a binary outcome and a categorical predictor. I would like to perform something like a chi-square test to test for associations, but some of my data is repeated. I am not interested in change over time, I just would like to use all the data. Is there a form of mixed model analysis I can use to do ... |
For predictors $X_1$ and $X_2$, and a response $Y$, two models are fit:
Model 1: Linear regression with $Y$ as response and $X_1$ and $X_2$ as predictors (only the linear terms).
Model 2: A linear regression model is fit with $Y$ as response and $X_1$ as a predictor. Using the residuals $R$ for this model, another mode... |
Assume I predicted the probability for samples to be in the positive class using logistic regression for binary targets.
The samples come in groups of 5 but I'm predicting individually and I would like to ensure that the sum of probabilites for the positive class in one group sum up to one.
For example the following r... |
I have paired data.
I do not have the individual data points - solely the means and standard deviations at measurement 1 (m1, sd1), at measurement 2 (m2, sd2), and also the correlation coefficient between the values obtained at measurement 1 and those obtained at measurement 2 (r).
I would like to find the mean and t... |
For an assignment that asked "Compute the likelihood function when $Y=10$", I had written:
$$
L(\theta|n=30, y=10) = {30 \choose 10} \theta^{10} (1-\theta)^{20} ; \theta \in \left[0, \tfrac{1}{5}, \tfrac{2}{5}, \ldots, \tfrac{5}{5}\right]
$$
I will omit the context of the problem since my question is not about that. My... |
I have a general question about factor loadings of items in Confirmatory and Exploratory Factor Analysis. Fitting a CFA model to a data set based on factor loadings (e. g. cfa() of the lavaan package) of an exploratory factor analysis will result in a CFA model. The output gives me estimates of factor loadings of all i... |
I have trouble understanding how do I compare multiple groups in a single survival analysis. When I only have two groups of patients, I simply perform the Kaplan-Meier estimator. However, if there are more than 2 exposure levels, the inference is not so straightforward.
If you look at the colon data (available in R, su... |
I have been given the following AR(2) process:
$X_t + \phi_1 X_{t-1} + \phi_2 X_{t-2} = \epsilon_t$
and I need to figure out for which values of $\phi_2$ the process is stationary, when I have been given that $\phi_1=-1/3$.
I hope that someone can maybe help me with this, since I have no idea about where to start.
|
Suppose that I have an EGARCH(1,1) model, an APARCH(1,1) model and a GJR-GARCH(1,1) model all with GED errors.
Are the following three measures for assessing the magnitude of news impact on volatility correct for all three models?
a) Intensity of Positive Shocks: α1+γ1
b) Intensity of Negative Shocks: −α1+γ1
c) Degree... |
How many records (at least) should I have for my correlation (pearson/canonical) to be significant.
|
My impression is that beta1 and beta2 affects how much the adam optimizer 'remember' it's previous movements, and my guess is that if the training isn't performing well, these values should be decreased, am I right?
However, what is the general intuition one should have when deciding whether to tweak these parameters o... |
I got data of the speech length distribution (number of words per speech) of a Speaker in a tv series per episode in my table.
E.g.:
Length Episode1 Episode2 Episode3 | Episode4 Episode5...
1 14 12 68 | 10 8
2 7 61 58 | 22 23
3 14 42 6 ... |
I am new to graph theory and I have some questioning.
First of all, how can I determine the significant of two different degree centrality means and two different closeness centrality means? For example, I have a network of international organizations which are public or private, but I don't know how to determine if t... |
I am using k-means clustering for a problem of market segmentation. My variables are gender, age and other categorical data. I first standardise age and then make all the rest dummy. The other categorical variables take approximately tens of different values, and the dataset is quite small (approx ten thousand). Then I... |
I'm wondering whether the following expectation has a known form:
$$\text{E}_{\beta}\left\{ \log \Phi(x^T \beta)\right\},$$ where $\Phi$ is the standard normal distribution function, $x$ is a fixed vector ($p \times 1$) and $\beta$ is a ($p \times 1$) random vector such that $\beta_j \overset{ind}\sim \mathcal{N}(\mu_j... |
I encounter such an exercise question as below and have no clue so far.
Consider using decision trees/forests to implement Boolean functions,
i.e. classifiers from {0,1}n to{0,1}.
1) Give a good upper bound for the VC-dimension of decision trees with l leaves.
2) What is a good upper bound for the VC-dimension of a... |
I have multiple years of data from students rating their courses (Unacceptable, Adequate, Good, Excellent). The data covers about 10 courses and I have data from the past 6 years. Charting the data, it seems that some years, classes were just more negative overall. Is there any way to "normalize" or de-trend ordinal da... |
I have asked this question before in another fashion on other stackexchanges, so sorry for the somewhat repost.
I have asked my professor and a couple of PhD students about, without a definitive answer. I will first state the problem, then my potential solution and the problem with my solution, so sorry for the wall of... |
I'm trying to train a cGAN network on Tensorflow and have all the summaries of the Discriminator, but I'm having difficulty understanding what they mean...
There are currently 5 layers in the Discriminator and the distributions are like below:
I'm using the LSGAN loss for training the network and the 5 Conv layers... |
I am trying to split a continuous variable into (ideally 2 or 3 groups) which I know directly effect overall survival. As confirmed by Cox's Hazard Model. p<0.0005 HR 1.2.- total data set 500 observations.
Are there any statically valid methods that I could use to determine where to split this variable? Looking at mos... |
I am trying to use a LSTM for time series prediction. The data streams in once per minute, but I would like to predict an hour ahead. There are two ways I can think of for going about this:
Squash the data into hourly data instead, taking the average over each 60 minute time period as one data point.
For each (X, y) t... |
I hope this question isn't too general, but I'm looking for an unsupervised topic modelling algorithm that doesn't require the number of topics (k) to be defined prior to running the analysis of the documents.
I've had a look online but have so far drawn a blank. I mainly use R and Python, so a solution in either of th... |
I am creating a series of monthly models to predict the yearly production of grain for a fixed US state. For a given month, the model is built using the data from the past 10 years and it allows me to predict the target value of this year. Since the target is a yearly value, for a given year it is the same for each mon... |
I ran a two way anova to test effect of sex (2levels) and locations (3 levels) on size of fish. I got this results. First, I would like to know whether my interaction is synergistic or antagonistic as I had both increase and decrease. And should I interpret my results based on changes of male in three locations?
thanks... |
I have two independent random variables $\tilde{u} \sim \mathcal{N}(m, v)$ and $\tilde{\epsilon} \sim \mathcal{N}(0, \eta)$, and their sum is $\tilde{x} = \tilde{u} + \tilde{\epsilon}$. I know that $$\mathbb{E} [\tilde{u} | \tilde{x} = x ] = m + \frac{v}{v + \eta} (x - m),$$ but I don't know why. The intuition makes se... |
How can I interpret the beta regression from regressing lny on lnx, or lny on x etc. For example in Stata I make this regression using beta function:
reg lny lnx z t, beta robust
this gives me usual coefficient estimates which can be interpreted as elasticity, but it also gives standardized betas.
I know for a regressi... |
In a study on a bird, breeding territories were mapped in 1990 and controlled in 2017. Each territory is one sample with the dependent variable territory abandoned (possible values: "yes" and "no").
I also sampled temperature, precipitation and forest cover both in 1990 and in 2017 and I want to find out if these have ... |
I am trying to make this network but here are the problems I find:
In case of more than 1 hidden layer, I get nans as losses.
In case of a single hidden layer, the loss first increase and then
decreases.
Code(starts line 58 onwards, before that is data generation): https://github.com/abhigenie92/multiple_class_NN/bl... |
I am using the caret package to perform predictive modeling on a binary target variable. The outcome is very unbalanced so it is suggested to use the Kappa statistics to evaluate the binary classifier. I am trying to evaluate the performance of various predictive models on a hold out dataset where i have the score of t... |
I have built a HMM model in R using depmixs4 package. I have the state projections and posterior probabilities till time T. I understand that to find the state projections for time T+1, I have to multiply the transition matrix with the posterior from time T.
But how can I find the expected value of the observation at t... |
A company does drug test when doing interviews to ensure it doesn't get any addicts.
If a person uses drugs, the test will show that they do so with 95% probability. If a person doesn't use drugs then the test will show so with 90% probability. If we presume that 4% of the interviewed people use drugs.
a) Count the pro... |
I have developed a model to predict the failure of equipment in the field where, in the event of an unplanned failure, the cost of repair and loss of revenue is high. On the other hand, if a malefaction is predicted there is a cost in deploying resources to prevent the potential failure. But, more importantly there a... |
I know if I have the average $\lambda$ of the number of times an event occurs in a time interval and the number of occurred events $k$ then I can calculate the probability $p$ for a Poisson distribution.
To get the number of events that occurred for a certain probability $p$ while also having the average number of time... |
This is a homework assignment, so I have strict requirements. In that assignment, I am required to train a neural network with sigmoid activation function to achieve 0 training error rate [I know, wrong thing to do, overfit and such, but I am required to do so :( ].
I have implemented the gradient descent algorithm an... |
From the frequentist point of view, is it possible to incorporate prior information about a parameter into a probability model? Let me illustrate with an example: suppose you have a die with black and white faces but you do not know how many of each; you are then told that you can flip a coin for each face of the die a... |
I have some count data I need to fit to a distribution. I have tried several distributions but none of them start out steep enough.
Here is the fit of a geometric distribution:
My question is: Which distribution should I fit here? (And (how) is that possible in R?)
In case you want to play:
Due to its size I put the... |
I'm reading the Wavenet paper which says:
Stacked dilated convolutions enable networks to have very large
receptive fields with just a few layers, while preserving the input
resolution throughtout the network as well as computational
efficiency. In this paper, the dilation is doubled for every layer up
to a li... |
I'm very new to data science. I'm wondering how is it possible to graph data of n dimension. For example by Clustering high-dimensional data
https://en.wikipedia.org/wiki/Clustering_high-dimensional_data
How do we graph these data points? Do we use a specific data structure? Do we take only the three more relevant di... |
I have 8 predictors and for 4 of them, the AV plots have a slope close to 0. Is that enough information for me to leave out these predictors in my model?
|
Suppose that ${y_1}, ..., {y_n}$ is a random sample from an ${N(\mu,\sigma^2)}$ distribution. Then
$$
{\sum_{i=1}^{n}{\frac {(y_{i}-\bar{y})^{2}}{\sigma^{2}}}}$$
has a $\chi^{2}_{n-1}$ distribution. Why is this the sum of ${\chi^{2}}$ distributions that sum to a chi-square distribution with ${n-1}$ degrees of freedom i... |
I have the following problem (BDA3), but I'm confused, because actually, I have 2 samples, and I don't know how to set up just one model (of course is a multiparameter model, but how can I use the independence?) and honestly, I can't see the difference between a) and b). Guys, I just want a HINT, because I really have ... |
I am not sure what the formula is for the covariance of an AR(2) process
$$
X_t = \phi_1 X_{t−1} + \phi_2 X_{t−2} + \epsilon_t
$$
where $\{\epsilon_t\}$ is white noise process (Gaussian) $N(0, \sigma^2)$.
What is the formula for $\text{Cov}(X_t, X_{t-j})$?
|
I'm familiar with the standard Mantel Haenszel method for Odds ratios and Risk ratios. Is there also a random effects method? If so, can anyone provide the formulae and/or citations?
|
SAS provides a handy tool for handling panel models with a large number of groups by 'absorbing' those groups (PROC GLM; ABSORB). My understanding is that it factors the effect of the absorbed parameters out of the data before estimating the remaining parameters. It seems like this may invalidate the standard errors of... |
I want to rank ten or so sources based on their respective error measurements.
A few notes on the sources and measurements:
The sources do not have the same number of measurements
The number of measurements range in the 100s to the 1000s
There are no expectations on the mean nor variance of any of the measurements
The... |
Artificial neural networks have a bad reputation of being a black box. More over in cases when we do have some prior knowledge about the domain of a particular supervised learning problem it is not obvious how to introduce it to the model.
On the other hand Bayesian models and the state of art of those - Bayesian netwo... |
I am trying to figure out how to answer 1.1.c from here http://www.cc.gatech.edu/sites/default/files/images/200808_cse_qualifier.pdf. The problem setup is as follows
We are then asked to show
An earlier problem had us show that the maximizing ranking is in descending order of $y$ values. My intuition is that in exp... |
This is a long question but I would be very grateful if someone can help or provide some reference! And I believe this is a common confusion among beginners of MCMC.
Background
Given a directed graph $G=(V,E)$ where $V$ is the vertex set and $E\subseteq V^2$, define a labeling function $z:V \to \{1,...,k\}$ where $z$ p... |
From the tutorial of the XGBoost, I think when each tree grows, all the variables are scanned to be selected to split nodes, and the one with the maximum gain split will be chosen. So my question is that what if I add some noise variables into the data set, would these noise variables influence the selection of variabl... |
A Pareto chart could be used to show which factors have the greatest impact and where attention is likely to yield the greatest benefit.
Also common machine learning feature selection methods can simplify model, reduce training times, overfitting etc.
Both techniques are used to pay attention to some bolded features. ... |
I'm using the neural networks functions in Matlab (patternnet with trainFcn = trainlm) to classify some data into 5 types. After running the network several times on the same datasets I realized that sometimes it stops training because "minimum gradient reached" and sometimes because "validation stop". Whenever it stop... |
My training data has millions of rows with diagnosis and medicines prescribed for them by multiple doctors.
An example row:-
Doctor name: John ;
Diagnosis: diabetes, hypertension;
Medications: ABC, XYZ, KLP, FG-2 ;
Note: We are not aware which medicine is used to treat which diagnosis.
I need to be able to predict... |
How can I simulate from the density $f(x)=x^2\phi(x)$? Where $\phi$ is the standard normal density. Preferably directly, without using MCMC.
|
I am trying to generate Correlated Uniform Random Variables with given mean, standard and correlation structure. I have looked through various posts in this topic including this(Can I use the Cholesky-method for generating correlated random variables with given mean?) and seems to can't get through.
Here is how I am p... |
I would like a clarification regards the concept of likelihood.
Example:
A random sample distributed with a density of normal probability (u, v). you get the following graph of the standardized likelihood for n = 5, $\bar{x}$ = 1 and $s^2$ = 2.
I would like to know if the graph can be interpreted in this way:
That axi... |
I have a data set for two groups i.e. control group and treatment group. They are two different group from the same socio-economic background. But the treatment group has participated in co-management program with the local forest department. Both of these groups have networked with different local organizations, those... |
Let $\mu = -a \mathbb{1}_n$ and $\Sigma = \mathbb{1}_n \mathbb{1}_n^T + \operatorname{diag}(\mathbb{1}_n)$. Is there a way to simplify $\Phi_n( - \Sigma^{-1/2} \mu)$ given the very simple structure of $\mu$ and $\Sigma$? Maybe recursively in terms of lower dimensional cdf somehow...? $n$ is potentially very large. Than... |
I have a data set including daily prices and demand of a commodity. I am sure that, price and demand weekly and monthly changing. So it has a seasonality effect. How can I decompose it by using daily data ?
My data looks like this ;
The row number is 335 . So the last date is 2016-11-30.
I will try to catch a relation... |
I am clustering time series data. Each entry is an univariate time series. Aim is to mine relevant features to classify the series. I looked up here, and other general references for this purpose. Most of the features used encode information about the entire time series.
But in my case, based on the exploratory analysi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.