Questions tagged [python]
Python is a programming language commonly used for machine learning. Use this tag for any *on-topic* question that (a) involves `Python` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `Python`.
4,824 questions
0
votes
0
answers
26
views
What data mining freeware is available that replicates SAS EMiner's interactive Decision Tree node?
Its 2025, and yes I'm still using SAS EMiner's Decision Tree..... If anyone knows a modern freeware version that replicates the Interactive mode effectively (with controlling split cutoff values, a ...
4
votes
1
answer
92
views
Confidence interval for the parameters of a non-linear model
I am trying to understand how to obtain the confidence interval for a function fitted with scipy.optimize.least_squares. If my understanding is correct, I'd need to take the "Modified Jacobian ...
0
votes
0
answers
35
views
ANCOVA or GLMM for logistic regression with fixed and random effects
I'm running an experiment where subjects need to determine if a test-image is identical or different from their (memorized) target-image. The images are divided between categories (e.g. ...
1
vote
0
answers
15
views
How to apply FDR correction when one survey item is sex-specific
I am analyzing survey data with ~80 items. Most items apply to all respondents, but one item is male-specific and therefore has a smaller denominator (approx. n/2).
I am comparing symptom frequencies ...
0
votes
0
answers
27
views
How to identify and quantify main tendencies across participants from cluster membership heatmaps?
I'd appreciate your thoughts on the following problem.
I've created a heatmap plot (attached) showing the cluster membership ratio for each participant (in separate subplots) and condition (η).
Now, I'...
0
votes
1
answer
93
views
Is there a method to calculate a regression using the inverse of the relationship between independent and dependent variable?
I am trying to use regression to analyze a titration, I have the following relationship that I know should fit the data, but $V_b$ is the independent variable and $\left[H^+\right]$, which is $10^{-p\...
1
vote
0
answers
18
views
Assembling boxes on pallets (YOLOv8n), problems with detection
I'm developing a computer vision solution to count boxes in fractional palettes.
Problem: inconsistent detections. I don't know if it's due to a lack of data, annotations, architecture, or ...
0
votes
0
answers
25
views
What is the best way to determine if cross validated R-squared scores are significantly different? [duplicate]
I'm comparing, pairwise, the results of Linear Regression models with transformations applied to one numerical feature and the target. I'm using K folds cross validation scoring with R-squared. The ...
2
votes
2
answers
134
views
How can I get scipy.curve_fit to converge on data involving a wrapping phase angle?
I am trying to fit the phase angle of complex data with a very simple function phi(f) = mf, where m is the gradient and ...
4
votes
1
answer
196
views
Can I have some help choosing a very low-sample estimator?
I want to forecast what next semester's finances may look like, regarding my campus job. I get paid bi-weekly, and have eight past data points: ...
0
votes
0
answers
16
views
siamese model I have scripted gives me a wrong output [duplicate]
I am trying to create a model for face verification and I have thought of siamese , I have use the mobilenetv2 as my base_model and use euclidean distance as output . for the sake of loss i have use a ...
2
votes
1
answer
105
views
How to evaluate lifelines.CoxTimeVaryingFitter predictions
I'm using CoxTimeVaryingFitter as a survival analysis model for a marketing attribution use case. I've got a big dataset with the touchpoints each individual had ...
1
vote
1
answer
108
views
High recall, low precision - no imbalanced data
I have created a custom program that outputs a prediction based on filtering and counting (no ML) and would now like to compare the program to some typical methods, such as scikit-learn and xgboost.
...
0
votes
0
answers
66
views
TensorFlow + Gradio handwritten digit recognizer predicts incorrectly on Sketchpad input (but works on MNIST test set)
I'm building a handwritten digit recognition app using TensorFlow and Gradio. My model achieves ~97% accuracy on the MNIST test set. However, when I connect it to a Gradio Sketchpad interface to take ...
3
votes
1
answer
114
views
Managing "administrative censoring" in survival models for credit risk
I'm building a survival model to predict time to default (Number of installments to default relative to the current pending installment). I'm strugling differenciating these two kinds of censorship (...