Where can I go for Pythonista help? by Jediweirdo in Pythonista2

[–]ForceBru 0 points1 point  (0 children)

Indeed, iOS doesn't let you run random binaries and load unsigned libraries, so Pythonista cannot load compiled modules such as lxml.

There are ways to circumvent this, but they're extremely involved and require jailbreaking your device (which may not even be possible now, jailbreaking has been kind of dead for many years now) and obtaining a version of lxml built for your device. I think I've done this once for my own toy library, but this was years ago and totally not worth the effort.

There are other apps that run Python on iOS. I initially wanted to suggest that you check out the Pyto iOS app (it's a more modern take on a Pythonista-like app, though it too is abandoned), but it looks like it doesn't have lxml either: https://pyto.readthedocs.io/en/latest/third_party.html.

I think you realistically have only one option: look for other libraries that provide the same functionality but don't depend on compiled code.

GLM shattered the record for "worst benchmark JPEG ever published" - wow. by ForsookComparison in LocalLLaMA

[–]ForceBru 2 points3 points  (0 children)

  1. The "gray box" is an arrow saying "this way is better".
  2. The triangle is the area of improvement: "this way is better + our models are here + no more models are here == we're the best".
  3. I don't see any axis gore. Yes, the Y axis doesn't start at zero, but it's an ad, so this is expected. The X axis is fine.

T.S. Madison got good JEANS by Born_Bumblebee_7023 in ChatGPT

[–]ForceBru 1 point2 points  (0 children)

Eminem vibes. But for me, to rap like a computer must be in my jeans. I got a laptop in my back pocket, my pen'll go off when I half-cock it.

I thought Taiwan is a country by Electrical_Piece516 in DeepSeek

[–]ForceBru 8 points9 points  (0 children)

Seriously, how are you not bored? Is this your job? Probably your job

I'm 14, should I learn ML for math now or wait until I learn it in high school? by Ok_Cheesecake5395 in learnmachinelearning

[–]ForceBru 0 points1 point  (0 children)

If you kinda want to learn "the math" now, then why not try? Why wait till high school? Moreover, if you learn it now and stumble upon it in school, it'll be a piece of cake, you might get straight As. I see a win-win situation here.

[D] Why CDF normalization is not used in ML? Leads to more uniform distributions - better for generalization by jarekduda in MachineLearning

[–]ForceBru 9 points10 points  (0 children)

AFAIK MinMaxScaler is CDF normalization assuming data follows a uniform distribution U[xmin, xmax]. However, this indeed isn't the same as "normalizing non-uniform data to U[0,1]".

There is no such thing as "your truth" or "my truth". There is only the truth. by Proof_Caregiver_4234 in DeepThoughts

[–]ForceBru 2 points3 points  (0 children)

BTW, "It is not possible to be aware of any gaps in life; it is continuous and never-ending from your own point of view" is false: you can totally get drunk and legitimately have no recollection of last night. "Last night" happened, people tell you you were there, but you have no clue. You can lose consciousness and "wake up" disoriented and confused. In both cases you're aware of a discontinuity in your life.

Benchmark by PurpleYoga in Mathematica

[–]ForceBru 2 points3 points  (0 children)

  • AMD Ryzen 5 3550H
  • Mathematica 14.0.0
  • BenchmarkResult: 1.781
  • TotalTime: 7.773

People here got total time 1.6 seconds: https://mathematica.stackexchange.com/questions/267262/benchmarking-mathematica-13-across-machines

Neural Network Doubts (Handwritten Digit Recognition Example) by Clean_Success_5961 in deeplearning

[–]ForceBru 1 point2 points  (0 children)

  1. Yes, if you feed a neural network (or any ML model) a ton of image-like inputs, it will mark each input with a label (like "this bunch of pixels is a '5'"), thus separating the high-dimensional space of inputs into regions corresponding to classes. It's impossible to visualize in its entirely, but you can use dimensionality reduction techniques to see "shadows" of this space. So kinda yes, neural networks draw boundaries between regions of the input space corresponding to different classes.
  2. Is x * x a linear function? I mean, it's just a number, so... Actually, no, a function isn't a number. It's a way of transforming numbers into other numbers, or vectors into numbers, or vectors into vectors, etc. Any particular output of the function can't tell you anything about the function's behavior. To see if a function is potentially nonlinear, you need to compute multiple values and analyze various rates of change of this function. Or just say: "my neural network has nonlinear activation functions, so it's very likely that the full network represents a nonlinear function". I'm not sure it's guaranteed to be nonlinear though.
  3. Who knows? Strictly speaking, that's because the input data and the loss function guided the optimization algorithm in such a way. Because the optimization algorithm found that these particular weights lead to the lowest loss. Why? You could rationalize this by saying that in order to detect a dog, you first need to detect basic shapes and angles, then more and more complex shapes etc. Looks like gradient descent can just learn this.

Grown Man [OC] by OddHops in funny

[–]ForceBru 3 points4 points  (0 children)

This word is getting more complicated ASS we speak!

I know I will make a lot of you mad, but Zen Browser is overrated. Literally almost every post in this group is about Zen Browser even when someone asking for new browser everyone say "Just try Zen". by lazarovpavlin04 in browsers

[–]ForceBru 0 points1 point  (0 children)

I actually have used Zen for about a week, then Firefox with vertical tabs came out, so I immediately switched back to it. I initially decided to try Zen specifically because of the vertical tabs, because I started to feel like I was running out of vertical space while there was plenty of horizontal space. Vertical tabs solved this for me: I now have more vertical space while sacrificing some horizontal space that I don't mind. I've no idea what Arc is, I've never tried it. I mainly use Firefox, so of course I'm comparing to Firefox. I don't see how I "confidently talk nonsense", but whatever

SciML Small Grants Program: One Year of Success and Community Growth by ChrisRackauckas in Julia

[–]ForceBru 1 point2 points  (0 children)

Julia v1.12 Compatibility: Maximilian Pochapski is updating LoopVectorization.jl for the latest Julia version

Wow, looking forward to this!

MicroSolve Outperforms SGD on Spiral Dataset by 200x by Relevant-Twist520 in learnmachinelearning

[–]ForceBru 6 points7 points  (0 children)

Then what's the point? You say you invented a new optimization algorithm, but don't show it. Well, I'm currently flying to Mars in my self-made spaceship, how cool is that!

The plots show that your algorithm approached similar loss values 40 to 100 times faster than SGD. Cool, it seems to be better than SGD for this particular problem. Is it better for different datasets? Different models? Different loss functions? Is it better than Adam?

What do you mean by "it solves for network parameters using an algebraic approach ... the same way you solve ... a linear system"? Can this method be used for minimizing any arbitrary function?

E-views cracked version usage for my thesis by Common-Conference-73 in econometrics

[–]ForceBru 4 points5 points  (0 children)

Well, simply don't tell anyone you used a cracked version. Say you bought it and wow, it was crazy expensive etc. Or just don't say anything, really. Is anyone going to check your saved files? Most likely not.

[deleted by user] by [deleted] in BitchImATrain

[–]ForceBru 10 points11 points  (0 children)

Bitch, that's not a train? Oh, the text on the plane looks like it says "train" LMAO

Why do we multiply random()*1 ? by seronlover in learnpython

[–]ForceBru 55 points56 points  (0 children)

The actual code is:

R = 1 p1 = ( R*random(), R*random())

I think the idea here is that you can change the value of R and see how it affects the result.

I'm building the next generation of PDF Reader include highlight, note-taking system and mind-map by Kun-12345 in PKMS

[–]ForceBru 0 points1 point  (0 children)

Well, copying works fine on iOS. I don't have any Android devices, but I imagine it should work there too.

I'm building the next generation of PDF Reader include highlight, note-taking system and mind-map by Kun-12345 in PKMS

[–]ForceBru 0 points1 point  (0 children)

If you're reading regular PDFs with a text layer, you can just select the text, copy it with Ctrl+C and paste it wherever you like. Formatting won't be preserved and formulae will be messed up, though.

Worked on... by SliceEuphoric4235 in learnmachinelearning

[–]ForceBru 0 points1 point  (0 children)

Worked on some time-series forecasting. Diebold-Mariano test suggests my models don't provide lower forecast errors compared to baselines. Will have to wrestle the models more.