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

Forum Posts

amal15
by New Contributor II
  • 435 Views
  • 2 replies
  • 1 kudos

Resolved! import ml.dmlc.xgboost4j.scala.spark.{XGBoostEstimator, XGBoostClassificationModel}

how i can import : import com.microsoft.ml.spark.{LightGBMClassifier,LightGBMClassificationModel}import ml.dmlc.xgboost4j.scala.spark.{XGBoostEstimator, XGBoostClassificationModel} projet spark & scala in databricks

  • 435 Views
  • 2 replies
  • 1 kudos
Latest Reply
amal15
New Contributor II
  • 1 kudos

XGBoostEstimator is not a member of package ml.dmlc.xgboost4j.scala.spark ?How can I resolve this error?with maven : ml.dmlc:xgboost4j-spark_2.12:2.0.3

  • 1 kudos
1 More Replies
chrisf_sts
by New Contributor II
  • 252 Views
  • 0 replies
  • 0 kudos

Extract calculations naive bayes model

I have a naive Bayes ML model that takes call attributes and predicts if the caller is going to abandon the call while they are on hold waiting to speak to an agent. The model lives in Databricks ML flow, I have it registered. What I need to do is ex...

  • 252 Views
  • 0 replies
  • 0 kudos
tanjil
by New Contributor III
  • 330 Views
  • 2 replies
  • 0 kudos

Import mlflow Error

Hello, I am trying to replicate this motebook in my environment: mlflow-end-to-end-example - Databricks However, I am getting the following error when I run "import mlflow": "TypeError: bases must be types"How can I solve this issue? Thank you, Tanji...

  • 330 Views
  • 2 replies
  • 0 kudos
Latest Reply
Walter_C
Valued Contributor II
  • 0 kudos

Can you share the specific cell of the notebook where you are receiving this error? Have you modified the code or it is the same? Do you have any particular libraries installed on the cluster you are using for the testing?

  • 0 kudos
1 More Replies
Kaizen
by Contributor III
  • 514 Views
  • 2 replies
  • 0 kudos

Unity Catalog table management with multiple teams members

Hi! How are you guys managing large teams working on the same project. Each member has their own data to save in Unity Catalog.Based on my understanding there is only two ways to manage this:1) Create an individual member schea so they can store thei...

Kaizen_1-1712681311310.png
  • 514 Views
  • 2 replies
  • 0 kudos
Latest Reply
Kaizen
Contributor III
  • 0 kudos

Any suggestions regarding this?@s_park , @Sujitha , @Debayan 

  • 0 kudos
1 More Replies
MinThuraZaw
by New Contributor III
  • 79 Views
  • 0 replies
  • 0 kudos

404 Page Not Found Error on Features page

We are facing this issue when accessing Features page. Our workspace is on AWS, ap-southeast-1.I think this is related to new feature for online tables and serverless. Is it because of online tables are not available yet in our region? If it not avai...

error2.png
  • 79 Views
  • 0 replies
  • 0 kudos
Kaizen
by Contributor III
  • 690 Views
  • 6 replies
  • 1 kudos

Endpoint performance questions

Hi! Had really interesting results from some endpoint performance tests I did. I set up the non-optimized endpoint with zero-cluster scaling and optimized had this feature disabled.1) Why does the non-optimized endpoint have variable response time fo...

Kaizen_1-1710196442817.png Kaizen_0-1710196408535.png Kaizen_2-1710196880601.png
  • 690 Views
  • 6 replies
  • 1 kudos
Latest Reply
Kaniz
Community Manager
  • 1 kudos

Hi @Kaizen, Let’s delve into your intriguing endpoint performance observations: Variable Response Time: The non-optimized endpoint exhibiting variable response times during different test durations (3600, 1800, and 600 seconds) can be attributed ...

  • 1 kudos
5 More Replies
ccataV
by New Contributor
  • 189 Views
  • 1 replies
  • 0 kudos

databricks-vectorsearch lib install

Hello,I'm trying to create and query a vector searc index like in this example : How to create and query a Vector Search index | Databricks on AWS on a databricks on azure. I have a cluster ina  private network so i need to install the suggested lib ...

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

Hi @ccataV, Creating and querying a vector search index using Databricks Vector Search is a powerful capability. Let’s break down the steps to achieve this: Create a Vector Search Endpoint: You can create a vector search endpoint using the Databr...

  • 0 kudos
Nishat
by New Contributor
  • 301 Views
  • 1 replies
  • 0 kudos

Serving a custom transformer class via a pyfunc wrapper for a pyspark recommendation model

I am trying to serve an ALS pyspark model with a custom transformer(for generating user-specific recommendations) via a pyfunc wrapper. Although I can successfully score the logged model, the serving endpoint is throwing the following error.URI '/mod...

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

Hi @Nishat,  Ensure that the path you’re using for the model artefacts is correctly configured and accessible within your environment.Verify that the model artefacts are stored in a location accessible by the serving endpoint.Double-check the path an...

  • 0 kudos
tiho
by New Contributor
  • 436 Views
  • 2 replies
  • 0 kudos

Vector Search Index Sync fails in Initializing

Vector Search Index Sync fails in Initializing. This index table was already up and running, and when I tried to sync it, it failed in Initializing. See the attached.  

tiho_0-1709733181256.png
  • 436 Views
  • 2 replies
  • 0 kudos
Latest Reply
amitpphatak
New Contributor II
  • 0 kudos

Were you able to resolve this issue? I am facing the same issue right now - I am on AWS.

  • 0 kudos
1 More Replies
marcelo2108
by Contributor
  • 5163 Views
  • 26 replies
  • 0 kudos

Problem when serving a langchain model on Databricks

I´m trying to model serving a LLM LangChain Model and every time it fails with this messsage:[6b6448zjll] [2024-02-06 14:09:55 +0000] [1146] [INFO] Booting worker with pid: 1146[6b6448zjll] An error occurred while loading the model. You haven't confi...

  • 5163 Views
  • 26 replies
  • 0 kudos
Latest Reply
marcelo2108
Contributor
  • 0 kudos

Hi @DataWrangler and Team.I got to solve the initial problem from some tips you gave. I used your code as base and did some modifications adapted to what I have, I mean , No UC enabled and not able to use DatabricksEmbeddings, DatabricksVectorSearch ...

  • 0 kudos
25 More Replies
mbejarano89
by New Contributor III
  • 2281 Views
  • 2 replies
  • 2 kudos

Resolved! Running multiple linear regressions in parallel (speeding up for loop)

Hi, I am running several linear regressions on my dataframe, in which I run a regression for every unique value in the column "item" , apply the model to a new dataset (vector_new), and at the end union the results as the loop runs. The problem is th...

  • 2281 Views
  • 2 replies
  • 2 kudos
Latest Reply
Anonymous
Not applicable
  • 2 kudos

@Marcela Bejarano​ :One approach to speed up the process is to avoid using a loop and instead use Spark's groupBy and map functions. Here is an example:from pyspark.ml import Pipeline from pyspark.ml.feature import VectorAssembler from pyspark.ml.reg...

  • 2 kudos
1 More Replies
DataInsight
by New Contributor II
  • 369 Views
  • 1 replies
  • 0 kudos

Copy Into command to copy into delta table with predefined schema and csv file has no headers

How do i use copy into command to load 200+ tables with 50+ columns into a delta lake table with predefined schema. I am looking for a more generic approach to be handled in pyspark code.I am aware that we can pass the column expression into the sele...

  • 369 Views
  • 1 replies
  • 0 kudos
Latest Reply
Lakshay
Esteemed Contributor
  • 0 kudos

Does your source data have same number of columns as your target Delta tables? In that case, you can do it this way:COPY INTO my_pipe_dataFROM 's3://my-bucket/pipeData'FILEFORMAT = CSVFORMAT_OPTIONS ('mergeSchema' = 'true','delimiter' = '|','header' ...

  • 0 kudos
aladda
by Honored Contributor II
  • 1644 Views
  • 2 replies
  • 0 kudos

Resolved! How do I use the Copy Into command to copy data into a Delta Table? Looking for examples where you want to have a pre-defined schema

I've reviewed the COPY INTO docs here - https://docs.databricks.com/spark/latest/spark-sql/language-manual/delta-copy-into.html#examples but there's only one simple example. Looking for some additional examples that show loading data from CSV - with ...

  • 1644 Views
  • 2 replies
  • 0 kudos
Latest Reply
aladda
Honored Contributor II
  • 0 kudos

Here's an example for predefined schemaUsing COPY INTO with a predefined table schema – Trick here is to CAST the CSV dataset into your desired schema in the select statement of COPY INTO. Example below%sql CREATE OR REPLACE TABLE copy_into_bronze_te...

  • 0 kudos
1 More Replies
Labels