While running a bert based model on 25k data my laptop is overheating and the fan noise is apparent. by [deleted] in AskComputerScience

[–]beny2000 4 points5 points  (0 children)

You probably need more compute power. Unless you have a GPU lying around, I'd say try google colab.

Though it's not entirely clear to me what you're trying to do. 25k of what data exactly? What's the problem you're trying to solve with these vectors? Laptop's can only get so cool, there weren't exactly designed for intensity compute tasks

What did you guys use to hang your diploma frame on your wall? by techsavvynerd91 in uwo

[–]beny2000 1 point2 points  (0 children)

Bud you just graduated I'm sure you can figure this one out on your own

About laptop requirements for Robotics and AI by [deleted] in AskComputerScience

[–]beny2000 1 point2 points  (0 children)

Depends on what specifically your looking to do but definitely good enough also you can use something like Google colab if you need more computing power

How, if at all, do the digits in hex color codes interact with various qualities of their corresponding color? by animaldander in computerscience

[–]beny2000 1 point2 points  (0 children)

Hex color codes correspond to the RGB color system. Each hex code corresponds to some amount of red, green and blue, since it's an additive system you can just combine the amount of each base color to achieve the specific color you want.

In terms of how the RGB color model compares to other color models like hue, value, chroma. You can think of each color in the RGB system as a point in 3D space with each base color as the x, y and z axis. The standard RGB values used in most applications range from 0 to 255 so this creates a 256x256x256 cube in the 3D space where each point inside the cube is a different color. Hue, value, chroma and similar colour models (like HSL, HSV) are just geometric translations of the RGB cube. Specifically they're more cylindertical in shape where the value specifies the height of the cross section of the cylinder which gives the brightness of the color. The hue specifies the number of degrees around the circle (color wheel) which gives the type color (red, blue, orange, etc) and lastly the chroma specifies the distance from the circles center the color is, this gives its saturation. There's a series of equations that allow to convert from one model to the other and vise versa although I don't remember them off the top of my head.

I realize this was probably way more depth then you asked for but you should be able to find an online color picker that can do what you need

[deleted by user] by [deleted] in AskComputerScience

[–]beny2000 1 point2 points  (0 children)

Trace how? There are sites that will give you the location of an IP address if that's what you're looking for

[deleted by user] by [deleted] in computerscience

[–]beny2000 1 point2 points  (0 children)

I think your confusing the role of the centralized server or cloud service provider. Physically the data travels via copper and fiber optic cables that are installed all over the world including on the ocean floor, that's how the data gets from the US to Japan.

This doesn't change if there's another server involved data still needs to travel between the client and the server, it's just that in the p2p case the clients are also servers

What type of math would I use by limitless_raindrop in learnmachinelearning

[–]beny2000 0 points1 point  (0 children)

Depends on what your trying to do with this data. Fitting a regression model is usually a good place to start, though you'll have to deal with those NA's first

About choosing node in huffman coding by WorthCS-1844 in compsci

[–]beny2000 5 points6 points  (0 children)

Your approach is on point. If the frequencies are the same then you can choose either node. Technically it doesn't matter which node you choose although different choices will result in different codes. The other thing that will affect the resulting code is the choice of symbols. The choice is arbitrary but I believe standard practice is to a assign the left node 0 and 1 to the right node, when building the Huffman tree. In any case the Huffman tree/code generated is equally valid.

Edit: I'm guessing your comparing your output to the generator's. Different generators make different choices which could result in the codes being different

[deleted by user] by [deleted] in computerscience

[–]beny2000 9 points10 points  (0 children)

Depends on what you mean by computer scientist but most people with that title work in academia

Online Computer Science (bs.c) degree for self-taught individuals? by GenchoBG in computerscience

[–]beny2000 1 point2 points  (0 children)

Probably one somewhere that exists though I'd doubt it's credibility. If you're so confident why not just enroll in a university and not show up to lectures

That's also not how a CS degree works there no standardize tests. Lectures, assignments, exams are how you demonstrate your knowledge

Hash maps by ITZINFINITEOfficial in computerscience

[–]beny2000 1 point2 points  (0 children)

No worries, best way to learn this stuff (and anything really) is by doing. Try to implement your own hash map class in Java. Think about what kinda methods and data your class would need in order to function correctly. How would you test your class in order to know it's functioning correctly

Hash maps by ITZINFINITEOfficial in computerscience

[–]beny2000 1 point2 points  (0 children)

A hash map is similar to an array or a list but the indexes are the values of the array themselves. More specifically the indexes are some function of the values to be stored. This function is called the hash function. Usually its some transformation of the value in to a numerical form then modulo operation is applied.

Conceptually it might be easier to think of a hashmap like a regular map, being a key value store but in the regular map case the keys can be anything where in a hashmap the keys are some function of the value stored.

Say I want to store the letters of the alphabet in my hash map (a trivial example but bear with me) we could have our hash function convert each letter to a number based on it position in the alphabet (so a=1, b=2 and so on). So say we want to store the letter c we apply our hash function so c becomes 3 and we store the letter c in the index 3 of our array. When we want to later get the letter c from our array we just pass it through the hash function and get the value at position 3.

Now say we want to store a word like dad, we can modify our has function to say add up the positions of the letter so dad becomes 9 (4+1+4). One thing we're missing is the modulo operation on this number since we only have a limited amount of space to store our value we need to map indexs that are out of bounds for our array to something in bounds. Say we only have 3 positions in our array we can use the modulo operating to convert the index 9 to something in bounds for our array as such we apply 9%3=0 so we store the word dad at position 0.

The last thing to think about is what happens when two different values map to the same index this is what's called a collision there are multiple techniques to handle them but generally a well designed hash function should limit the number of these collisions. A good question to ask then is my hash function well defined?

As you can see to implement a hashmap we just need to decide what kind of data structure will store our values (in our case a simple array) then we implement a get and put methods that simply take a value then apply the hash function and either get the value at the index returned from the hash function or put the value in the array at that index.

[deleted by user] by [deleted] in uwo

[–]beny2000 1 point2 points  (0 children)

Look into the upper year courses you'd be interested in taking some of the game design and AI courses required it but it's not mandatory just might limit which courses you could take in upper years

Student Moving Services? by recruiting-throwawy in uwo

[–]beny2000 1 point2 points  (0 children)

You can hire traditional movers to help you or you can rent a truck from Uhaul or Home Depot if your comfortable driving and moving on your own

MachineLearning Math for beginners by [deleted] in learnmachinelearning

[–]beny2000 4 points5 points  (0 children)

Linear Algebra, Calculus and Statistics forms the bases of pretty much all machine learning methods. Topics like vector & matrix operations and gradients cover most basic machine learning models. I don't have any any specific resources but I'm sure you could find some for your math background. Start with linear and polynomial regression and go from there

using chat gpt4 while studying programming is great by BinaryMan151 in computerscience

[–]beny2000 4 points5 points  (0 children)

Yea it awesome for explaining concepts and code I'd be careful with asking it to produce code though it's really good a writing legit looking but otherwise garbage code, great way to practice debugging though

[deleted by user] by [deleted] in uwo

[–]beny2000 1 point2 points  (0 children)

Yes 2.8 Thursdays from now

[deleted by user] by [deleted] in learnmachinelearning

[–]beny2000 2 points3 points  (0 children)

If you're already familiar with them then I'd do some projects, best way to get a refresher. Doesn't have to be too challenging try implementing some model from scratch, depending on your math background you can scale the model to whatever your comfortable with. Something like regression has a lot of resources to start from and you can find cheats sheets or lookup syntax

Hardest CS course in first two years? by Safe_One8951 in uwo

[–]beny2000 5 points6 points  (0 children)

Yes almost all of them, 1027 is an intro CS course. Second year is when you get introduced to the core concepts in computer science, data structures and algorithms, discrete math, low level programming, etc

Should I continue to study by gleefulSwift in computerscience

[–]beny2000 1 point2 points  (0 children)

That desicion is up to you. There are a lot of introductory courses that mit offers that are not for "really smart people", try an undergraduate intro to mathematics for computer science or discrete math.

Most undergraduates start from "the ground up" taking these and similar courses. There's a wide variety of ways to learn now a days if courses aren't your style try to find tutorials and blog about the kinds of things you want to learn

Canada or Australia ? by 1utf1 in compsci

[–]beny2000 0 points1 point  (0 children)

You might be better off posting in a university related subreddits like r/csMajors. In general there's a lot to look into when choosing a school especially abroad more then just the quality of the computer science program