cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

StephanieAlba
by Databricks Employee
  • 14037 Views
  • 3 replies
  • 3 kudos

Resolved! Issues importing mediapipe TypeError: 'numpy._DTypeMeta' object is not subscriptable

TypeError: 'numpy._DTypeMeta' object is not subscriptableI have tried upgrading pip and installing newer and older versions of NumPy.

Screenshot 2023-08-16 at 8.10.59 AM.png Screenshot 2023-08-16 at 7.38.45 AM.png Screenshot 2023-08-16 at 7.39.06 AM.png
  • 14037 Views
  • 3 replies
  • 3 kudos
Latest Reply
madengr00
New Contributor II
  • 3 kudos

I ran into the same issue.  Before installing OpenCV I was on Numpy 1.21.5 in my notebook.  After upgrading to 1.23, the error went away for me.  

  • 3 kudos
2 More Replies
HAKO411
by New Contributor
  • 4697 Views
  • 2 replies
  • 3 kudos

Can't select cluster when create AutoML experiment

I'm trying to create my experiment using AutoML. I have a running cluster using 12.2 LTS. However, â€ƒit isn't available as an option for me. How could I solve it? Thank you

Screenshot 2023-10-11 at 11.43.14 AM.png
  • 4697 Views
  • 2 replies
  • 3 kudos
Latest Reply
Annapurna_Hiriy
Databricks Employee
  • 3 kudos

@HAKO411 AutoML needs Databricks Runtime 9.1 ML or above. For time series forecasting, you will need Databricks Runtime 10.0 ML or above. Looks like you are using 12.2 LTS, a non-ML version. Using 12.2 ML LTS should resolve your issue.

  • 3 kudos
1 More Replies
Anonymous
by Not applicable
  • 11377 Views
  • 4 replies
  • 1 kudos

Spark connector to mongodb - mongo-spark-connector_2.12:10.1.1

Hello, I´ve added a library to the cluster and it appears in SPARK UI as Added By Userspark://10.139.64.4:43001/jars/addedFile307892533757162075org_mongodb_spark_mongo_spark_connector_2_12_10_1_1-98946.jarAdded By UserI'm trying to connect using the ...

  • 11377 Views
  • 4 replies
  • 1 kudos
Latest Reply
FurqanAmin
New Contributor II
  • 1 kudos

@DmytroSokhach  I think it works if you change mongo to mongodb in the options. and use spark.mongodb.read.connection.uri instead of spark.mongodb.input.uri as @silvadev suggested.

  • 1 kudos
3 More Replies
somnus
by New Contributor II
  • 3340 Views
  • 1 replies
  • 0 kudos

Use on-premise MinIO as an artifact store in experiment

Hi. I'm trying to use managed MLflow with our own MinIO as an artifact storage. I can see that there is a description about storage options at landing page and there is an input for artifact store URI when creating empty experiment in databicks works...

  • 3340 Views
  • 1 replies
  • 0 kudos
Latest Reply
somnus
New Contributor II
  • 0 kudos

Thanks. I will post there if the feature I asked is doesn't exist.Anyway, the feature I asked about is clearly described on the landing page. I'm looking for documentation for that feature.

  • 0 kudos
SRK
by Contributor III
  • 15242 Views
  • 6 replies
  • 3 kudos

How to apply Primary Key constraint in Delta Live Table?

In this blog I can see for dimension and fact tables, the primary key constraint has been applied. Following is the example:-- Store dimensionCREATE OR REPLACE TABLE dim_store( store_id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, business_key ...

  • 15242 Views
  • 6 replies
  • 3 kudos
Latest Reply
Oliver_Angelil
Valued Contributor II
  • 3 kudos

@SRK Please see a copy of this answer on stackoverflow here. You can use DLT Expectations to have this check (see my previous answer if you're using SQL and not Python):@dlt.table(name="table1",)def create_df():schema = T.StructType([T.StructField("i...

  • 3 kudos
5 More Replies
gngaPutrBheeshm
by New Contributor
  • 1489 Views
  • 0 replies
  • 0 kudos

Classroom Setup Error in LLM Course

Hi All, I encountered this error when running the classroom setup for the LLM Course and would love to know if there's a subscription that Databricks offers to learn and practice these pieces of training.Course name: LLM : Foundation Models from the ...

  • 1489 Views
  • 0 replies
  • 0 kudos
yopbibo
by Contributor II
  • 4066 Views
  • 2 replies
  • 0 kudos

Cannot set experiment in a non-ML runtime

Hello,If we:%pip install mlflow import mlflow mlflow.set_experiment(experiment_name = '/Shared/xx')we get:InvalidConfigurationError: You haven't configured the CLI yet! Please configure by entering `/databricks/python_shell/scripts/db_ipykernel_launc...

  • 4066 Views
  • 2 replies
  • 0 kudos
Latest Reply
yopbibo
Contributor II
  • 0 kudos

%pip install mlflowdbutils.library.restartPython()that works

  • 0 kudos
1 More Replies
ravi-kolluri_in
by New Contributor II
  • 2809 Views
  • 1 replies
  • 0 kudos

NVIDIA driver update

I want to update the cuda driver for the NVIDIA tesla T4 GPU on the cluster. using the following command%shsudo apt-get --purge remove "*nvidia*"sudo /usr/bin/nvidia-uninstallwget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x8...

  • 2809 Views
  • 1 replies
  • 0 kudos
Databricks3
by Contributor
  • 25722 Views
  • 11 replies
  • 12 kudos

Resolved! INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION

I have created a metastore and within that metastore i have created multiple schemas and tables underlying it but none of table details is visible from information schema. All the tables are empty.Could you please let me know if I am missing here. Be...

  • 25722 Views
  • 11 replies
  • 12 kudos
Latest Reply
EwenGillies
New Contributor II
  • 12 kudos

I noticed this issue is currently caused when you rename a catalog.  The contents of <catalog>.information_schema are all views like this:SELECT * FROM system.information_schema.columns WHERE table_catalog = '<catalog>'If you rename the catalog...

  • 12 kudos
10 More Replies
miahopman
by New Contributor II
  • 3905 Views
  • 1 replies
  • 1 kudos

AutoML Trials Failing

Sometimes an AutoML experiment will have all trials fail and I cannot figure out what is causing it. Each individual run reports a validation f1 value but the source notebook is not available so I cannot track down the error. This seems to happen at ...

  • 3905 Views
  • 1 replies
  • 1 kudos
145093
by New Contributor II
  • 8590 Views
  • 2 replies
  • 2 kudos

MLFlow model loading taking long time and "model serving" failing during init

I am trying to load a simple Minmaxscaler model that was logged as a run through spark's ML Pipeline api for reuse. On average it takes 40+ seconds just to load the model with the following example: This is fine and the model transforms my data corre...

simple model load sometimes the model takes almost 3 min just to load
  • 8590 Views
  • 2 replies
  • 2 kudos
Latest Reply
DanSimpson
New Contributor II
  • 2 kudos

Hello,Any solutions found for this issue?I'm serving up a large number of models at a time, but since we converted to PySpark (due to our data demands), the mlflow.spark.load_model() is taking hours.Part of the reason to switch to spark was to help w...

  • 2 kudos
1 More Replies
Orion
by New Contributor
  • 1758 Views
  • 1 replies
  • 0 kudos
  • 1758 Views
  • 1 replies
  • 0 kudos
Latest Reply
oliverjack
New Contributor II
  • 0 kudos

Large Language Models (LLMs) revolutionize the insurance sector, automating support and enhancing accuracy across claims and underwriting. They're crucial for market analysis processing extensive textual data, and we welcome your insights on deployin...

  • 0 kudos
camazg
by New Contributor
  • 1667 Views
  • 0 replies
  • 0 kudos

Terraform - Creating Jobs

Hello, Does anyone know how to create a job via Terraform, that automatically overwrites/updates an existing job with the same name?Tried a few different methods but there doesn't seem to be a clean approach. Wondering if anyone has worked this out?I...

  • 1667 Views
  • 0 replies
  • 0 kudos
Anon
by New Contributor
  • 2013 Views
  • 0 replies
  • 0 kudos

databricks.mrm import ModelRiskApi

Hi, I am trying to import/access this module by DBX. However I have issue importing it and I don't find any blog posts/more information about this module beside the public github repo

Machine Learning
ModelRiskApi
mrm
  • 2013 Views
  • 0 replies
  • 0 kudos

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now
Labels