Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

I'm working with OMPL trying a version of this demo but changing it to 3 dimensions and using it for ROS2 (That last part about ROS2 is not relevant). Of course, I need the quaternion to make the ...
Daniel Bajo Collados's user avatar
0 votes
1 answer
52 views

During fieldwork, we collected data for counts of dolphins at coral reefs per month, per year. I have split my data into seasons for winter and summer. This is my method for dplyr: Step 1: Calculate ...
Alice Hobbs's user avatar
  • 1,247
0 votes
0 answers
51 views

I have the following data sets that have in the x-axis time in "HH:mm:ss". Each data set has different numbers of "times" but they are all within a 2hr duration. I want to plot ...
J Paul's user avatar
  • 169
0 votes
0 answers
40 views

I have been trying to run the code in R to normalize an image and clip the channel at 0.2. However, I keep getting an issued argument for anything I put after the first argument. inputRange is listed ...
gjb042's user avatar
  • 1
1 vote
1 answer
255 views

I have a scatter plot that I'm making but when I switch between mcolors.Normalize and mcolors.LogNorm the color bar is not consistent between the two figures - I would think that the normalized color ...
BML's user avatar
  • 313
0 votes
1 answer
82 views

I'm trying to normalize my script plot of the Mag7 index to start at the y-intercept, so that it lines up with the NASDAQ composite index (IXIC). The bespoke index consists of prices and total ...
Garen's user avatar
  • 177
0 votes
0 answers
182 views

I'm working on a project that involves calculations with eigenvalues and eigenvectors. At the beginning I was doing everything in NumPy, but for diverse causes I had to change everything to SymPy. My ...
Ectobius Rex's user avatar
-4 votes
1 answer
80 views

I had input in below format: Expected output is in below format: I tried using pandas data frame to format the data & used the normalize techniques but it didn't work as per expectation. So ...
krishna's user avatar
1 vote
0 answers
95 views

I have an issue removing diacritics from an filename provided by FrontEnd. I found this post here where it solved the problem. BUT! ^^ It's not doing the job for me on all my Backend Application. We ...
Adrien Pigenel's user avatar
0 votes
2 answers
157 views

I have two data sources that I retrieve different format Json's from and I want to create a normalized object that will represent the merged Json's according to distinct values. For example, the first ...
shluvme's user avatar
  • 881
1 vote
2 answers
629 views

In PHP, mb_strtolower('İspanyolca'); returns U+0069 i LATIN SMALL LETTER I U+0307 ̇ COMBINING DOT ABOVE U+0073 s LATIN SMALL LETTER S U+0070 p LATIN SMALL LETTER P etc. I need to ...
Cymro's user avatar
  • 1,484
1 vote
3 answers
57 views

I am trying to normalize a nested JSON file in pandas. I am unable to get the ab_id column in the beginning as observed in the current output screenshot. Additionally, since if I remove record prefix ...
Aakash's user avatar
  • 47
0 votes
1 answer
357 views

I have the following complex JSON data that needs to be normalised to a Pandas DataFrame. { "notice": { "copyright": "Copyright Info", "...
alextc's user avatar
  • 3,589
0 votes
2 answers
509 views

I am trying to build a tokenizer which takes in Hindi sentence and removes any other scripts present in it. This is my code that i have written and the output is attached as well. I tried this import ...
Ikshan's user avatar
  • 27
0 votes
0 answers
27 views

I have one set of data called Earnings which span from 0-80000, and one called NBPrice which span from 0-200, and would like to fit both in the same chart, but the first range is too high, any way to ...
user22191373's user avatar
1 vote
0 answers
200 views

I am using symfony normalizer for translations. Every time I have specific object I want to translate data in that object. Is it correct to translate data in normalizer? class ExampleNormalizer ...
kukipei's user avatar
  • 641
0 votes
1 answer
134 views

I'm trying to create a function in my model to display product info, and in my model I have the following: class Product(models.Model): price = models.DecimalField(max_digits=10, decimal_places=2) ...
DEV's user avatar
  • 75
1 vote
1 answer
141 views

I would like to flatten a json request from an API. I have been trying to use pandas to achieve this. Here is a sample of the json I am working with: response = { "data": { &...
matzano's user avatar
  • 33
1 vote
0 answers
186 views

I searched the site and I figured that maybe ffmpeg-normalize could be part of my solution but I'm really not sure. In my free time me and my friends create quizzes for people to solve. One of these ...
dick_kickem's user avatar
0 votes
1 answer
880 views

I'm trying to normalize an Address object with the Symfony Serializer but the following property is not normalized correctly. Address object final class Address { ... private ?string $...
Gus de Boer's user avatar
0 votes
1 answer
264 views

I have two images with same dimensions. I want to make the total intensity of these two images to be the same. For example, image A has total intensity of 100, I want the image B to also have the same ...
Aning's user avatar
  • 45
3 votes
2 answers
74 views

For example, I have a data like below. dataA=structure(list(variety = c("CV1", "CV1", "CV1", "CV1", "CV1", &...
J.K Kim's user avatar
  • 964
0 votes
0 answers
145 views

I have a 2-D array with floating points. and I want to normalize it between 0-255 in python. I applied the opencv normalization like this: result = cv2.normalize(my_array, None, alpha=0, beta=255, ...
Rosy's user avatar
  • 851
-1 votes
3 answers
830 views

I have a list of data that only contains positive values, such as the list below: data_list = [3.34, 2.16, 8.64, 4.41, 5.0] Is there a way to normalize this list into a range that spans from -1 to +1?...
Philipp's user avatar
  • 415
-2 votes
1 answer
4k views

The image above is the JSON structure. I am trying to normalize this dataframe so that it can be explored for further usage but I keep getting the following error and the command used is given below: ...
R SARVESH 1960372's user avatar
0 votes
0 answers
84 views

I have a text with many utf-8 characters such as š,œ and Ó. There are many questions on this plattform regarding how to transform utf-8 to ascii focusing on the byte-encoding. I would like to know ...
Uwe.Schneider's user avatar
0 votes
2 answers
99 views

I have defined the following function in Python to return a normalized version of the matrix M. def get_normalized_matrix(M, O): M_copy = np.copy(M) M_copy[O == 0] = 0 a = np.sum(M_copy) / ...
Rose Ben Ann's user avatar
0 votes
1 answer
1k views

I'm working on a React and TypeScript project, and I'm making several requests to the backend using axios. However, I noticed that the response data is not properly formatted. Specifically, the fields ...
ellis's user avatar
  • 311
-1 votes
1 answer
56 views

I have a board game notation for the game of Hnefatafl which I need to rotate clockwise. In the game of Hnefatafl we use a 11x11 board with files from A to K and ranks numbered from 1 to 11. So, here ...
Plamen Draganov's user avatar
0 votes
1 answer
124 views

I am coding a machine learning algorithm using Keras and I need to normalize my data before feeding it through. I have 3 inputs organised into a 2d array with each column making up an input. ...
Warmapplepie_'s user avatar
0 votes
1 answer
47 views

I have a DB collection consisting of nested strings . I am trying to convert the contents under "status" column as separate columns against each order ID in order to track the time taken ...
nitin bhatt's user avatar
0 votes
1 answer
50 views

I have a DataFrame with multiple columns. I am trying to normalize all the columns except for one, price. I found a code that works perfectly on a sample DataFrame I created, but when I use it on the ...
MathMan 99's user avatar
-1 votes
3 answers
70 views

Here is my pd.DataFrame with its metadata column: date metadata 0 2022-12-03 [{'key': 'key1', 'value': value0.1'}, {'key': 'key2', 'value': value0.2'}, {'key': 'key3', 'value': ...
user avatar
0 votes
1 answer
237 views

My code: import numpy as np import matplotlib.pyplot as plt from matplotlib import colors x = y = np.linspace(0, 10, 51) X, Y = np.meshgrid(x, y) Z = X+Y # Z.min() => 0, Z.max() => 20 cf = plt....
gboffi's user avatar
  • 25.4k
1 vote
2 answers
1k views

Forgive my ignorance for not knowing the technical term for foreigner languages that use characters as ø i.e. Helsingør Ł i.e Łeczna ı i.e Altınordu ł i.e. Głogow how could I normalize those with ...
Jonca33's user avatar
  • 3,503
0 votes
1 answer
148 views

Want to implement dataframe expansion from JSON data with preset values. Collating all the key values within JSON data to be set as column headers id |Name | MonthWise 0 |ABC |{'102022':{'val':...
abhi1610's user avatar
  • 743
0 votes
3 answers
453 views

I have a 4D array of input that I would like to normalise using MinMaxScaler. For simplicity, I give an example with the following array: A = np.array([ [[[0, 1, 2, 3], [3, 0,...
Amina Umar's user avatar
1 vote
0 answers
90 views

I assume I didn't fully understand unicodedata.normalize() function in Python. from unicodedata import normalize result = normalize('NFKD', 'Ä') print(result) # 'A' print(len(result)) # 2 print(...
buhtz's user avatar
  • 12.5k
0 votes
0 answers
42 views

I am trying to make a new column with the proportion of the whole, grouping by the "category" and "conservation_status" column. I am not sure if "normalize" is the ...
Keith Taylor's user avatar
1 vote
1 answer
686 views

I am trying to understand Normalize() from Trochvision.transforms. After using it, the mean should be 0 and the std() should be 1. At least that's what the tutorials tell. But it does not work! I ...
noctua's user avatar
  • 135
0 votes
0 answers
207 views

I am working on LSTM model, and i saw different pre-processing for the similar data on the web. Can you please help me to understand difference between them and which one should i select: 1) ...
gulsh's user avatar
  • 1
1 vote
1 answer
475 views

I use torch.nn.Embedding to embed my model’s categorical input features, however, I face problems when I set the max_norm parameter to not None. There is a note on the pytorch docs page that explains ...
Mahsa's user avatar
  • 11
0 votes
1 answer
384 views

I am working with an nlp model where I'd like to normalize the nlp.vocab.vectors. From the documentation about spacy vectors it states that it's an numpy ndarray. I've googled a fair bit about ...
OLGJ's user avatar
  • 472
1 vote
1 answer
161 views

Actually, I want to create an oracle procedure to normalize the table and for that we required a multiple queries/task to perform /execute. Below are the steps for which will help to write an oracle ...
Dhanashri 's user avatar
1 vote
1 answer
963 views

I have video features as numpy files (.npy) with the shape of (15, 2048) with positive and negative value. I want to normalize it so that all the values are positive only. The numpy array is something ...
A_B_Y's user avatar
  • 472
2 votes
2 answers
129 views

I received a JSON file to transform into a CSV file. [ { "id": "132465", "ext_numero_commande": "4500291738L", "ext_line_items&...
AlexH's user avatar
  • 31
0 votes
0 answers
321 views

I'm working on convertion of sql from Teradata to snowflake, I've encoutered Normalize in sql with period(). Is there any equivalent in snowflake? ... select normalize id, abc, xyz, period(time, ...
abdoulsn's user avatar
  • 1,201
2 votes
1 answer
158 views

In R I want to program a function normalize() that normalizes a numeric vector x to mean(x) = 0 and sd(x) = 1, and that provides flexibility in handling NAs using tidyverse functionality. Using the ...
jvsamson's user avatar
0 votes
2 answers
82 views

I have a dictionary that looks like: my_dict = { '_id': '12powensjdm683ma23', 'data': { 'account': 'FUNDING', 'form': { 'accounts': { 'credit': { '...
Ellel P.'s user avatar
0 votes
0 answers
74 views

I would like to get some suggestions about the best way to normalize my dataset to use as ML inputs. My dataset looks like this: --------------------------------------------------------------------...
Curiel's user avatar
  • 39

1
2 3 4 5
12