Search found 5 matches
- Wed Jan 04, 2017 7:12 pm
- Forum: General Discussion
- Topic: Addind hide information to a file of NTFS
- Replies: 0
- Views: 3719
Addind hide information to a file of NTFS
Hello! I have seen example of a code that was written with using python 3.-- but i work with 2.7 and i don't know how to fix a problem with coding symbols from extensional latin. I suppose that there is little error with syntax. But ok will use Python 3. In this code - example i work with a NTFS-fil...
- Mon Nov 28, 2016 3:17 pm
- Forum: General Discussion
- Topic: Solution for finding coef w of the least-squares solution. Why i get differ results?
- Replies: 3
- Views: 4253
Re: Solution for finding coef w of the least-squares solution. Why i get differ results?
Predz, you need to install numpy library before using this specif functions, which were used in my code.
- Sun Nov 27, 2016 8:39 am
- Forum: General Discussion
- Topic: Solution for finding coef w of the least-squares solution. Why i get differ results?
- Replies: 3
- Views: 4253
Solution for finding coef w of the least-squares solution. Why i get differ results?
Hello! I try to find my coeffients w for least squares and i use for this 2 ways described below. Why do i get differ results? Ef pol=5 then Dimension_of_pol = pol+1 Dimension_of_pol = 5+1 #My actually dimension of the polynom must be greater in +1 cause the range function give me only last degree X...
- Thu Sep 29, 2016 5:42 am
- Forum: General Discussion
- Topic: Working of Cache-mem using Queue in Python
- Replies: 1
- Views: 3248
Working of Cache-mem using Queue in Python
Hello! I write a code to simulate the working of cache-memory. In this model i try to realize FIFO-algorhythm which allow to delete last unused element (data, value, whatever). I wrote a special function, which give me a list with numbers (these numbers are addresses in memory). q=Queue.Queue(80...
- Sun Sep 18, 2016 9:55 am
- Forum: Whatever
- Topic: 'long' object has no attribute '__getitem__' Error in a function, which could substract arrays
- Replies: 1
- Views: 5430
'long' object has no attribute '__getitem__' Error in a function, which could substract arrays
I have a problem with my python-code. I have an array which is called the group: import numpy as np group = np.array( [[[0,0,1,0,0], [0,1,0,1,0], [0,1,0,1,0], [0,1,0,1,0], [0,0,1,0,0]], [[0,0,1,0,0], [0,1,1,0,0], [0,0,1,0,0], [0,0,1,0,0], [0,1,1,1,0]], [[0,1,1,0,0], [0,1,0,1,0], [0,0,1,0,0], [0,...