-
Writing an if statement to check if a value is not contained in an array
Hey everyone! Currently I am using the prepare recipe, and specifically the Create if, then, else statements processor. For one of the if statements, I want to write an if statement that check if each value in a specific column is not contained in a given array. I know that I can compare a value with another value;…
-
Using custom python model for Clustering (Agglomerative Clustering)
Hi all, I have a question regarding custom python models for a clustering modelling task. I am trying to do something really basic, like running Agglomerative Clustering using a different metric and linkage methods (included in sklearn natively). at the moment, I seem to be unable to do so default model in dataiku, so I…
-
Run a Application Receipe from Python Receipe
Hi, I created an application recipe in project A, which I want to use in project B. This recipe requires multiple parameters as input. In project B, these parameters are defined in my variables. As the application recipe does not allow for a reference to these variables, I try to find a work around for this. I initially…
-
Connection to locally hosted LLM on Apple Silicon
Is there any way to setup a connection that connects to a locally running LLM? On Apple Silicon it is possible to run huggingface models locally with some different open source solutions, which make use of Metal for the GPU-compute. The solution I have running can be said to function as a server accessible as localhost.…
-
Shiny app filtering not working
Hi all. New to Dataiku and shiny but facing an issue where my app is not being populated with column names as you can see in the attached screenshot. The app without any filtering applied that just prints the head of the data works. The log is fine Loading required package: shiny Listening on http://127.0.0.1:6288 UI:…
-
How to set the weighting strategy for a regression task , using API
Hi, I'm working on a regression task. I'm using the API to automate the model-building cycle. I want to use the "sample weights" weighting strategy and the "year" column as the weights. How do I achieve this using the API?
-
How to save a Jupyter notebook in html and upload it into a managed folder ?
Hello everyone, I am using Jupyter notebook to edit a Python recipe. Its output should be a folder that contains the Jupyter notebook in html format. # Output folderfolder = dataiku.Folder("Monitoring report")# Get notebookclient = dataiku.api_client()project_key = dataiku.default_project_key()project =…
-
How to select a column by using values of other columns
I want to select an existing column but the name of that column will be dynamic. Which means it should be dependent upon another columns' value. For example - Suppose I have a dataset like ID,Year,Month,Scen,09_2023,12_2023 1,2023,09,34.5,5,6 2,2023,09,56.2,1,3 3,2023,09,51.9,2,7 Now the new dataset would be combination of…
-
How to save a keras model from a python recipe in a folder ?
I would like to save a keras model in a folder. I can not figure out how to save the weights of my models because I do not find the correct filepath. The needed code to achieve this goal is : model.save_weights(filepath) Even with this syntax : path = str(trained_LSTM_info['accessInfo']['root'])…
-
Can i convert streaming python to dataiku plugin?
I dont see the "convert to plugin" option in streaming python recipie unlike the regular python recipie. Just wanted to confirm if we cant make a plugin of streaming python type.