ImportedDataset¶
- class persalys.ImportedDataset(*args)¶
Class to import file data.
ImportedDataset()
ImportedDataset(fileName, inputColumns, outputColumns)
- Parameters:
- fileNamestr
Path to the file to import data from
- inputColumnssequence of int
Columns of the input variables
- outputColumnssequence of int, optional
Columns of the output variables
Methods
Accessor to the object's name.
File name accessor.
Columns of the input variables accessor.
getName()Accessor to the object's name.
Columns of the output variables accessor.
Sample from the file accessor.
hasName()Test if the object is named.
setColumns(inputColumns, outputColumns)Columns of the variables accessor.
setFileName(*args)File name accessor.
setName(name)Accessor to the object's name.
setNames(inputNames, outputNames)Changes the description of the sample
setSampleFromFile(sample)Sample from the file accessor.
- __init__(*args)¶
- getClassName()¶
Accessor to the object’s name.
- Returns:
- class_namestr
The object class name (object.__class__.__name__).
- getFileName()¶
File name accessor.
- Returns:
- fileNamestr
Name of the file containing data
- getInputColumns()¶
Columns of the input variables accessor.
- Returns:
- columns
openturns.Indices Columns of the input variables
- columns
- getName()¶
Accessor to the object’s name.
- Returns:
- namestr
The name of the object.
- getOutputColumns()¶
Columns of the output variables accessor.
- Returns:
- columns
openturns.Indices Columns of the output variables
- columns
- getSampleFromFile()¶
Sample from the file accessor.
- Returns:
- sample
openturns.Sample Sample from the file
- sample
- hasName()¶
Test if the object is named.
- Returns:
- hasNamebool
True if the name is not empty.
- setColumns(inputColumns, outputColumns)¶
Columns of the variables accessor.
- Parameters:
- inputColumnssequence of int
Columns of the input variables
- outputColumnssequence of int, optional
Columns of the output variables
- setFileName(*args)¶
File name accessor.
- Parameters:
- fileNamestr
Name of the file containing data
- Returns:
- validArgbool
True if the columns could be kept, False if they have been reset to default values
- setName(name)¶
Accessor to the object’s name.
- Parameters:
- namestr
The name of the object.
- setNames(inputNames, outputNames)¶
Changes the description of the sample
- Parameters:
- inputNames
openturns.Description Names of the input variables
- outputNames
openturns.Description Names of the output variables
- inputNames
- setSampleFromFile(sample)¶
Sample from the file accessor.
- Parameters:
- sample
openturns.Sample Sample from the file
- sample