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: 
Data + AI Summit 2024 - Data Science & Machine Learning

Forum Posts

__paolo_c__
by Contributor II
  • 179 Views
  • 0 replies
  • 0 kudos

Feature tables & Null Values

Hi!I was wondering if any of you has ever dealt with Feature tables and null values (more specifically, via feature engineering objects, rather than feature store, although I don't think it really matters).In brief, null values are allowed to be stor...

  • 179 Views
  • 0 replies
  • 0 kudos
Ariane
by New Contributor II
  • 1748 Views
  • 3 replies
  • 0 kudos

Error using score_batch for batch inference

Hey everybody,I have been learning to use the Databricks feature store and I was trying to train the model using the stored features and compute batch inference. I am getting an error though, running prediction using score_batch, I have been getting ...

Ariane_0-1692892706534.png
  • 1748 Views
  • 3 replies
  • 0 kudos
Latest Reply
Ariane
New Contributor II
  • 0 kudos

Hey @Kumaran, I am using a Random forest classifier however I have tried to set the max depth to none since it is the default value but the error still exists. 

  • 0 kudos
2 More Replies
ukaplan
by New Contributor III
  • 141 Views
  • 0 replies
  • 0 kudos

Serving Endpoint Container Image Creation Fails

Hello, yesterday I send this message but I guess some AI flagging tool or non-technical moderator thought error logs are spam so no one could see my message. Thus, I am restating my problem without error logs this time.Essentially, after I train my m...

  • 141 Views
  • 0 replies
  • 0 kudos
Quinten
by New Contributor II
  • 323 Views
  • 2 replies
  • 0 kudos

TrainingSet schema difference during training and inference

Hi,I'm using the Feature Store to train an ml model and log it using MLflow and FeatureStoreClient(). This model is then used for inference.I understand the schema of the TrainingSet should not differ between training time and inference time. However...

  • 323 Views
  • 2 replies
  • 0 kudos
Latest Reply
KumaranT
New Contributor III
  • 0 kudos

Hi  @Quinten,You can consider creating a custom feature group to store the "weight" column during training. This way, you can keep the schema of the TrainingSet consistent between training and inference time.Here are the steps you can follow:Create a...

  • 0 kudos
1 More Replies
MohsenJ
by Contributor
  • 264 Views
  • 2 replies
  • 0 kudos

FeatureEngineeringClient failing to run inference with mlflow.spark flavor

I am using Databricks FeatureEngineeringClient to log my spark.ml model for batch inference. I use the ALS model on the movielens dataset. My dataset has three columns: user_id, item_id and rankhere is my code to prepare the dataset:fe_data = fe.crea...

MohsenJ_0-1723641930280.png
  • 264 Views
  • 2 replies
  • 0 kudos
Latest Reply
MohsenJ
Contributor
  • 0 kudos

@KumaranT I did it already with the same result import mlflow.pyfunc # Load the model as a PyFuncModel model = mlflow.pyfunc.load_model(model_uri=f"{model_version_uri}") # Create a Spark UDF for scoring predict_udf = mlflow.pyfunc.spark_udf(spark, ...

  • 0 kudos
1 More Replies
SamGreene
by Contributor
  • 384 Views
  • 2 replies
  • 1 kudos

Issues with experiment errors over the last two weeks

Hi,I use Azure Databricks in the North Central US region and have had some issues over the last two weeks.  Three weeks ago, I was able to run a forecast experiment.  Last week I got this error on 7/24:[UNRESOLVED_COLUMN.WITH_SUGGESTION] A column, va...

  • 384 Views
  • 2 replies
  • 1 kudos
Latest Reply
Kaniz_Fatma
Community Manager
  • 1 kudos

Hi @SamGreene,  This error indicates that the SQL engine cannot find the column ds. This could be due to changes in your data schema or the way the query is constructed. Ensure that the column ds exists in your dataset and is correctly referenced in ...

  • 1 kudos
1 More Replies
HappyScientist
by New Contributor
  • 807 Views
  • 1 replies
  • 0 kudos

Received Fatal error: The Python kernel is unresponsive.

I am running a databricks job on a cluster and I keep running into the following issue (pasted below in bold) The job trains a machine learning model on a modestly sized dataset (~ half GB). Note that I use pandas dataframes for the data, sklearn for...

  • 807 Views
  • 1 replies
  • 0 kudos
Latest Reply
KumaranT
New Contributor III
  • 0 kudos

Hi @HappyScientist,Can you increase the memory size of your cluster and try again?

  • 0 kudos
c3
by New Contributor II
  • 371 Views
  • 1 replies
  • 0 kudos

AutoML workflows will no longer run with job compute

We have a few workflows that have been running fine with job compute (runtime 14x).  They started failing on 6/3 with the following error: The cluster [xxx] is not an all-purpose cluster. existing_cluster_id only supports all-purpose cluster IDs. I w...

  • 371 Views
  • 1 replies
  • 0 kudos
Latest Reply
KumaranT
New Contributor III
  • 0 kudos

Hi @c3,We can see this Automl issue got fixed, can you check whether you are getting the same issue?

  • 0 kudos
abd
by Contributor
  • 448 Views
  • 2 replies
  • 0 kudos

Error - Langchain to interact with a SQL database

I am using databricks community edition to use langchain on SQL database in databricks.I am following this link: Interact with SQL database - DatabricksBut I am facing issue on this line: db = SQLDatabase.from_databricks(catalog="samples", schema="ny...

Machine Learning
Connection
Database
langchain
sql
  • 448 Views
  • 2 replies
  • 0 kudos
Latest Reply
KumaranT
New Contributor III
  • 0 kudos

Hi @abd,Can you check upgrading the SQL driver?

  • 0 kudos
1 More Replies
espartaco
by New Contributor
  • 344 Views
  • 1 replies
  • 0 kudos

MLflow autolging is not registering my experiments

When training a any ML model in a Databricks notebook, after calling model.fit() and train the model, before the model was automatically saved, but now is giving me this error:WARNING mlflow.utils.autologging_utils: Encountered unexpected error durin...

  • 344 Views
  • 1 replies
  • 0 kudos
Latest Reply
KumaranT
New Contributor III
  • 0 kudos

Hi @espartaco,The error message shows that there's an issue with SSL certificate verification when trying to connect to the Azure storage endpointCheck network and firewall configurations: You need to ensure that the network and firewall configuratio...

  • 0 kudos
fh
by New Contributor
  • 281 Views
  • 2 replies
  • 0 kudos

Applyinpandas executed twice

Hi,I have a dataframe containing records (sales) over time for +- 1000 different items, so based on these records each item has its own timeseries. The goal is to make predictions for each of these items. Since the behaviour of these items is very di...

  • 281 Views
  • 2 replies
  • 0 kudos
Latest Reply
KumaranT
New Contributor III
  • 0 kudos

Hi @fh ,To avoid this double execution, you can try using the concurrent.futures module in Python to parallelize the training of your models. This module provides a high-level interface for asynchronously executing callables.

  • 0 kudos
1 More Replies
acdello
by New Contributor
  • 288 Views
  • 2 replies
  • 0 kudos

Databricks documentation for training a local LLM

Im in the process of training a chat-bot for my team to use to learn about databricks and relevant tools quickly. Is there a place that I can easily (and legally) grab learning material in PDF or text? 

  • 288 Views
  • 2 replies
  • 0 kudos
Latest Reply
KumaranT
New Contributor III
  • 0 kudos

Hi @acdello,Could you check this doc if that helps in between?

  • 0 kudos
1 More Replies
chagoo
by New Contributor
  • 206 Views
  • 1 replies
  • 0 kudos

error tu run btyd model

I run the model in april and ok but today I need run the model and I have error and it is not possible continue I change the penalizer_coef and nothing # fit a model with a larger penalizer coefficientbgf_engagement = BetaGeoFitter(penalizer_coef=100...

  • 206 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz_Fatma
Community Manager
  • 0 kudos

Hi @chagoo,To fix this, try lowering the penalizer coefficient, checking the data quality for anomalies, scaling the data, increasing the number of iterations, or experimenting with different initial parameters. These steps should help resolve the co...

  • 0 kudos

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group
Labels