Questions tagged [multivariate-partition]

23 questions
4
votes
1 answer

How to color code scatter-plot of PCoA

So I am new to this. I need to run PCoA on the following data matrix. I am able to run my analyses using ADE4, labdsv, Ginko, Aabel softwares. Whats bothering me is how to color code the labels in the scatter plot. My matrix is a presence/absence…
4
votes
1 answer

Is there any multivariate version of the function interp1 in R?

I am looking for a way to compute the linear interpolation of a multivariate function (of 5 variables) using R. The package akima offer a way to compute the linear interpolation in the bivariate case. Is possible to perform the multivariate linear…
4
votes
1 answer

How do I find the k-nearest values in n-dimensional space?

I read about kd-trees but they are inefficient when the dimensionality of the space is high. I have a database of value and I want to find the values that are within a certain hamming distance of the query. For instance, the database is a list of…
2
votes
2 answers

Partitioning a correlation matrix in R

Please I need help partitioning a symmetric or any matrix in R, say my variables are grouped say the default data in R called longley, data() L.df<-longley cor(L.df) I need a code which will help me partition this correlation matrix as So that I…
2
votes
0 answers

geom_tiles : multivariable histogram with variable bin sizes

I have d-dimensional hyperrectangles defined by a minimum point and a maximum points. I have weights on theese rectangles and they form a partition of [0,1]^d. How can i plot a facetted geom_tiles that would show me every 2 dimensional projection of…
lrnv
  • 1,038
  • 8
  • 19
2
votes
0 answers

Incompatible shape issue with a mixture density network in tensorflow/keras

I'm stuck on a problem while computing a mixture density network through keras (using tensorflow backends). The goal of this MDN is to learn a latent representation of an image (in order to implement the predictions of the MDN in an autoencoder).…
2
votes
8 answers

ideas for algorithm? sorting a list randomly with emphasis on variety

I have a table of items with [ID, ATTR1, ATTR2, ATTR3]. I'd like to select about half of the items, but try to get a random result set that is NOT clustered. In other words, there's a fairly even spread of ATTR1 values, ATTR2 values, and ATTR3…
Steve Eisner
  • 2,005
  • 23
  • 35
1
vote
1 answer

LinearRegression on linerrud dataset

I am trying to find performance and Mean squared error of linnerud dataset with linear regression technique. I am stuck while passing data and get error "ValueError: Found input variables with inconsistent numbers of samples: [10, 1]". Linnerud…
1
vote
1 answer

multivariate density calculations in R

I have a data frame of many numeric variables. Is there a way of calculating (not plotting) areas of the global density which are less dense than others? In other words, is there a way of locating areas of the hyperspace which are very sparsely…
Omry Atia
  • 2,411
  • 2
  • 14
  • 27
1
vote
0 answers

Multivariate Classification Trees in R

I'm looking for advice on creating classification trees where each split is based on multiple variables. A bit of background: I'm helping design a vegetation classification system, and we're hoping to use a classification and regression tree…
Kiri Daust
  • 23
  • 5
1
vote
2 answers

Multivariate Hidden Markov Model

How can I combine multiple emmision spectra about the same markov states? Let's use the classical HMM example: % states S = {sunny, rainy, foggy} % discrete observations x = {umbrella, no umbrella} Now what if I had multiple observation sequences.…
Jean-Paul
  • 19,910
  • 9
  • 62
  • 88
1
vote
1 answer

Sample from Multivariate normal distribution using Boost

I can sample from a normal distribution using Boost in c++. I have now a simple question: How can i sample from a multivariate normal distribution (n>2) using Boost functions (normal distribution, multi-arrays...) ?
0
votes
0 answers

Canonical Correspondence analysis

enter image description here I have different categories of environmental variables such as the biotic factor (temperature, windspeed), spatial factor (longitude and latitude), and soil properties (soil ph) and I would like to perform Canonical…
0
votes
0 answers

Discriminant Correspondence Analysis - Nominal Data as Input or Integer Data as Input?

Here's where I'm getting the definition of Discriminant Correspondence Analysis from: https://www.semanticscholar.org/paper/Discriminant-Correspondence-Analysis-Abdi/55b6fa9ad5c3fae17cd7123656556abbadf5deb6 I'd like to use Discriminant…
0
votes
1 answer

Visualization of discrete and continous Data

I want to visualize several variables of discrete and continous data in one Plot. Does anybody have suggestions for visualization examples or where I should have a look? Thank you in advance.
TomHanks
  • 45
  • 1
  • 5
1
2