Questions tagged [dimension]
In physics and mathematics, the dimension of a space or object is informally defined as the minimum number of coordinates needed to specify any point within it. In the dimensional modeling, a dimension is a table in a star schema of a data warehouse. It is collection of reference information about measurable event. Dimensions categorize and describe data facts and measures in way that support meaningful answers to business questions.
dimension
784
questions
0
votes
0
answers
42
views
How can I use netDXF to add dimension styles to a dxf?
I'm looking into netdxf (https://github.com/haplokuon/netDxf/wiki) to try to add dimension styles to a dxf file. Can anyone help? I've added the NuGet package for it but am having trouble trying to ...
0
votes
0
answers
7
views
Are there any exceptions where errors are subracted
Can errors ever be subracted?
Any exceptional case where errors are subracted in measurement, like in relative error, percentage error,etc
Like whenever we calculate relative error in x/x+y we ...
0
votes
0
answers
26
views
Invalid display metrics in Android 9
I have two computers, Odroid C2 with Android 5.1.1 and Odroid C4 with Android 9.0. Both have the same display and video controller, 1280x800. I run the same code on both computers:
Resources r = ...
0
votes
1
answer
23
views
values inside dimension of netcdf4 variables in python
I want to change the values of the variableDimension i.e, my dimension is 3, but I would like the dimension of an array with their values.
lats=[10,9,6]
|lats| value |
|----|-------|
| 10 | 3 |
| ...
0
votes
0
answers
27
views
How to use model.predict after PCA transformation in Python?
how can I make predictions with my model after use pca transformation and after the model is already trained? I'm a beginner in this world so please let me know if that question doesn't make sense
...
0
votes
0
answers
10
views
is there any ways to print out every possible integer numbers for dimensions of rectangle/right triangle in a (X x Y) form with their perimeters?
eg. enter image description here
requst. enter image description here
I couldn't figure how to start the code. Please help me.
I have to make a Python program which finds rectangles and
right ...
0
votes
1
answer
179
views
Keyword Labeling in Google Looker Studio
I want to label Google Search Console keywords in Google Looker Studio. I tried doing to do so using a CASE as well as an IF function:
CASE
WHEN Average Position <= 10 THEN "High Ranking"...
0
votes
0
answers
14
views
Dimens file not working properly with some changes in dp values
When i change any dp value in one dimens file it will reflect in two devices in android
I wan to create a dimens file for 6inch screen 10802160 and 403 dpi which i need to compatible with my device ...
0
votes
0
answers
16
views
How to use tensorflow dataset to fit a tf.keras model? why do I need to batch?
When following the recommended way to create a dataset from numpy arrays via
dataset = tf.data.Dataset.from_tensor_slices((xdata, ydata))
the way to fit the model
model.fit(dataset)
creates the ...
0
votes
1
answer
27
views
YTD dosn't work on Dimension Time in a simple month (month without year)
I would like to know if is possible have a YTD measure in a usually time dimension without show the year when I select the month.
when I select the YTD and select the month not summarize, just show me ...
0
votes
0
answers
57
views
Cube.js dimension and metrics validation
I was working on a project where we were using cube.js for query generation,I need some way to validate weather the selected metrics and dimensions are valid or not does anyone have idea on this.
I ...
0
votes
0
answers
248
views
Fpdf Set Image In Center
How can I make it center
I am trying to center image in center but I couldn’t find a solution
def header(self):
"""
Create header for pdf file.
"...
1
vote
0
answers
37
views
CSS setting max-width AND max-height for an item
I have an image with dimensions 335px X 891px.
I have CSS set to max-width:270px and max-height:530px
The result I get is...
The image does shrink and keep it's aspect ratio. It's shrinks to the ...
0
votes
1
answer
29
views
Relationship between dimension and measures
There is a Fact Table (.....,MenuID, MOption, CallTime)
There is also a Dimension "Menu" Table (MenuId,OptionID)
Relationship between these tables (MenuID and MOption)
In the Dimension table,...
0
votes
0
answers
24
views
Data dimensional model
I am trying to create dimensional model for creating RDBMS. I have to create multiple fact tables. My question is regarding time fact table. I am using date as a fact table. Can I use time as fact ...
1
vote
1
answer
45
views
Dimension filter not working on visual object
I have a dimension filter on a visual which doesn't work. The table consist three dimensions:
The measure I use in the visual are as follows:
Chat 2022 = CALCULATE(SUM('LD Henvendelser kanaler'[Value]...
0
votes
0
answers
44
views
Item coupon dimension not visible in Looker Studio
I would like to ask you why I can not see dimension of Item Coupon in Looker studio.
In GA4 explore report I can see this dimension, but not in Looker studio:
The main goal is to find an answer "...
-1
votes
1
answer
89
views
while displaying dimensions in the viewport i need to show no of decimal points according to user's wish how to do that?
in eyeshot wpf while displaying the dimensions in the viewport i have to show the decimal digits of dimension according to the decimal points which user entered in the text box of viewport.
for ex: if ...
3
votes
1
answer
44
views
A universal algorithm for filling an array [duplicate]
I have a code and it works for 3 dimensions, but I want to be able to specify the number of dimensions dynamically. There is a function nchoosek, but it creates an array of non-repeating elements.
...
0
votes
0
answers
323
views
Dimension filter in Spreadsheets (GA4 addon)
At the moment I am struggling to filter my data on the specific dimension sourceMedium.
Report Name
gads-conversions
Property ID
properties/xxxx
Start Date
2023-01-01
End Date
yesterday
Metrics
...
0
votes
1
answer
50
views
SSAS: Error duplicate attribute key in processing Cube Dimension
There's dimension DimTable1 containing in Column1 a lot of duplicate values, NULL values and '' values. Processing the Cube fails with an error:
Errors in the OLAP storage engine: A duplicate ...
0
votes
0
answers
43
views
AutoCAD "DIM" command with no text shown up
I am using the same AutoCAD software in the same PC. I opened a new acadlt.dwt and were able to draw lines with "DIM" command working properly (with text shown up). Then I saved it as a dwg ...
0
votes
0
answers
82
views
Pytorch DataLoader returning incorrect dimensions
I'm using the following code to construct an iterable dataset to work with multiple datafiles:
class LargeScaleDataset(IterableDataset):
def __init__(self, csv_files, target_file, chunksize=10 ** ...
0
votes
1
answer
503
views
NCO: Change time dimension back to unlimited
I've been trying to change the time dimension back to unlimited in a NetCDF file and haven't been successful. I made a new file and appended everything together:
dimensions:
lon = UNLIMITED ; // (...
0
votes
2
answers
193
views
How can I fix the missing bottom part in React Native Modal displaying on Android mobile devices?
In React Native, I have an Image in Modal.
However, when the Modal is first displayed, it encounters an error where the bottom part is missing.
This bug when Modal show in first time
When I try to do ...
0
votes
1
answer
29
views
Dimension matrix error in while loop Matlab
I want my code to give me a final matrix of 31x5
nplants=5
nhours=24
for j =nplants:-1:1
for comb = fliplr(nchoosek(1:nplants, j).')
outage = ones(nhours, nplants);
outage(:, ...
0
votes
1
answer
13
views
hwo to introduce Mobile first concept in a website creation
Good morning,
I want to creat a websibe mobile first but i want to know this before.
Good morning,
To respect the mobile-first concept, do I have to give the dimensions of a mobile device to my ...
1
vote
4
answers
90
views
How to add a dimension to an array and fill up the new dimension with a set of same data
I have two 1D-arrays. I need to expand the first array (a) with all lines from the second array (b) to create a new array that is a 1D-array merging the two arrays.
Example below to be clearer:
a = np....
0
votes
1
answer
89
views
BigQuery Support for Youtube Data
There are many dimensions in the Youtube BigQuery data such as device_type where we don't get told was device_type = 101 actually is, this is frustrating as it is across many dimensions, operating ...
1
vote
1
answer
332
views
ValueError: The ordinate (last) dimension should be 2 or 3, got 4
I'm trying to generate a confusion matrix for my Faster-RCNN object detection model. But before try it on model, i decided to try it with simple arrays. But i'm getting an error, I don't know what ...
1
vote
3
answers
250
views
Dimesnion from React/native not working properly on Android device
I am trying to create an Instagram like reel functionality in react-native app.
I want to display a video element on entire screen available space.
For the purpose of it I am using a FlatList.
This ...
0
votes
0
answers
106
views
VBA Macro Error: "Run-Time error 1004: The specified dimension is not valid for the current chart type"
I have three Excel sheets. The first ('Player Internal') tab has a dropdown menu that toggles through Player #1-4, and each Player has a specific ID - Player 1 is 201, Player 2 is 202, Player 3 is 203,...
0
votes
1
answer
6k
views
Setting an array element with a sequence.The requested array has an inhomogeneous shape after1dimensions.The detected shapewas(18,)+inhomogeneouspart
I'm trying to do a scatterplot between this 2 variables, but it gives me this error.
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 ...
0
votes
1
answer
19
views
Is it better to use dimens files or create multiple layouts to support multiple screen sizes?
I'm about to publish my app and I'm confused between using multiple dimension files and using multiple layouts or is there any other way so my app can support multiple screen sizes.
I would really ...
0
votes
1
answer
162
views
PCA for high dimensional data using Python and Numpy
I have to implement a function for PCA for high dimensional data in Python and I'm stuck at some point. I expect the function to return the same principal components as my function for low dimensional ...
2
votes
1
answer
243
views
How to center NeutralinoJS screen
Using NeutralinoJS, how can start the app right in the center of the screen?
It should look like the splashscreen of any app. Unlike ElectronJS, Neutralino's window options doesn't seem to have a ...
-1
votes
1
answer
122
views
Sum two arrays of numeric values whose dimension is up to 100 in R
"Sum two arrays of numeric values whose dimension is up to 100 in R" is the question given to me.
As a beginner, does it mean the final array has 100D?
Suppose it would be correct, and I'm ...
1
vote
1
answer
413
views
Responsive position of a draggable element in React-Konva
I am using react-konva to try and make a tool where users can visualize and plan their frame wall. The user can choose a background, then chooses a frame size and different posters. It kind of looks ...
2
votes
0
answers
171
views
Using dimens in font size as design
I want to create a text base TextStyle to apply the image above, but I read some suggestions related to dimes then they advise me to use flutter_screenutil 5.0.3 package.
But it got errors:
...
0
votes
0
answers
134
views
NXOpen, How to get first and last point3d of a dimension?
I'm trying to get the first and second point of a given dimension in NX draft.
Actually I tried this code:
var firstPoint3D = dimension.GetFirstAssociativity().FirstDefinitionPoint;
var SecondPoint3D =...
0
votes
0
answers
46
views
How to read a text file into a 3D or 4 D array in bash/shell scripting and then read each element individually
Is there a way to read a text file into a 3D or 4 D array in bash/shell scripting and then read each element individually
Input file :
A1 10 20.1 2
P1 20 30.1 3
K1 30 50.2 4
and then be able to read ...
0
votes
1
answer
107
views
Is it possible to create two dimensional array and declare length of each row later?
Is there any way to declare length of each row later?
public static void main(String[] args){
int[][] arrr = new int[3][];
int[] arrr[0] = new int[3];
int[] arrr[1] = new int[4];
int[] ...
0
votes
0
answers
518
views
How to set a tkinter's window geometry for auto adaptation to space occupied by widgets?
The question say everything. So, How can I affect the geometry of a window adapting its dimension to the space occupied by widgets?
0
votes
0
answers
21
views
How to generate a Dataframe whose length equals to the product of all columns lengths?
I am looking for a quick way to generate a long dataframe. For example, the input is:
Column "color": [1,2,3] (length: 3)
Column "weekday": [0,1] (length: 2)
The expected ...
0
votes
1
answer
536
views
ValueError: Input 0 of layer "value" is incompatible with the layer: expected min_ndim=2, found ndim=1
I'm new to tensorflow.When I try to modify the model structure, I transform a tensor 'r',whose shape is (None,1) into a one-dimensional tensor with tf.reshape(r,[4,]), and then input it into the dense ...
16
votes
1
answer
6k
views
What is the best practice using dp and sp dimensions in Jetpack Compose?
I would like to understand how is better to use dp and sp values in the Compose project.
I checked several open source Compose projects and most of them are hardcoding the dimensions. That's ...
0
votes
1
answer
48
views
What if the number of values in dataset is different from total dimension of dataset in python?
I am working on with 'ERA5-Land monthly averaged data from 1950 to present' for total precipitation and evaporation.
I found out that the number of values in the dataset is 1,306,863,104.
[1306863104 ...
1
vote
0
answers
225
views
Buffer has wrong number of dimensions (expected 1, got 2). How to fit the dimensions problem?
import umap.umap_ as umap
#Uniform Manifold Approximation and Projection,find out how distinct our topics are
#https://umap-learn.readthedocs.io/en/latest/
embedding = umap.UMAP(n_neighbors=150, ...
1
vote
0
answers
2k
views
Google Data Studio Hide Column
Can I hide a column (dimension) in a data table?. This dimension is necesary for creating a conditional format, but I want to hide it