« first day (706 days earlier)      last day (1482 days later) » 

1:42 AM
0
Q: implementing basic toy hashtable

emschorschI wrote a minimal implementation of a hashtable in python as an exercise. from copy import copy def init_nested_array(size): arr = [] for i in range(size): arr.append([]) return arr class hashtable: def __init__(self): self.mod = 3 self.num_items = 0 self.arr = init_...

 
 
8 hours later…
9:54 AM
0
Q: How word lists can be used as a supervised data in finding the score of the report?

m2pathanWe have got historical reports and we need to find the score (whether report is effective or useful or not) based on supervised learning. While doing the supervised learning process, we have to upload the words lists that are available in the reports. We have to assign the weightage for the word ...

 
 
3 hours later…
1:22 PM
@Ita Man! What a ass you're! Seriously! You never reply when have some work.
 
 
4 hours later…
5:09 PM
0
Q: Comparing pixels against RGB value in NumPy

Luis MasuelliAssume I created an image in NumPy: image = imread(...) And the image is RGB: assert len(image.shape) == 3 and image.shape[2] == 3 I want to check (i.e. get a boolean mask) which pixels are (R=255, G=127, B=63) in a cleaner and efficient way: mask = (img[:, :, 0] == 255) & (img[:, :, 1] ==...

 
 
1 hour later…
6:13 PM
1
Q: Count how many times values has appeared in list so far

CactusWomanI have a list of non-unique values. I want to output a list of the same length where each value corresponds to how many times that value has appeared so far. The code I have written to do this seems over-complicated, so I think there has to be a better way. x = [1,1,2,3,1,3] def times_so_far(...

 
7:03 PM
1
Q: N-dimensional maze generation with octrees and pathfinding

PeterI did a maze thing ages ago that could support any number of dimensions, but it was very slow to generate. To get an idea of how it generally works with the multiplier and stuff, here's a gif of something I made with it: One thing that always bugged me was I couldn't figure out pathfinding, an...

 
7:45 PM
1 message moved from Leaf Village Ninjas
 
 
1 hour later…
8:55 PM
 
1 message moved from SO Close Vote Reviewers
 
-1
Q: Project 1 Python Code>

Miranda WaltersPython Code> Description of the Problem: A cable company sends out technicians to install cable boxes in customers’ residences. They want a simple program that gets information from the technician and prints out a time card with the wage earned at the end of the day. Here is information regardi...

 

« first day (706 days earlier)      last day (1482 days later) »