224 questions
The image was classified using RCNN and the result was received as an array.import pandas as pdimport collectionsx=r['class_ids']pic_before=collections.Counter(x)pic_beforeout : Counter({17: 2})y=r1['...
I heard that there is also a difference between char and char [] in Java, is that true?
You want to compare an array with multiple arraysFor example, A={1,1,1,1}, B={{0,0,0,00},{1,1,1,1},{2,2,2,2},{3,3,3,3},...}, C={10,10,10},{20,20,20},...},D = {},...I want to compare A and B, compare A...
class CodeRunner{ public static void main(String[] args){ char[] hex = {'C', 'A', 'F', 'E'}; String[] binary = {0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 11...
We're working on a code that clusters with a pie line.First, the initial data is a=[1,2,13,14,16,25,54,68,88,94,101,110,114,122,132,165,170] Assuming that it looks like this, I wrote the clustering co...
You are trying to output the array without overriding the toString(). A strange value was printed. int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray); //'[I@3343c8b3' <- This ...
There's a value [1,2,3,4,5] in the array A, and even if you copy the value of A to B and change A to [6,7,8,9,10], B wants to remain as [1,2,3,4,5]for(int i=0; i<5; i++){ B[i]=A[i]}I did it like th...
It's a language problem Using a two-dimensional integer array, input and output a 3X3 matrix, and create an appropriate function for the first row It's a question to print out after exchanging two lin...
var names=new Array(); names[0]=prompt(New member name?);You can just do this, but I have to save it to localStorage now. var localStorage[names]=new Array();localStorage.names[0]=prompt(New member na...
Writing a function that finds the maximum/minimum value of an array is a bit tedious, as follows::/** * * * @param chars * Maximum value in @returnchar array */private static int maxValue(char[] char...
« | - 14 - | » |
© 2024 OneMinuteCode. All rights reserved.