Skip to main content
0 votes
0 answers
86 views

I have two data series of model prediction and observations. I am able to make line plots of these series. I would like to add a linear regression fit of the two data series. i would also like to add ...
Zilore Mumba's user avatar
  • 1,616
Advice
0 votes
1 replies
60 views

this are sklearn imports I use in every notebook, is anything else to be included for everyday use? import numpy as np import pandas as pd from sklearn.impute import SimpleImputer from sklearn....
Misha Tsiri's user avatar
0 votes
1 answer
88 views

I'm working on an Explainable AI (XAI) project where I compare different model-agnostic frameworks (SHAP, LIME, DALEX). I'm using a custom wrapper to standardize my model's output (similar to a Scikit-...
Zümra Arslanhan's user avatar
2 votes
1 answer
116 views

I am currently learning the Causal Forest algorithm in Python. In an exercise, I need to evaluate a marketing campaign where a certain group of users have already received coupons. Given that Y is the ...
tzhou022's user avatar
Advice
0 votes
5 replies
79 views

I am a Python developer, but I don't understand one thing: what are the numpy axis? Sometimes, when I use Sklearn, I have errors about axis. And I need explanations about values and reshape functions.
Fotosintez's user avatar
1 vote
0 answers
46 views

I'm using Scikit-Learn's FactorAnalysis in an application that relies on the assumption that the factors are uncorrelated. It would be great to have more interpretable factors, and an orthogonal ...
Eleuterio's user avatar
Best practices
0 votes
0 replies
88 views

I've been working on a project for rapidly testing thousands of outcome variables on a standard set of predictors and covariates using polars. It's working very well, with speed ups as high as 16x ...
idins23's user avatar
  • 11
1 vote
3 answers
115 views

What is being returned by PoissonRegression.predict() in sklearn when I am predicting target values from data? Is it the actual predicted value of the target?
RF2's user avatar
  • 51
1 vote
0 answers
40 views

My AdaBoost model uses SAMME.R and a Decision Tree as base learner to perform binary classification, the preprocessing is done using a MinMaxScaler. After converting to ONNX and running inference ...
td244's user avatar
  • 265
-2 votes
2 answers
65 views

I am trying to train a Logistic Regression model using scikit-learn in Python. When I try to fit the model, I get the following error: ValueError: could not convert string to float Here is the code I ...
Divya Tadi's user avatar
Tooling
0 votes
0 replies
72 views

I'm looking for a good package to train a linear quantile regression model, i.e. $\hat y = \sum_{i=1}^n w_i \cdot X_i$. With $x_i$ are the input features, and $w_i$ are the bounded trainable weights. ...
student13's user avatar
0 votes
1 answer
41 views

I'm trying to create a PMML from a model, using this way : from sklearn.preprocessing import LabelEncoder y_h_train = LabelEncoder().fit_transform(y_train.copy(deep=True)) modele_label_encoded = ...
Adept's user avatar
  • 564
0 votes
1 answer
69 views

I am trying to save the output from sklearn.smv.SVC training when verbose=True to a log-file. However, since it uses LibSVM in the back-end, I cannot figure out how this works. Copilot hasn't helped. ...
Geoff Klein's user avatar
Advice
1 vote
2 replies
135 views

I am struggling to get my ML model to accept the input and outputs that I need. My aim is to have it accept this as the input: input_x = [ ((4.11, 8.58, -2.2), (-1.27, -8.76, 2.23)), ((0.43, -...
Nefariis's user avatar
  • 3,599
3 votes
0 answers
255 views

I’m working on a machine learning project using MLflow for experiment tracking (on macOS, Python 3.12, scikit-learn, and DagsHub as the tracking server). The experiment runs successfully — I see the ...
shahar cohen's user avatar

15 30 50 per page
1
2 3 4 5
1880