-
Using sample.py after export model python
Hello, I’m trying to use the sample.py after unzipping the archive of a model I extracted. The model is a light gbm with a feature selection step. The version of the dss is 12.6.5 However the python script crash after the dummifier step with the error : Indexed_matrix.py Line 35 in _ remap _ key Remapped_key = (key[0],…
-
fekport': nan, what does this mean?
hello, everyone I'd like to ask about the cause of the result from executing the following code: client = dataiku.api_client() prj_key = dataiku.Project().project_key project = client.get_project(prj_key) scena = project.get_scenario(scenario_id) The result is: { … 'progress ': { … , 'fekport' : nan, …} … } In other…
-
How to uninstall a package within a codenv (or install a package without its dependencies) ?
Hello We would like to install a package A (ultralytics in our case) but without its dependency B (opencv-python) or to be able to install this package A and then remove one of its dependencies B. The reason behind is that ultralytics doesn't work properly with opencv-python, we need to remove it and install…
-
Extracting data for a specific time range from Datatime
Hi. I want to extract data from 7 AM to 10 AM, regardless of the date, in Datetime, but I don't know how to do it. Thank you.
-
Interacting with Labeling Task through Python API
Hello, In my project, I am trying to do two different things with labelings tasks. 1- Automatically create a labeling class according with a registry dataset with the classes that should exists. 2- Get the URL of the labeling class though a Python API to send to slack webhook. This is a issue since I need to send the…
-
Database schema
I have a connection to a postgres database. In this database there are two schemes. Is there a way to specify which schema the datasets should be written to? Operating system used: Ubuntu Operating system used: Ubuntu
-
Why is the recipe saying Dataset doesn't exist after the dataset has been created?
I am facing a strange issue where even after a dataset is getting created, the code is saying that dataset doesn't exists. Following is the function that I am using which has 3 steps - 1. Creating a table in the database 2. Creating a dataset in DSS and connecting it to the table created in 1 3. Writing a pandas dataframe…
-
Format Now() Date
In my recipe, I created a new column with Now(). I would like to format that date as 'mm-dd-yyyy'. However, the result is:
-
Extract flow into python / jupyter notebook
Hi! I built a working machine learning flow from data preparation and processing to modelling and prediction. Can I extract this flow as a python code or as an .ipynb file? Can you please elaborate this part in detail? Thanks! Operating system used: Windows Operating system used: Windows Operating system used: Windows
-
Governance API- Validation of Governance Approval for a specific bundle of a project
I am trying to a create a logic to validate the governance approval for a particular bundle of a project. Input params: PROJECT_KEY, BUNDLE_ID The python code should be able to validate the governance approval status and provide the result as approved, pending , rejected,etc. I am trying to use the…