cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

lndlzy
by New Contributor II
  • 1381 Views
  • 1 replies
  • 0 kudos

MLFlow Recipes + Feature Store

Hi everyone,I am currently exploring MLFlow recipes, is there someone here who has already tried implementing MLFlow Recipes along with Databricks Feature Store? I am curious as to how you somehow defined the ingestion steps since I am unable to thin...

  • 1381 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @lndlzy, To integrate MLflow Recipes with Databricks Feature Store, follow these steps. 1. **Define Features**: Write code to convert raw data into features and create a Spark DataFrame containing the desired features. If your workspace is enable...

  • 0 kudos
adithyasanker
by New Contributor II
  • 2536 Views
  • 2 replies
  • 0 kudos

Resolved! Mlflow Import error

I am trying to deploy the latest mlFlow registry Model to Azure ML by following the article: https://www.databricks.com/notebooks/mlops/deploy_azure_ml_model_.htmlBut during the import process at cmd:6 . I am getting an error ModulenotFoundError No m...

  • 2536 Views
  • 2 replies
  • 0 kudos
Latest Reply
adithyasanker
New Contributor II
  • 0 kudos

@Kaniz Thank you, that solved the issue.But on proceeding with the execution, at the build image step, I faced another issue.''TypeError: join() argument must be str, bytes, or os.PathLike object, not 'dict''' .The model is registered successfully in...

  • 0 kudos
1 More Replies
kashy
by New Contributor III
  • 1531 Views
  • 2 replies
  • 0 kudos

Creating or using a custom defined model with SpaCy

I want to train and use a custom model with spaCy.   I don't know how to manage and create folders that the model would be need to save and load custom models and associated files (e.g. from DBFS)It should be something like this but it doesn't accept...

  • 1531 Views
  • 2 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @kashy , To train and use a custom model with spaCy, you would need to save and load your model. However, you're correct that spaCy does not directly accept a path from DBFS. To work around this, you can save your trained model to DBFS and then l...

  • 0 kudos
1 More Replies
Roshanshekh
by New Contributor II
  • 2990 Views
  • 1 replies
  • 0 kudos

Data

To import an Excel file into Databricks, you can follow these general steps: 1. **Upload the Excel File**: - Go to the Databricks workspace or cluster where you want to work. - Navigate to the location where you want to upload the Excel file. - Click...

  • 2990 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @Roshanshekh ,  Your step-by-step guide on importing an Excel file into Databricks is spot-on! This comprehensive approach is incredibly helpful for anyone looking to work with Excel data in Databricks. Your detailed code example and e...

  • 0 kudos
lndlzy
by New Contributor II
  • 1074 Views
  • 2 replies
  • 0 kudos

StackOverflow Error - FeatureLookup & fs.create_training_set

When trying to utilize feature_lookup on at least 2 feature tables and trying fs.create_training_set, I get a stackoverflow error. Can anyone help me understand why this happens? This hasn't happened before but now I get this error and I am unable to...

  • 1074 Views
  • 2 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @lndlzy, A StackOverflow error usually occurs when your program recurses too deeply. In this case, it might be due to a problem with the FeatureStoreClient.create_training_set method or how the FeatureLookup objects are defined or used. Here are ...

  • 0 kudos
1 More Replies
UmaMahesh1
by Honored Contributor III
  • 1376 Views
  • 2 replies
  • 9 kudos

How to get list of all the tabular models in a Analysis server using databricks ?

Hello community, I want to fetch the list of all the tabular models (if possible details about those models too) which are there in a SQL Analysis server using databricks. Can anyone help me out ?Use case: I want to process clear a large number of mo...

  • 1376 Views
  • 2 replies
  • 9 kudos
Latest Reply
omfspartan
New Contributor III
  • 9 kudos

Did you try Azure Analysis Services Rest API?

  • 9 kudos
1 More Replies
Alex42
by New Contributor
  • 112 Views
  • 0 replies
  • 0 kudos

Bug: MLflow connection fails after 2d

Hi there, After exactly 2d of training, the following error is raised after an API call to MLflow:  ValueError: Enum ErrorCode has no value defined for name '403' --------------------------------------------------------------------------- ValueError ...

  • 112 Views
  • 0 replies
  • 0 kudos
jonathan-dufaul
by Valued Contributor
  • 1916 Views
  • 5 replies
  • 5 kudos

Does FeatureStoreClient().score_batch support multidimentional predictions?

I have a pyfunc model that I can use to get predictions. It takes time series data with context information at each date, and produces a string of predictions. For example:The data is set up like below (temp/pressure/output are different than my inpu...

  • 1916 Views
  • 5 replies
  • 5 kudos
Latest Reply
EmilAndersson
New Contributor II
  • 5 kudos

I have the same question. I've decided to look for alternative Feature Stores as this makes it very difficult to use for time series forecasting.

  • 5 kudos
4 More Replies
bento
by New Contributor
  • 1487 Views
  • 1 replies
  • 0 kudos

Notebook Langchain ModuleNotFoundError: No module named 'langchain.retrievers.merger_retriever'

Hi,As mentioned in the title, receiving this error despite%pip install --upgrade langchainSpecific line of code:from langchain.retrievers.merger_retriever import MergerRetriever All other langchain import works when this is commented out. Same line w...

  • 1487 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @bento, â€¢ The error message "ModuleNotFoundError: No module named ’langchain.retrievers.merger_retriever’" indicates that the Python module ’langchain.retrievers.merger_retriever’ is not found in the current environment.• The code suggests that th...

  • 0 kudos
JamieCh
by New Contributor
  • 443 Views
  • 1 replies
  • 0 kudos

Pandas options

Hi All,Per this post's suggestion:https://towardsdatascience.com/a-solution-for-inconsistencies-in-indexing-operations-in-pandas-b76e10719744 I put the following code in Databricks notebook:import pandas as pd pd.set_option('mode.copy_on_write', True...

  • 443 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kaniz
Community Manager
  • 0 kudos

Hi @JamieCh, The error you're encountering is because pandas have no option. The set_option function in pandas is used to change the default number of rows to display or to change the precision of the floating point numbers. However, 'mode.copy_on_wr...

  • 0 kudos
megz
by New Contributor II
  • 846 Views
  • 3 replies
  • 1 kudos

Attach instance profile to Model serving endpoint

Hi all, I'm unable to attach an instance profile to a model serving end point. I followed the instructions on this page to update an existing model with an instance profile arn. I have verified the instance profile works by attaching it to a compute ...

  • 846 Views
  • 3 replies
  • 1 kudos
Latest Reply
Kaniz
Community Manager
  • 1 kudos

Hi @megz, you are trying to attach an instance profile to a model serving endpoint in a Unity Catalog (UC) shared mode cluster based on the information provided. However, for security reasons, instance profiles are not supported in UC shared mode cl...

  • 1 kudos
2 More Replies
thushar
by Contributor
  • 2141 Views
  • 3 replies
  • 2 kudos

MetadataChangedException Exception in databricks

Reading around 20 text files from ADLS, doing some transformations, and after that these files are written back to ADLS as a single delta file (all operations are in parallel through the thread pool). Here from 20 threads, it is writing to a single f...

  • 2141 Views
  • 3 replies
  • 2 kudos
Latest Reply
naga_databricks
Contributor
  • 2 kudos

I have seen this problem with Identity column causing concurrency issues. But you seem to be getting similar error when writing to files. I don't know completely know your use case completely here, but would advice retrying this operation by managing...

  • 2 kudos
2 More Replies
yo1
by New Contributor II
  • 6529 Views
  • 6 replies
  • 2 kudos

Run one workflow dynamically with different parameter and schedule time.

Can we run one workflow for different parameters and different schedule time. so that only one workflow can executed for different parameters we do not have to create that workflow again and again. or we can say Is there any possibility to drive work...

  • 6529 Views
  • 6 replies
  • 2 kudos
Latest Reply
DBXC
Contributor
  • 2 kudos

Update / Solved: Using CLI on Linux/MacOS: Send in the sample json with job_id in it. databricks jobs run-now --json '{   "job_id":<job-ID>,  "notebook_params": {    <key>:<value>,    <key>:<value>  }}' Using CLI on Windows: Send in the sample json w...

  • 2 kudos
5 More Replies
mbejarano89
by New Contributor III
  • 1947 Views
  • 6 replies
  • 1 kudos

Run a Databricks notebook from another notebook with ipywidget

0I am trying to run a notebook from another notebook using the dbutils.notebook.run as follows:import ipywidgets as widgetsfrom ipywidgets import interactfrom ipywidgets import Boxbutton = widgets.Button(description='Run model')out = widgets.Output()...

  • 1947 Views
  • 6 replies
  • 1 kudos
Latest Reply
Sreekanth_N
New Contributor II
  • 1 kudos

As I could see the pyspark stream is not supporting this setContext, ideally it should have alternative approach. please suggest what is approach where pyspark stream is internally calling to another notebook parallel

  • 1 kudos
5 More Replies
Ariane
by New Contributor II
  • 1153 Views
  • 2 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
  • 1153 Views
  • 2 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
1 More Replies
Labels