New post

Find

Article
· Mar 25 2m read

Workaround for scikit-learn 1.6.0 Incompatibility in IRIS 2024.3 AutoML

Introduction

In InterSystems IRIS 2024.3 and subsequent IRIS versions, the AutoML component is now delivered as a separate Python package that is installed after installation. Unfortunately, some recent versions of Python packages that AutoML relies on have introduced incompatibilities, and can cause failures when training models (TRAIN MODEL statement). If you see an error mentioning "TypeError" and the keyword argument "fit_params" or "sklearn_tags", read on for a quick fix.

Root Cause

  • scikit-learn updated to version 1.6.0, deprecating fit_params.
  • scikeras is no longer updating the "wrappers" for Tensorflow.
  • Installing these packages in IRIS 2024.3 without pinned dependencies leads to training errors.

Symptoms

You may encounter:

<TypeError>: got an unexpected keyword argument 'fit_params'

or

[%msg: <ERROR #5002: ObjectScript error: <PYTHON EXCEPTION> *<class 'AttributeError'>: 'super' object has no attribute '__sklearn_tags__' [^%ML.AutoML.Provider.1:%SYS]>]

during the model training phase.

 

Workaround: 

1. Uninstall Existing Packages (if needed)

pip uninstall scikit-learn xgboost keras ...

 

2. Install via Snapshot

pip install --index-url https://registry.intersystems.com/pypi/simple \
  --no-cache-dir \
  --target /path/to/iris/python \
  -r /path/to/requirementsSnapshot.txt

 3Verify

• Run your smoke tests to confirm no fit_params errors.

• Ensure scikit-learn is pinned at <1.6.0.

Note: The exact means by which you can obtain or access requirementsSnapshot.txt are still under discussion. For now, please contact your InterSystems representative or consult the official documentation channels for the most up-to-date link or distribution process.

Alternative: Pin scikit-learn <1.6.0

If you prefer not to use the snapshot file, you can manually pin the version:

pip install scikit-learn<1.6.0 xgboost keras ...

This will work around the issue until XGBoost and Keras officially update their packages.

Next Steps

  • InterSystems has implemented changes to the AutoML code to solve the issue in future releases -- this is mostly an issue for older containers such as 2024.3, the first release to use the post-installation procedure to install IntegratedML.
  • InterSystems is issuing a customer alert for the IRIS 2024.3 ml containers (containers.intersystems.com/intersystems/iris-ml:2024.3), that references this article.
  • If you have questions or run into issues, feel free to comment below or reach out to your InterSystems support contact.

Additional Resources:

Discussion (0)2
Log in or sign up to continue
Announcement
· Mar 25

Open Call for User Insights Interviews

Are you a developer, data engineer, integration engineer, or data scientist who works hands-on with InterSystems products? 

We are conducting 30-45 minute interviews to understand your experience — how you started with InterSystems products, where you find helpful code samples, and how we can improve our products to better support your journey. 

If you’re interested, fill out a quick survey to share your contact info and experience.

If you're selected, we will schedule a session at your convenience between April 2 and May 8 for an interview based on the information you provide.

🎁 As a thank-you, interview participants will receive 10,000 Global Masters points!

Your feedback will directly help us improve your experience using InterSystems products and services.

Kindly note that the spots are limited. 

Discussion (0)1
Log in or sign up to continue
Announcement
· Mar 25

Appel aux entretiens d'opinion d'utilisateurs

Êtes-vous développeur, ingénieur de données, ingénieur d'intégration ou data scientist et travaillez-vous avec les produits InterSystems ? Nous menons des entretiens de 30 à 45 minutes afin de comprendre votre expérience : comment vous avez commencé avec les produits InterSystems, où vous trouvez des exemples de code utiles et comment nous pouvons améliorer nos produits pour mieux vous accompagner dans votre parcours.

Si vous êtes intéressé(e), répondez à un court sondage (en anglais) pour partager vos coordonnées et votre expérience.

Si vous êtes sélectionné(e), nous organiserons une session à votre convenance entre le 2 avril et le 8 mai pour un entretien basé sur les informations que vous nous fournirez.

En guise de remerciement, les participants à l'entretien recevront 10 000 points sur Global Masters !

Vos commentaires nous aideront directement à améliorer votre expérience avec les produits et services InterSystems.

Veuillez noter que les places sont limitées.

Discussion (0)1
Log in or sign up to continue
Announcement
· Mar 25

InterSystems Ideas News #20

Hi Community!

Welcome to Issue #20 of the InterSystems Ideas newsletter! This edition highlights the latest news from the Ideas Portal, such as:

✓ General statistics
✓ Results of the "DC search" sweepstakes
✓ DC search ideas to vote for

   Here are some numbers from February for you. During this month, we had:

  • 20 new ideas
  • 2 implemented ideas
  • 17 comments
  • 59 votes

👏 Thanks to everyone who contributed in any way to the Ideas Portal last month.

   In our sweepstakes dedicated to improving the DC search, we've received 17 unique ideas! We will review them in the next few weeks and try our best to implement your great suggestions! Moreover, we're happy to announce the winner of our sweepstakes — @Jiayan Xiang, who will soon receive the prize.

More sweepstakes are in the works, so don't miss your chance to become a lucky winner!


✨ Share your ideas, support your favorites with comments and votes, and bring the most interesting ones to life! 🙏

1 Comment
Discussion (1)2
Log in or sign up to continue
InterSystems Official
· Mar 25

Você já conhece o Programa de Certificação InterSystems?

Olá Comunidade, 

Para àqueles que ainda não conhecem, o InterSystems Learning Services oferece exames de certificação que lhe permitem provar o seu domínio da nossa tecnologia. Saiba mais sobre o Programa de Certificação InterSystems no nosso site. Lá você encontrará todas as informações sobre os exames disponíveis, as políticas de certificação, as perguntas frequentes sobre os exames, entre outras. 

 

Após ser aprovado em um exame ou caminho de certificação, você receberá uma notificação por e-mail com um link para aceitar seu selo e as instruções de como usá-lo.

Legal, não é?! 😉 
Corre lá e veja como conseguir o seu selo. Boa sorte! 🍀


Acesse também o InterSystems Knowledge Hub do nosso site para acessar artigos, oportunidades de aprendizagem, ferramentas e outros recursos para aumentar sua experiência em tecnologias InterSystems.

Discussion (0)1
Log in or sign up to continue