Shocking phrasing about a "faker" function supplied by the guided lab

I just started the first of two homeworks on week three. I see this import statement in the code specified by the guided lab. I haven’t modified anything yet

FAKER!?!?!?!

Is this material we are learning fake, or is this a fake credential, worthless, or does this code not actually calculate things, or are you calling me a faker? WHY WOULD I TAKE THIS CLASS IF I DON"T ACTUALLY LEARN SOMETHING OR IF IT IS A FAKE CREDENTIAL, OR IF I DID NOT PLAN TO DO THE WORK? WHAT IS THE ACTUAL POINT? I HAVE BEEN PAYING $50/MONTH FOR SEVERAL MONTHS WHICH IS A LOT FOR ME SINCE I ONLY WORK PART TIME AND EARN $15/HOUR IN MY JOB AS A MATH AND PHYSICS TUTOR, AND THERE IS NO WAY I WANT TO PAY FOR FAKE INFORMATION OR OPPORTUNITIES

IF YOU ARE CONFUSED ABOUT HOW I MANAGED TO DERIVE THE ANSWER TO LAST WEEKS HOMEWORK AND YOU ARE A LEGITIMATE STAFF MEMBER OR MENTOR WRITE ME. I HAVE 20 YEARS IN COMPUTATIONAL PHYSICS.

The cosine similarity is one to within roundoff precision using the method discussed in class. It is possible to identify that based on output from the routine. That causes it to output the wrong answer. It took me about 20 minutes to derive a formula with greater accuracy. It’s just math. That’s all it is. I am a computational physicist. I didn’t need help. How sexist are you?

Steven

I know I’m a transman not a man but it takes a real bro to think that if a woman has dated men in the same field, she can’t possibly have ever learned anything or had her own ideas, so that after 20 years, she still can’t do anything on her own.

I looked up the “tensorflow faker library” online.

Here is what is says:
Faker is a Python library for generating fake data. It can be used to generate a variety of data, such as names, addresses, phone numbers, and dates. This can be useful for testing, development, and generating synthetic data for machine learning models.

So it’s just a library for creating a dataset for testing an algorithm.

I agree that the name could have been chosen a bit more carefully. Like maybe use the terms “artificial” or “simulated” instead of “fake”.

Oh I am so relieved to hear that. I certainly would not fake data in a real life application, simulated data has a purpose that is distinct from representing it as real data-- it is intended to either put forth a theory about what will happen based upon known behaviors and statistics prior to taking data, or to explore some kind of experiment design or environmental effect in an experiment, prior to taking enormous amounts of data, by using characteristics of existing data, or augmenting data or randomizing it in some way while preserving its statistical properties.

Yeah, fake data, that represents itself as real data, is pretty offensive

But a library like that actually does have quite a few honest and legitimate uses if used truthfully

Thank you!

Steven

Seems like it’s a bit like a Generative AI, without much A or I.

The Faker constructor takes a performance-related argument called use_weighting. It specifies whether to attempt to have the frequency of values match real-world frequencies (e.g. the English name Gary would be much more frequent than the name Lorimer). If use_weighting is False, then all items have an equal chance of being selected, and the selection process is much faster. The default is True.

Found at Faker · PyPI

The release history is rather unusual.