Skip to main content
1 vote
1 answer
149 views

I have a set of K dimension standard basis vectors and the (K-1)-simplex defined over these vectors. I want to divide this simplex into sub-simplexes which partition the original simplex using ...
Joe Emmens's user avatar
0 votes
1 answer
100 views

After iterating through multiple nested loops to train multiple DL models, I want to poke around in the results to compare how different changes to hyperparameters, different datasets, and different ...
jiversivers's user avatar
0 votes
0 answers
34 views

Code : from pandas import DataFrame from pandas import concat from keras.models import Sequential from keras.layers import Dense from keras.layers import GRU # y.shape : (2325, 2, 13) # X.shape : (...
younes_khosravi's user avatar
0 votes
0 answers
90 views

while finding the euclidean distance to generate the seeds for watershed, I got an error XA must be a two dimensional array. I applied many things suggested on stack overflow but couldn't solved this ...
bahadur ali's user avatar
0 votes
1 answer
221 views

How can I create a function that accepts as an argument an n- dimensional vector that will return (x1, x2^2, ..., xn^n) in R.
Ειρήνη Θεοδωροπούλου's user avatar
1 vote
0 answers
352 views

I am using .where() function to select time and certain criteria in xarray dataset. import numpy as np import xarray as xr ds1 = xr.open_dataset('COD.nc') ds2 = xr.open_dataset('CDNC.nc') ds3 = xr....
hbkumar's user avatar
  • 65
-1 votes
2 answers
195 views

Consider a set of points in an n-dimensional space. Each dimension is bounded in the range [0, 1] inclusive. Add a new point to the space as far away as possible from its nearest neighbor. Where ...
Brian Schack's user avatar
2 votes
2 answers
696 views

Given a vector of N-dimensional points. The vector will be of size N+1. Is there a generalized algorithm to find the center and radius of the ND sphere using those points where the sphere intersects ...
Christian__'s user avatar
2 votes
3 answers
99 views

Problem statement: I have 32k strings that consist of 13 characters. Each character can take 3 values (a, b or c). I need to select n strings from the 32k that satisfy the following: select minimal ...
PeterP's user avatar
  • 21
0 votes
1 answer
194 views

I am trying to create a multi-dimensional window across a stack np array and find the max of each of the windows. Below res is a stacked array with shape (3, 4, 4). I would like to have a window with ...
maximus's user avatar
  • 365
4 votes
1 answer
316 views

I'm attempting to design an algorithm that, given n, m, and vertices (where n = the dimension of a hypercube, m = the dimension of the faces we're trying to generate, and vertices is an ordered list ...
mhollingshead's user avatar
1 vote
1 answer
258 views

Problem: boost/geometry/geometries/point.hpp point template does not provide a way to construct an n-dimensional point type with non-zero values. For example: #include <boost/geometry/geometries/...
Erich McMillan's user avatar
1 vote
0 answers
165 views

I have some code that takes parameters x1, x2... xn and outputs the value y. I want to find the parameters that maximize y. I picked randomly the parameters 1000 times, calculated the target value and ...
e271p314's user avatar
  • 4,089
1 vote
1 answer
863 views

I have tried to find random points on the NxM dataset based on the lowest value of each M as low range and the highest value of each M on as high range. Here is the code: def generate_random_points(...
Shihab Ullah's user avatar
2 votes
2 answers
326 views

I wanted to write my own code to iterate over an n dimensional vector (where the dimension is known). Here is the code: void printing(const auto& i, const int dimension){ int k= dimension; ...
Bouraoui Hamadou's user avatar

15 30 50 per page
1
2 3 4 5
8