Generate NxN Negative Int dataset
This transform generates an n-dimension random negative int dataset.
tags: [“Data Preparation”]
Parameters
The table gives a brief description about each parameter in Generate 10x10 Random Int dataset transform.
- Name:
By default, the transform name is populated. You can also add a custom name for the transform.
- Output Dataset:
The file name with which the output dataset is created with negative int values. (Required: True, Multiple: False)
- value_1:
The dimension of the output dataset. (Required: True, Multiple: False, Datatypes: [“LONG”], Options: [“CONSTANT”])
The sample input for this transform looks as shown in the screenshot.

The output after running the Generate NxN Negative Int dataset transform on the dataset appears as below:

How to use it in Notebook
The following is the code snippet you must use in the Jupyter Notebook editor to run the Generate NxN Negative Int dataset transform:
template=TemplateV2.get_template_by('Generate NxN Negative Int dataset')
recipe_Generate_NxN_Negative_Int_dataset= project.addRecipe([car_data, employee_data, temperature_data, only_numeric], name='Generate NxN Negative Int dataset')
transform=Transform()
transform.templateId = template.id
transform.name='Generate NxN Negative Int dataset'
transform.variables = {
'output_dataset':'id_dataset_n_neg',
'value_1':3}
recipe_Generate_NxN_Negative_Int_dataset.add_transform(transform)
recipe_Generate_NxN_Negative_Int_dataset.run()
Requirements
pandas numpy