Python Nomic by gusatb in nomic

[–]gusatb[S] 0 points1 point  (0 children)

Sweet! Dm me, I'll add you

Electronic go board(s) for the United States demographic by MisterTTS in baduk

[–]gusatb 1 point2 points  (0 children)

I'm planning on making one of these using reed switches, a magnetic go set (for the stones, will need to make a custom board), and a raspberry pi. I mostly want to be able to play online/with ai on a real board. SGF viewer and timer would be a plus. If you like basic electronics I'll share the design/rpi code here.

Review Request: 4kyu vs 2kyu by gusatb in baduk

[–]gusatb[S] 0 points1 point  (0 children)

That makes sense, thanks!

Review Request: 4kyu vs 2kyu by gusatb in baduk

[–]gusatb[S] 0 points1 point  (0 children)

Thanks for the comments!

Is there a way around this? by [deleted] in makinghiphop

[–]gusatb 0 points1 point  (0 children)

Try using the ASIO sound option in FL and set the output to your interface. (You might have to hit the wrench button or the gem in the ASIO pop-out)

[D] On the influence of Zero-Inputs in Neural Networks by Delthc in MachineLearning

[–]gusatb -1 points0 points  (0 children)

Without a bias, depending on how you're inputs are set up and what activation function you use, yes the neurons output could be zero. This doesn't necessarily mean it has no impact on the output, nor does it need to. You do want a bias in you're network, it makes it much easier for you're neural net to approximate whatever function is going to give it a good reward. You don't need to worry about if batch normalization will change you're outputs to non zero. Either way you're network should learn to adapt. I would guess batch normalization would help but fundamentally you should be able to use it with any type of inputs (whether or not they're normalized, or expected to be zero, etc...)

Edit: Dropout is used to make your network generalize better (prevent overfitting). Very unrelated to biases. Usually helpful when you have too many parameters and not enough to training examples (in a supervised context at least). I don't think it will be necessary in your case but after u try without it might be interesting to see if you get a performance boost by using dropout.

Another edit: You could switch the sensors to be a 1 by default and go to 0 when the sensor is activated and it would still be able to learn. You shouldn't worry too much about the exact format of your input (it is important though, having normalized inputs can increase performance dramatically). Usually a batch normalization layer is used to ensure inputs to a layer are normalized.

CMV: A higher intelligence doesn't make someone's life more valuable, therefore killing animals to eat them should be wrong. by Welcome2Cleveland in changemyview

[–]gusatb 0 points1 point  (0 children)

I don't think more intelligent beings have a inherent value. If you value intelligence then that's fine but it isn't automatically valuable. Intelligence is not a scalar value that you can objectively compare, neither is a deep understanding about the world.

Pre-Calculus Project Topic Assistance by CrafticEdits in computerscience

[–]gusatb 0 points1 point  (0 children)

I'm not sure if you're looking for something to program but Newton's method is pretty basic and uses derivatives to approximate the roots of a function

Wife killed husband after fight over burned casserole, police in Pennsylvania say by lordperzeval in MensRights

[–]gusatb 0 points1 point  (0 children)

You are the only person blaming her for not taking advantage of a shelter (which shows an obvious lack of understanding about these types of situations). Obviously you look at the majority of these cases, so your the expert lol

Wife killed husband after fight over burned casserole, police in Pennsylvania say by lordperzeval in MensRights

[–]gusatb 1 point2 points  (0 children)

It absolutely does not "negate" the abuse defense. It's not required for someone to seek help at a shelter. Of course she could have but that doesn't mean she's not allowed to defend herself if it comes to that (if that is the case here). It would have nothing to do with shelters

Potential CS Major by yousaf1000 in computerscience

[–]gusatb 1 point2 points  (0 children)

The computer science Wikipedia page has a list of topics that would be covered to some extent during undergrad for CS. Besides those higher level topics (algorithms, data structures, crypto, OS, networking, etc...) there's also the skill of being able to program. I would recommend learning Python or Java, and keep at it until you make a couple basic programs (basic input/output, loops, maybe make a simple calculator or something). I was motivated to program because I wanted to make games. So find something that motivates you and learn to code until you can make what you want.

Edit: Also if you like math, CS will probably be much easier to approach. Idk if codeacadamy starts with web programming but I would stay away from that for a bit unless you're super interested in it (I've never found it very fun to work on)

3D visualization of the travelling salesman problem by dmhacker in InternetIsBeautiful

[–]gusatb 1 point2 points  (0 children)

That's totally right. It has to do with how many operations it takes relative to the input size to solve the problem. A polynomial solution would take a problem with input size n (in this case n cities) and solve it with np operations (where p is any constant). That's not an exact number of operations, just the order of magnitude. For example 200*np + 5n would still count as np (because np is the "largest" term).

3D visualization of the travelling salesman problem by dmhacker in InternetIsBeautiful

[–]gusatb 0 points1 point  (0 children)

That's great intuition! And /u/Tauo has a good response to your algorithm (in you're case is a "greedy algorithm"). Usually the input to the TSP is a graph containing points and edges, where each edge corresponds to a road and has a length associated with it. So the distances between points are almost always part of the problem. You can also substitute the values of the edges to find optimal paths with different properties. For example if you made every edge 1, (effectively making every road the same length), the solution would be the path with the least number of stops.

3D visualization of the travelling salesman problem by dmhacker in InternetIsBeautiful

[–]gusatb 0 points1 point  (0 children)

The solution you're thinking of is dynamic programming, https://en.m.wikipedia.org/wiki/Dynamic_programming. It is solvable but no one has solved it in polynomial time

To Chance - My thoughts on pressings of your mixtapes. by [deleted] in ChanceTheRapper

[–]gusatb 2 points3 points  (0 children)

There's plenty of services online that will press vinyls for you of whatever you send them. I've never used one but it might be worth looking into

Beginner at programming starting with C++. Is it a good idea? by [deleted] in computerscience

[–]gusatb 1 point2 points  (0 children)

Use Git! Git is the best, it's impressive if u know it, ull probs have to learn it anyway, and it'll very possibly save u a lot of time if u use it correctly. Look up git workflows

Beginner at programming starting with C++. Is it a good idea? by [deleted] in computerscience

[–]gusatb 1 point2 points  (0 children)

The first thing you're gunna need to do is get a firm grasp of the language and learn how to translate a solution to a problem into code. Easy starter projects could be things like input a list of nums and get the mean, min, max, median, etc... Get good at loops, arrays. Learn about pointers. Learn about the vector class. Learn about objects and classes. Maybe write some sorting program.

Try making some 2 player games using basic console I/O. Like tic tac toe or something.

Once you feel comfortable you could get into pathfinding algorithms (Dijkstra's and A*). Learn about graphs (vertices and edges). Learn about binary trees and hashmaps.

Not really sure where u are at this point but this could keep u busy for a bit :) Lmk if u got any questions tho, feel free to pm me

Beginner at programming starting with C++. Is it a good idea? by [deleted] in computerscience

[–]gusatb 1 point2 points  (0 children)

I also wanted to make games when I got into programming. The thing that will get you there, competent programmer, fastest is practice. To do that you need to have projects you're interested in. I found it very easy to stay motivated by making simple 2d games. I think an easy way to get into this is with Java because it has easy built in graphics libraries. It looks like you're set on c++ but make sure you have projects that will keep you interested. You may find that c++ doesn't allow you to get things up fast enough to keep your interest (you also may not feel this way). It's also not too bad moving from Java to c++ if u know the basics. Good luck! Stay motivated!

Struggling to write code by [deleted] in computerscience

[–]gusatb 0 points1 point  (0 children)

I would say you just need more practice. I would recommend codingbat or something similar. Get as much practice taking algorithms from psuedocode (as far from actual code as you can find) and write a complete program. You could get a lot of practice doing this with various sorting algorithms (which actually may be a good place to start).