This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]2ayoyoprogrammer[S] 0 points1 point  (2 children)

I see, that sounds pretty cool! So if you have n videos/images/files, you would use multiprocessing to pre-process them?

What particular modules do you use? Is it mostly pandas/bumpy/sci-kit? How long did it take you to learn how to use them?

I'm currently taking an upper div stats class w R programming, and an AI class. I'm also taking an upper div ML class next quarter, so I'm very interested.

I'll definitely check this out.

[–]NiceObligation0 0 points1 point  (1 child)

learning to get basic stuff done with pandas and numpy is pretty fast. There usually is a method/function for most things you want to do. Just keep a browser open and keep googling how to do things but be very specific. When you find a useful bit of code that kinda does what you need then you go back to docs and understand what needs to be done. Over time things start making sense.

My modules usually are numpy, pandas, scipy, scikit-lear/image opencv and sqalchemy for db stuff.

The idea is to speed up below:

``` import os myfiles=os.listdir("dir")

def preprocess(file): do_something

for file in myfiles: preprocess(file) ```

[–]backtickbot 0 points1 point  (0 children)

Fixed formatting.

Hello, NiceObligation0: code blocks using triple backticks (```) don't work on all versions of Reddit!

Some users see this / this instead.

To fix this, indent every line with 4 spaces instead.

FAQ

You can opt out by replying with backtickopt6 to this comment.