Categories
Artificial Intelligence (AI) Mastering Development

Do the order of the features ie channel matter for a 1d convolutional network?

Do the test dataset feature order and inference (real world) feature order have to be the same as the training dataset? For example, if features are in the order (a,c,b,e,d) for the training dataset, does that particular order have to match for the inference and test dataset?

Categories
Linux Mastering Development Ubuntu

Modifying keyboard layout in ubuntu 20

My hp notebook has a german keyboard that seems to be a relabled version of a us keyboard. Because of this it lacks the <>| key that is usually located right of l-shift on german keyboards. This is obviously very annoying and so far I haven’t been able to find an alternative key kombination that […]

Categories
Database Development

Unable to create partial indexes using bloom

I’m new to bloom indexes and currently my table has 3 partial indexes for the same column in the WHERE clause and with different column combinations for the same table. I was trying to replace them all with 1 bloom index. However, when I create a bloom index with WHERE clause using below syntax, I […]

Categories
Mastering Development

Firebase Storage security rules for folders

I am building an android app which has groups and Firebase storage has paths beginning with /{groupId}/Images/ and I have added security rules using file metadata. But the rules fail when I try to list contents of the Images folder because there is no metadata for a folder. How do I solve this issue? Is […]

Categories
Database Development

Unable to create partial indexes using bloom

I’m new to bloom indexes and currently my table has 3 partial indexes for the same column in "where" clause and with different column combinations for the same table. I was trying to replace them all with 1 bloom index. However, when I’m creating bloom index with where clause using below syntax – I’m getting […]

Categories
Mastering Development

How to show different listviews from pressing the item of a diffrent listview in the same screen in Flutter?

Suppose, I have a list List1 = [A,E,M,X] which I can show using listview.builder horizontally. I have some other lists such as List2 = [a,b,c,d], List3 = [e,f,g,h] etc which I can show under the listview of List1 on a similar way. What I want is whenever a user presses A from List1, the below […]

Categories
Mastering Development

How to do slicing in strings in python?

I am trying to do slicing in string "abcdeeefghij", here I want the slicing in such a way that whatever input I use, i divide the output in the format of a list (such that in one list element no alphabets repeat). In this case [abcde,e,efghij]. Another example is if input is "aaabcdefghiii". Here the […]

Categories
Mastering Development

How to get words matches with it’s count using pandas

i have 2 Dataframes like set1 = [‘a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’] set2 = [‘a’,’b’,’b’,’c’,’c’,’f’,’h’,’j’,’k’] df1 = pd.DataFrame(set1, columns=[‘name’]) df2 = pd.DataFrame(set2, columns=[‘name’]) i want to compare these 2 Dataframes without forloop and get a output like df3 = [‘a=1′,’b=2′,’c=2′,’f=1′,’h=1′,’j=1’] which way i can use for getting this output any examples .?? here i want only the items from […]

Categories
Cryptocurrency Ethereum Mastering Development

Using wallet alias

I’m working on a project and I need to know if this statement is possible: I have 10 registered users. Each user has an erc20 wallet. It is possible that when user A, C, E, or whoever deposit their token to their specific address the funds goes to the main wallet instead of the alias […]

Categories
Mastering Development

How to create a table using a list of lists

I’m trying to write a file where you have 2 rows, with the first row being numbers and the 2nd row being letters. As an example, I was trying to do this with the alphabet. list1=[‘A’,’B’,’C’,’D’,’E’,’F’,’G’,’H’,’I’,’J’,’K’,’L’,’M’,’N’,’O’,’P’,’Q’,’R’,’S’,’T’,’U’,’V’,’W’,’X’,’Y’,’Z’] list2=list1+list1 abcList = [[],[]] for i in range(len(list2)): i+=1 if i % 5 == 0: if i>=10: abcList[0].append(str(i) + […]