Skip navigation links
$ A B C D E F G H I L M N O P R S T U V W X Y 

$

$(String) - Static method in interface smile.data.formula.Terms
Returns a variable.

A

Abs - Class in smile.data.formula
The term of abs function.
Abs(Term) - Constructor for class smile.data.formula.Abs
Constructor.
abs(String) - Static method in interface smile.data.formula.Terms
Applies Math.abs.
abs(Term) - Static method in interface smile.data.formula.Terms
Applies Math.abs.
AbstractBiFunction - Class in smile.data.formula
This class provides a skeletal implementation of the bi-function term.
AbstractBiFunction(String, Term, Term) - Constructor for class smile.data.formula.AbstractBiFunction
Constructor.
AbstractFunction - Class in smile.data.formula
This class provides a skeletal implementation of the function term.
AbstractFunction(String, Term) - Constructor for class smile.data.formula.AbstractFunction
Constructor.
AbstractTuple - Class in smile.data
Abstract tuple base class.
AbstractTuple() - Constructor for class smile.data.AbstractTuple
 
acos(String) - Static method in interface smile.data.formula.Terms
Applies Math.acos.
acos(Term) - Static method in interface smile.data.formula.Terms
Applies Math.acos.
Add - Class in smile.data.formula
The term of a + b expression.
Add(Term, Term) - Constructor for class smile.data.formula.Add
Constructor.
add(Term, Term) - Static method in interface smile.data.formula.Terms
Adds two terms.
add(String, String) - Static method in interface smile.data.formula.Terms
Adds two terms.
add(Term, String) - Static method in interface smile.data.formula.Terms
Adds two terms.
add(String, Term) - Static method in interface smile.data.formula.Terms
Adds two terms.
anyNull() - Method in interface smile.data.Tuple
Returns true if there are any NULL values in this tuple.
anyNull() - Method in interface smile.data.vector.Vector
Returns true if there are any NULL values in this row.
apply(String) - Method in interface smile.data.DataFrame
Selects column based on the column name and return it as a Column.
apply(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
apply(int) - Method in interface smile.data.Dataset
Returns the element at the specified position in this dataset.
apply(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object.
apply(DataFrame) - Method in interface smile.data.formula.Feature
 
apply(Tuple) - Method in class smile.data.formula.Formula
Apply the formula on a tuple to generate the model data.
apply(int) - Method in interface smile.data.Tuple
Returns the value at position i.
apply(String) - Method in interface smile.data.Tuple
Returns the value by field name.
apply(int) - Method in interface smile.data.vector.BaseVector
Returns the value at position i, which may be null.
apply(int...) - Method in interface smile.data.vector.BaseVector
Returns a new vector with selected entries.
applyAsBoolean(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an boolean-valued result.
applyAsByte(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an byte-valued result.
applyAsChar(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an char-valued result.
applyAsDouble(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an double-valued result.
applyAsFloat(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an float-valued result.
applyAsInt(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an int-valued result.
applyAsLong(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an long-valued result.
applyAsShort(Tuple) - Method in interface smile.data.formula.Feature
Applies the term on a data object and produces an short-valued result.
array(DataType) - Static method in class smile.data.type.DataTypes
Creates an array data type.
array() - Method in interface smile.data.vector.BaseVector
Returns the array that backs this vector.
array() - Method in interface smile.data.vector.BooleanVector
 
array() - Method in interface smile.data.vector.ByteVector
 
array() - Method in interface smile.data.vector.CharVector
 
array() - Method in interface smile.data.vector.DoubleVector
 
array() - Method in interface smile.data.vector.FloatVector
 
array() - Method in interface smile.data.vector.IntVector
 
array() - Method in interface smile.data.vector.LongVector
 
array() - Method in interface smile.data.vector.ShortVector
 
ArrayType - Class in smile.data.type
Array of primitive data type.
asin(String) - Static method in interface smile.data.formula.Terms
Applies Math.asin.
asin(Term) - Static method in interface smile.data.formula.Terms
Applies Math.asin.
atan(String) - Static method in interface smile.data.formula.Terms
Applies Math.atan.
atan(Term) - Static method in interface smile.data.formula.Terms
Applies Math.atan.

B

BaseVector<T,TS,S extends java.util.stream.BaseStream<TS,S>> - Interface in smile.data.vector
Base interface for immutable named vectors, which are sequences of elements supporting random access and sequential stream operations.
BinarySparseDataset - Interface in smile.data
Binary sparse dataset.
bind(StructType) - Method in class smile.data.formula.Abs
 
bind(StructType) - Method in class smile.data.formula.Add
 
bind(StructType) - Method in class smile.data.formula.Date
 
bind(StructType) - Method in class smile.data.formula.Div
 
bind(StructType) - Method in class smile.data.formula.DoubleFunction
 
bind(StructType) - Method in class smile.data.formula.FactorInteraction
 
bind(StructType) - Method in class smile.data.formula.Formula
Binds the formula to a schema and returns the schema of predictors.
bind(StructType) - Method in class smile.data.formula.IntFunction
 
bind(StructType) - Method in class smile.data.formula.Mul
 
bind(StructType) - Method in class smile.data.formula.Sub
 
bind(StructType) - Method in interface smile.data.formula.Term
Binds the term to a schema.
BooleanArrayType - Static variable in class smile.data.type.DataTypes
Boolean Array data type.
BooleanObjectType - Static variable in class smile.data.type.DataTypes
Boolean Object data type.
BooleanPattern - Static variable in interface smile.data.type.DataType
Regex for boolean.
BooleanType - Class in smile.data.type
Boolean data type.
BooleanType - Static variable in class smile.data.type.DataTypes
Boolean data type.
booleanVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
booleanVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
booleanVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
booleanVector(int) - Method in class smile.data.IndexDataFrame
 
BooleanVector - Interface in smile.data.vector
An immutable boolean vector.
boxed() - Method in interface smile.data.type.DataType
Returns the boxed data type if this is a primitive type.
boxed(Collection<Tuple>) - Method in class smile.data.type.StructType
Updates the field type to the boxed one if the field has null/missing values in the data.
ByteArrayType - Static variable in class smile.data.type.DataTypes
Byte Array data type.
ByteObjectType - Static variable in class smile.data.type.DataTypes
Byte Object data type.
ByteType - Class in smile.data.type
Byte data type.
ByteType - Static variable in class smile.data.type.DataTypes
Byte data type.
byteVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
byteVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
byteVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
byteVector(int) - Method in class smile.data.IndexDataFrame
 
ByteVector - Interface in smile.data.vector
An immutable byte vector.

C

CategoricalEncoder - Enum in smile.data
Categorical variable encoder.
CategoricalMeasure - Class in smile.data.measure
Categorical data can be stored into groups or categories with the aid of names or labels.
CategoricalMeasure(String...) - Constructor for class smile.data.measure.CategoricalMeasure
Constructor.
CategoricalMeasure(List<String>) - Constructor for class smile.data.measure.CategoricalMeasure
Constructor.
CategoricalMeasure(int[]) - Constructor for class smile.data.measure.CategoricalMeasure
Constructor.
CategoricalMeasure(int[], String[]) - Constructor for class smile.data.measure.CategoricalMeasure
Constructor.
cbrt(String) - Static method in interface smile.data.formula.Terms
Applies Math.cbrt.
cbrt(Term) - Static method in interface smile.data.formula.Terms
Applies Math.cbrt.
ceil(String) - Static method in interface smile.data.formula.Terms
Applies Math.ceil.
ceil(Term) - Static method in interface smile.data.formula.Terms
Applies Math.ceil.
CharArrayType - Static variable in class smile.data.type.DataTypes
Char Array data type.
CharObjectType - Static variable in class smile.data.type.DataTypes
Char Object data type.
CharType - Class in smile.data.type
Char data type.
CharType - Static variable in class smile.data.type.DataTypes
Char data type.
charVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
charVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
charVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
charVector(int) - Method in class smile.data.IndexDataFrame
 
CharVector - Interface in smile.data.vector
An immutable char vector.
coerce(DataType, DataType) - Static method in interface smile.data.type.DataType
Returns the common type.
collect(Class<T>) - Static method in interface smile.data.DataFrame
Returns a stream collector that accumulates objects into a DataFrame.
collect() - Static method in interface smile.data.DataFrame
Returns a stream collector that accumulates tuples into a DataFrame.
column(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
column(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
column(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
column(int) - Method in class smile.data.IndexDataFrame
 
columnIndex(String) - Method in interface smile.data.DataFrame
Returns the index of a given column name.
columnIndex(String) - Method in class smile.data.IndexDataFrame
 
Constant - Class in smile.data.formula
A constant value in the formula.
Constant() - Constructor for class smile.data.formula.Constant
 
cos(String) - Static method in interface smile.data.formula.Terms
Applies Math.cos.
cos(Term) - Static method in interface smile.data.formula.Terms
Applies Math.cos.
cosh(String) - Static method in interface smile.data.formula.Terms
Applies Math.cosh.
cosh(Term) - Static method in interface smile.data.formula.Terms
Applies Math.cosh.
cross(String...) - Static method in interface smile.data.formula.Terms
Factor crossing of two or more factors.
cross(int, String...) - Static method in interface smile.data.formula.Terms
Factor crossing of two or more factors.
Currency - Static variable in interface smile.data.measure.Measure
Currency.

D

DataFrame - Interface in smile.data
An immutable collection of data organized into named columns.
Dataset<T> - Interface in smile.data
An immutable collection of data objects.
DataType - Interface in smile.data.type
The interface of data types.
DataType.ID - Enum in smile.data.type
Data type ID.
DataTypes - Class in smile.data.type
To get a specific data type, users should use singleton objects and factory methods in this class.
DataTypes() - Constructor for class smile.data.type.DataTypes
 
Date - Class in smile.data.formula
Date/time feature extractor.
Date(String, DateFeature...) - Constructor for class smile.data.formula.Date
Constructor.
date(String, DateFeature...) - Static method in interface smile.data.formula.Terms
Extracts date/time features.
date(String) - Static method in class smile.data.type.DataTypes
Date data type with customized format.
DateFeature - Enum in smile.data.formula
The date/time features.
DatePattern - Static variable in interface smile.data.type.DataType
Regex for date.
datetime(String) - Static method in class smile.data.type.DataTypes
DateTime data type with customized format.
DateTimePattern - Static variable in interface smile.data.type.DataType
Regex for datetime.
DateTimeType - Static variable in class smile.data.type.DataTypes
DateTime data type with ISO format.
DateTimeType - Class in smile.data.type
DateTime data type.
DateTimeType(String) - Constructor for class smile.data.type.DateTimeType
Constructor.
DateType - Static variable in class smile.data.type.DataTypes
Date data type with ISO format.
DateType - Class in smile.data.type
Date data type.
DateType(String) - Constructor for class smile.data.type.DateType
Constructor.
DecimalType - Static variable in class smile.data.type.DataTypes
Decimal data type.
DecimalType - Class in smile.data.type
Arbitrary-precision decimal data type.
delete(String) - Static method in interface smile.data.formula.Terms
Deletes a variable or the intercept ("1") from the formula.
delete(Term) - Static method in interface smile.data.formula.Terms
Deletes a term from the formula.
distinct() - Method in interface smile.data.vector.Vector
Returns the distinct values.
distributed() - Method in interface smile.data.Dataset
Returns true if the dataset is distributed over multiple machines.
Div - Class in smile.data.formula
The term of a / b expression.
Div(Term, Term) - Constructor for class smile.data.formula.Div
Constructor.
div(Term, Term) - Static method in interface smile.data.formula.Terms
Divides two terms.
div(String, String) - Static method in interface smile.data.formula.Terms
Divides two terms.
div(Term, String) - Static method in interface smile.data.formula.Terms
Divides two terms.
div(String, Term) - Static method in interface smile.data.formula.Terms
Divides two terms.
dot() - Static method in interface smile.data.formula.Terms
Returns the special term "." that means all columns not otherwise in the formula in the context of a data frame.
DoubleArrayType - Static variable in class smile.data.type.DataTypes
Double Array data type.
DoubleFunction - Class in smile.data.formula
The generic term of applying a double function.
DoubleFunction(String, Term, Function) - Constructor for class smile.data.formula.DoubleFunction
Constructor.
DoubleObjectType - Static variable in class smile.data.type.DataTypes
Double Object data type.
DoublePattern - Static variable in interface smile.data.type.DataType
Regex for double.
DoubleType - Static variable in class smile.data.type.DataTypes
Double data type.
DoubleType - Class in smile.data.type
Double data type.
doubleVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
doubleVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
doubleVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
doubleVector(int) - Method in class smile.data.IndexDataFrame
 
DoubleVector - Interface in smile.data.vector
An immutable double vector.
drop(int...) - Method in interface smile.data.DataFrame
Returns a new DataFrame without given column indices.
drop(String...) - Method in interface smile.data.DataFrame
Returns a new DataFrame without given column names.
drop(int...) - Method in class smile.data.IndexDataFrame
 

E

equals(Object) - Method in class smile.data.formula.Formula
 
equals(Object) - Method in class smile.data.measure.CategoricalMeasure
 
equals(Object) - Method in class smile.data.measure.NominalScale
 
equals(Object) - Method in class smile.data.measure.OrdinalScale
 
equals(Object) - Method in class smile.data.type.ArrayType
 
equals(Object) - Method in class smile.data.type.BooleanType
 
equals(Object) - Method in class smile.data.type.ByteType
 
equals(Object) - Method in class smile.data.type.CharType
 
equals(Object) - Method in class smile.data.type.DateTimeType
 
equals(Object) - Method in class smile.data.type.DateType
 
equals(Object) - Method in class smile.data.type.DecimalType
 
equals(Object) - Method in class smile.data.type.DoubleType
 
equals(Object) - Method in class smile.data.type.FloatType
 
equals(Object) - Method in class smile.data.type.IntegerType
 
equals(Object) - Method in class smile.data.type.LongType
 
equals(Object) - Method in class smile.data.type.ObjectType
 
equals(Object) - Method in class smile.data.type.ShortType
 
equals(Object) - Method in class smile.data.type.StringType
 
equals(Object) - Method in class smile.data.type.StructField
 
equals(Object) - Method in class smile.data.type.StructType
 
equals(Object) - Method in class smile.data.type.TimeType
 
exp(String) - Static method in interface smile.data.formula.Terms
Applies Math.exp.
exp(Term) - Static method in interface smile.data.formula.Terms
Applies Math.exp.
expand(StructType) - Method in class smile.data.formula.Formula
Expands the Dot and FactorCrossing terms on the given schema.
expand() - Method in interface smile.data.formula.Term
Expands the term (e.g.
expm1(String) - Static method in interface smile.data.formula.Terms
Applies Math.expm1.
expm1(Term) - Static method in interface smile.data.formula.Terms
Applies Math.expm1.

F

factor(int) - Method in class smile.data.measure.CategoricalMeasure
Returns the factor value (in range [0, size)) of level.
FactorInteraction - Class in smile.data.formula
The interaction of all the factors appearing in the term.
FactorInteraction(String...) - Constructor for class smile.data.formula.FactorInteraction
Constructor.
factorize(String...) - Method in interface smile.data.DataFrame
Returns a new DataFrame with given columns converted to nominal.
factorize(CategoricalMeasure) - Method in interface smile.data.vector.StringVector
Converts strings to discrete measured values.
Feature - Interface in smile.data.formula
A feature in the formula once bound to a schema.
field() - Method in interface smile.data.formula.Feature
Returns the meta data of feature.
field(String) - Method in class smile.data.type.StructType
Return the field of given name.
field(int) - Method in class smile.data.type.StructType
Return the field at position i.
field() - Method in interface smile.data.vector.BaseVector
Returns a struct field corresponding to this vector.
fieldIndex(String) - Method in interface smile.data.Tuple
Returns the index of a given field name.
fieldIndex(String) - Method in class smile.data.type.StructType
Returns the index of a field.
fieldName(int) - Method in class smile.data.type.StructType
Returns the name of a field.
fields() - Method in class smile.data.type.StructType
Returns the fields.
FloatArrayType - Static variable in class smile.data.type.DataTypes
Float Array data type.
FloatObjectType - Static variable in class smile.data.type.DataTypes
Float Object data type.
FloatType - Static variable in class smile.data.type.DataTypes
Float data type.
FloatType - Class in smile.data.type
Float data type.
floatVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
floatVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
floatVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
floatVector(int) - Method in class smile.data.IndexDataFrame
 
FloatVector - Interface in smile.data.vector
An immutable float vector.
floor(String) - Static method in interface smile.data.formula.Terms
Applies Math.floor.
floor(Term) - Static method in interface smile.data.formula.Terms
Applies Math.floor.
Formula - Class in smile.data.formula
The model fitting formula in a compact symbolic form.
Formula(Term, Term...) - Constructor for class smile.data.formula.Formula
Constructor.
frame(DataFrame) - Method in class smile.data.formula.Formula
Returns a data frame of predictors and optionally response variable (if input data frame has the related variable(s)).
from(Path) - Static method in interface smile.data.BinarySparseDataset
Parse a binary sparse dataset from a file, of which each line is a data item which are the indices of nonzero elements.
from(Path) - Static method in interface smile.data.SparseDataset
Parses spare dataset in coordinate triple tuple list format.
from(Path, int) - Static method in interface smile.data.SparseDataset
Reads spare dataset in coordinate triple tuple list format.

G

get(int, int) - Method in interface smile.data.BinarySparseDataset
Returns the binary value at entry (i, j) by binary search.
get(int, int) - Method in interface smile.data.DataFrame
Returns the cell at (i, j).
get(int, String) - Method in interface smile.data.DataFrame
Returns the cell at (i, j).
get(int) - Method in interface smile.data.Dataset
Returns the element at the specified position in this dataset.
get(int, int) - Method in class smile.data.IndexDataFrame
 
get(int) - Method in class smile.data.IndexDataFrame
 
get(int, int) - Method in interface smile.data.SparseDataset
Returns the value at entry (i, j).
get(int) - Method in interface smile.data.Tuple
Returns the value at position i.
get(String) - Method in interface smile.data.Tuple
Returns the value by field name.
get(int) - Method in interface smile.data.vector.BaseVector
Returns the value at position i, which may be null.
get(int...) - Method in interface smile.data.vector.BaseVector
Returns a new vector with selected entries.
get(int...) - Method in interface smile.data.vector.BooleanVector
 
get(int...) - Method in interface smile.data.vector.ByteVector
 
get(int...) - Method in interface smile.data.vector.CharVector
 
get(int...) - Method in interface smile.data.vector.DoubleVector
 
get(int...) - Method in interface smile.data.vector.FloatVector
 
get(int...) - Method in interface smile.data.vector.IntVector
 
get(int...) - Method in interface smile.data.vector.LongVector
 
get(int...) - Method in interface smile.data.vector.ShortVector
 
get(int...) - Method in interface smile.data.vector.StringVector
 
get(int...) - Method in interface smile.data.vector.Vector
 
getArray(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) of array type.
getArray(int, String) - Method in interface smile.data.DataFrame
Returns the field value of array type.
getArray(int) - Method in interface smile.data.Tuple
Returns the value at position i of array type.
getArray(String) - Method in interface smile.data.Tuple
Returns the field value of array type.
getAs(int) - Method in interface smile.data.Tuple
Returns the value at position i.
getAs(String) - Method in interface smile.data.Tuple
Returns the value of a given fieldName.
getBoolean(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive boolean.
getBoolean(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive boolean.
getBoolean(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive boolean.
getBoolean(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive boolean.
getBoolean(int) - Method in interface smile.data.vector.BooleanVector
Returns the value at position i.
getByte(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive byte.
getByte(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive byte.
getByte(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive byte.
getByte(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive byte.
getByte(int) - Method in interface smile.data.vector.BaseVector
Returns the byte value at position i.
getByte(int) - Method in interface smile.data.vector.BooleanVector
 
getByte(int) - Method in interface smile.data.vector.CharVector
 
getByte(int) - Method in interface smile.data.vector.DoubleVector
 
getByte(int) - Method in interface smile.data.vector.FloatVector
 
getByte(int) - Method in interface smile.data.vector.IntVector
 
getByte(int) - Method in interface smile.data.vector.LongVector
 
getByte(int) - Method in interface smile.data.vector.ShortVector
 
getByte(int) - Method in interface smile.data.vector.Vector
 
getChar(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive byte.
getChar(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive byte.
getChar(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive byte.
getChar(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive byte.
getChar(int) - Method in interface smile.data.vector.CharVector
Returns the value at position i.
getComponentType() - Method in class smile.data.type.ArrayType
Returns the type of array elements.
getDate(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) of date type as java.time.LocalDate.
getDate(int, String) - Method in interface smile.data.DataFrame
Returns the field value of date type as java.time.LocalDate.
getDate(int) - Method in interface smile.data.Tuple
Returns the value at position i of date type as java.time.LocalDate.
getDate(String) - Method in interface smile.data.Tuple
Returns the field value of date type as java.time.LocalDate.
getDateTime(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as java.time.LocalDateTime.
getDateTime(int, String) - Method in interface smile.data.DataFrame
Returns the field value as java.time.LocalDateTime.
getDateTime(int) - Method in interface smile.data.Tuple
Returns the value at position i of date type as java.time.LocalDateTime.
getDateTime(String) - Method in interface smile.data.Tuple
Returns the field value of date type as java.time.LocalDateTime.
getDecimal(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) of decimal type as java.math.BigDecimal.
getDecimal(int, String) - Method in interface smile.data.DataFrame
Returns the field value of decimal type as java.math.BigDecimal.
getDecimal(int) - Method in interface smile.data.Tuple
Returns the value at position i of decimal type as java.math.BigDecimal.
getDecimal(String) - Method in interface smile.data.Tuple
Returns the field value of decimal type as java.math.BigDecimal.
getDouble(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive double.
getDouble(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive double.
getDouble(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive double.
getDouble(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive double.
getDouble(int) - Method in interface smile.data.vector.BaseVector
Returns the double value at position i.
getDouble(int) - Method in interface smile.data.vector.BooleanVector
 
getDouble(int) - Method in interface smile.data.vector.ByteVector
 
getDouble(int) - Method in interface smile.data.vector.CharVector
 
getDouble(int) - Method in interface smile.data.vector.FloatVector
 
getDouble(int) - Method in interface smile.data.vector.IntVector
 
getDouble(int) - Method in interface smile.data.vector.LongVector
 
getDouble(int) - Method in interface smile.data.vector.ShortVector
 
getDouble(int) - Method in interface smile.data.vector.Vector
 
getFloat(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive float.
getFloat(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive float.
getFloat(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive float.
getFloat(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive float.
getFloat(int) - Method in interface smile.data.vector.BaseVector
Returns the float value at position i.
getFloat(int) - Method in interface smile.data.vector.BooleanVector
 
getFloat(int) - Method in interface smile.data.vector.ByteVector
 
getFloat(int) - Method in interface smile.data.vector.CharVector
 
getFloat(int) - Method in interface smile.data.vector.DoubleVector
 
getFloat(int) - Method in interface smile.data.vector.IntVector
 
getFloat(int) - Method in interface smile.data.vector.LongVector
 
getFloat(int) - Method in interface smile.data.vector.ShortVector
 
getFloat(int) - Method in interface smile.data.vector.Vector
 
getInt(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive int.
getInt(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive int.
getInt(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive int.
getInt(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive int.
getInt(int) - Method in interface smile.data.vector.BaseVector
Returns the integer value at position i.
getInt(int) - Method in interface smile.data.vector.BooleanVector
 
getInt(int) - Method in interface smile.data.vector.ByteVector
 
getInt(int) - Method in interface smile.data.vector.CharVector
 
getInt(int) - Method in interface smile.data.vector.DoubleVector
 
getInt(int) - Method in interface smile.data.vector.FloatVector
 
getInt(int) - Method in interface smile.data.vector.LongVector
 
getInt(int) - Method in interface smile.data.vector.ShortVector
 
getInt(int) - Method in interface smile.data.vector.Vector
 
getLong(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive long.
getLong(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive long.
getLong(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive long.
getLong(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive long.
getLong(int) - Method in interface smile.data.vector.BaseVector
Returns the long value at position i.
getLong(int) - Method in interface smile.data.vector.BooleanVector
 
getLong(int) - Method in interface smile.data.vector.ByteVector
 
getLong(int) - Method in interface smile.data.vector.CharVector
 
getLong(int) - Method in interface smile.data.vector.DoubleVector
 
getLong(int) - Method in interface smile.data.vector.FloatVector
 
getLong(int) - Method in interface smile.data.vector.IntVector
 
getLong(int) - Method in interface smile.data.vector.ShortVector
 
getLong(int) - Method in interface smile.data.vector.Vector
 
getObjectClass() - Method in class smile.data.type.ObjectType
Returns the class of objects.
getScale(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) of NominalScale or OrdinalScale.
getScale(int, String) - Method in interface smile.data.DataFrame
Returns the field value of NominalScale or OrdinalScale.
getScale(int) - Method in interface smile.data.Tuple
Returns the value at position i of NominalScale or OrdinalScale.
getScale(String) - Method in interface smile.data.Tuple
Returns the field value of NominalScale or OrdinalScale.
getShort(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a primitive short.
getShort(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a primitive short.
getShort(int) - Method in interface smile.data.Tuple
Returns the value at position i as a primitive short.
getShort(String) - Method in interface smile.data.Tuple
Returns the field value as a primitive short.
getShort(int) - Method in interface smile.data.vector.BaseVector
Returns the short value at position i.
getShort(int) - Method in interface smile.data.vector.BooleanVector
 
getShort(int) - Method in interface smile.data.vector.ByteVector
 
getShort(int) - Method in interface smile.data.vector.CharVector
 
getShort(int) - Method in interface smile.data.vector.DoubleVector
 
getShort(int) - Method in interface smile.data.vector.FloatVector
 
getShort(int) - Method in interface smile.data.vector.IntVector
 
getShort(int) - Method in interface smile.data.vector.LongVector
 
getShort(int) - Method in interface smile.data.vector.Vector
 
getString(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) as a String object.
getString(int, String) - Method in interface smile.data.DataFrame
Returns the field value as a String object.
getString(int) - Method in interface smile.data.Tuple
Returns the value at position i as a String object.
getString(String) - Method in interface smile.data.Tuple
Returns the field value as a String object.
getStruct(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) of struct type.
getStruct(int, String) - Method in interface smile.data.DataFrame
Returns the field value of struct type.
getStruct(int) - Method in interface smile.data.Tuple
Returns the value at position i of struct type.
getStruct(String) - Method in interface smile.data.Tuple
Returns the field value of struct type.
getTime(int, int) - Method in interface smile.data.DataFrame
Returns the value at position (i, j) of date type as java.time.LocalTime.
getTime(int, String) - Method in interface smile.data.DataFrame
Returns the field value of date type as java.time.LocalTime.
getTime(int) - Method in interface smile.data.Tuple
Returns the value at position i of date type as java.time.LocalTime.
getTime(String) - Method in interface smile.data.Tuple
Returns the field value of date type as java.time.LocalTime.

H

hasNull() - Method in interface smile.data.Tuple
Returns true if the tuple has null/missing values.

I

id() - Method in class smile.data.type.ArrayType
 
id() - Method in class smile.data.type.BooleanType
 
id() - Method in class smile.data.type.ByteType
 
id() - Method in class smile.data.type.CharType
 
id() - Method in interface smile.data.type.DataType
Returns the type ID enum.
id() - Method in class smile.data.type.DateTimeType
 
id() - Method in class smile.data.type.DateType
 
id() - Method in class smile.data.type.DecimalType
 
id() - Method in class smile.data.type.DoubleType
 
id() - Method in class smile.data.type.FloatType
 
id() - Method in class smile.data.type.IntegerType
 
id() - Method in class smile.data.type.LongType
 
id() - Method in class smile.data.type.ObjectType
 
id() - Method in class smile.data.type.ShortType
 
id() - Method in class smile.data.type.StringType
 
id() - Method in class smile.data.type.StructType
 
id() - Method in class smile.data.type.TimeType
 
IndexDataFrame - Class in smile.data
A data frame with a new index instead of the default [0, n) row index.
IndexDataFrame(DataFrame, int[]) - Constructor for class smile.data.IndexDataFrame
Constructor.
infer(String) - Static method in interface smile.data.type.DataType
Infers the type of a string.
Instance<T> - Interface in smile.data
An immutable instance.
IntegerArrayType - Static variable in class smile.data.type.DataTypes
Integer Array data type.
IntegerObjectType - Static variable in class smile.data.type.DataTypes
Integer Object data type.
IntegerType - Static variable in class smile.data.type.DataTypes
Integer data type.
IntegerType - Class in smile.data.type
Integer data type.
interact(String...) - Static method in interface smile.data.formula.Terms
Factor interaction of two or more factors.
IntervalScale - Class in smile.data.measure
The interval scale allows for the degree of difference between items, but not the ratio between them.
IntervalScale(NumberFormat) - Constructor for class smile.data.measure.IntervalScale
Constructor.
IntFunction - Class in smile.data.formula
The generic term of applying an integer function.
IntFunction(String, Term, IntFunction) - Constructor for class smile.data.formula.IntFunction
Constructor.
IntPattern - Static variable in interface smile.data.type.DataType
Regex for integer.
intVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
intVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
intVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
intVector(int) - Method in class smile.data.IndexDataFrame
 
IntVector - Interface in smile.data.vector
An immutable integer vector.
isBoolean() - Method in class smile.data.type.BooleanType
 
isBoolean() - Method in interface smile.data.type.DataType
Returns true if the type is boolean or Boolean.
isBoolean() - Method in class smile.data.type.ObjectType
 
isByte() - Method in class smile.data.type.ByteType
 
isByte() - Method in interface smile.data.type.DataType
Returns true if the type is byte or Byte.
isByte() - Method in class smile.data.type.ObjectType
 
isChar() - Method in class smile.data.type.CharType
 
isChar() - Method in interface smile.data.type.DataType
Returns true if the type is char or Char.
isChar() - Method in class smile.data.type.ObjectType
 
isDouble() - Method in interface smile.data.type.DataType
Returns true if the type is double or Double.
isDouble(DataType) - Static method in interface smile.data.type.DataType
Returns true if the given type is of double, either primitive or boxed.
isDouble() - Method in class smile.data.type.DoubleType
 
isDouble() - Method in class smile.data.type.ObjectType
 
isEmpty() - Method in interface smile.data.Dataset
Returns true if the dataset is empty.
isFloat() - Method in interface smile.data.type.DataType
Returns true if the type is float or Float.
isFloat(DataType) - Static method in interface smile.data.type.DataType
Returns true if the given type is of float, either primitive or boxed.
isFloat() - Method in class smile.data.type.FloatType
 
isFloat() - Method in class smile.data.type.ObjectType
 
isFloating() - Method in interface smile.data.type.DataType
Returns true if the type is float or double.
isInt() - Method in interface smile.data.type.DataType
Returns true if the type is int or Integer.
isInt(DataType) - Static method in interface smile.data.type.DataType
Returns true if the given type is of int, short, byte, char, either primitive or boxed.
isInt() - Method in class smile.data.type.IntegerType
 
isInt() - Method in class smile.data.type.ObjectType
 
isIntegral() - Method in interface smile.data.type.DataType
Returns true if the type is int, long, short or byte.
isLong() - Method in interface smile.data.type.DataType
Returns true if the type is long or Long.
isLong(DataType) - Static method in interface smile.data.type.DataType
Returns true if the given type is of long, either primitive or boxed.
isLong() - Method in class smile.data.type.LongType
 
isLong() - Method in class smile.data.type.ObjectType
 
isNullAt(int, int) - Method in interface smile.data.DataFrame
Checks whether the value at position (i, j) is null.
isNullAt(int, String) - Method in interface smile.data.DataFrame
Checks whether the field value is null.
isNullAt(int) - Method in interface smile.data.Tuple
Checks whether the value at position i is null.
isNullAt(String) - Method in interface smile.data.Tuple
Checks whether the field value is null.
isNullAt(int) - Method in interface smile.data.vector.Vector
Checks whether the value at position i is null.
isNumeric() - Method in interface smile.data.type.DataType
Returns true if the type is numeric (integral or floating).
isNumeric() - Method in class smile.data.type.StructField
Returns true if the field is of integer or floating but not nominal scale.
isObject() - Method in interface smile.data.type.DataType
Returns true if the type is ObjectType.
isObject() - Method in class smile.data.type.ObjectType
 
isObject() - Method in class smile.data.type.StringType
 
isPrimitive() - Method in interface smile.data.type.DataType
Returns true if this is a primitive data type.
isShort() - Method in interface smile.data.type.DataType
Returns true if the type is short or Shorter.
isShort() - Method in class smile.data.type.ObjectType
 
isShort() - Method in class smile.data.type.ShortType
 
isString() - Method in interface smile.data.type.DataType
Returns true if the type is String.
isString() - Method in class smile.data.type.StringType
 
isVariable() - Method in interface smile.data.formula.Feature
Returns true if the term represents a plain variable/column in the data frame.
iterator() - Method in class smile.data.IndexDataFrame
 

L

label() - Method in interface smile.data.Instance
Returns the class label of instance.
length() - Method in interface smile.data.BinarySparseDataset
Returns the number of nonzero entries.
length() - Method in interface smile.data.Tuple
Number of elements in the Tuple.
length() - Method in class smile.data.type.StructType
Returns the number of fields.
level(int) - Method in class smile.data.measure.CategoricalMeasure
Returns the level string representation.
levels() - Method in class smile.data.measure.CategoricalMeasure
Returns the levels.
lhs(String) - Static method in class smile.data.formula.Formula
Factory method.
lhs(Term) - Static method in class smile.data.formula.Formula
Factory method.
log(String) - Static method in interface smile.data.formula.Terms
Applies Math.log.
log(Term) - Static method in interface smile.data.formula.Terms
Applies Math.log.
log10(String) - Static method in interface smile.data.formula.Terms
Applies Math.log10.
log10(Term) - Static method in interface smile.data.formula.Terms
Applies Math.log10.
log1p(String) - Static method in interface smile.data.formula.Terms
Applies Math.log1p.
log1p(Term) - Static method in interface smile.data.formula.Terms
Applies Math.log1p.
log2(String) - Static method in interface smile.data.formula.Terms
Applies MathEx.log2.
log2(Term) - Static method in interface smile.data.formula.Terms
Applies MathEx.log2.
LongArrayType - Static variable in class smile.data.type.DataTypes
Long Array data type.
LongObjectType - Static variable in class smile.data.type.DataTypes
Long Object data type.
LongPattern - Static variable in interface smile.data.type.DataType
Regex for long.
LongType - Static variable in class smile.data.type.DataTypes
Long data type.
LongType - Class in smile.data.type
Long data type.
longVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
longVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
longVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
longVector(int) - Method in class smile.data.IndexDataFrame
 
LongVector - Interface in smile.data.vector
An immutable long vector.

M

matrix() - Static method in interface smile.data.DataFrame
Returns a stream collector that accumulates tuples into a Matrix.
matrix(DataFrame) - Method in class smile.data.formula.Formula
Returns the design matrix of predictors.
matrix(DataFrame, boolean) - Method in class smile.data.formula.Formula
Returns the design matrix of predictors.
Measure - Interface in smile.data.measure
Level of measurement or scale of measure is a classification that describes the nature of information within the values assigned to variables.
measure - Variable in class smile.data.type.StructField
Optional levels of measurements.
measure() - Method in interface smile.data.vector.BaseVector
Returns the (optional) level of measurements.
measures() - Method in interface smile.data.DataFrame
Returns the column measures.
merge(DataFrame...) - Method in interface smile.data.DataFrame
Merges data frames horizontally by columns.
merge(BaseVector...) - Method in interface smile.data.DataFrame
Merges data frames horizontally by columns.
merge(DataFrame...) - Method in class smile.data.IndexDataFrame
 
merge(BaseVector...) - Method in class smile.data.IndexDataFrame
 
Mul - Class in smile.data.formula
The term of a * b expression.
Mul(Term, Term) - Constructor for class smile.data.formula.Mul
Constructor.
mul(Term, Term) - Static method in interface smile.data.formula.Terms
Multiplies two terms.
mul(String, String) - Static method in interface smile.data.formula.Terms
Multiplies two terms.
mul(Term, String) - Static method in interface smile.data.formula.Terms
Multiplies two terms.
mul(String, Term) - Static method in interface smile.data.formula.Terms
Multiplies two terms.

N

name() - Method in interface smile.data.Instance
Return the (optional) name associated with instance.
name() - Method in class smile.data.type.ArrayType
 
name() - Method in class smile.data.type.BooleanType
 
name() - Method in class smile.data.type.ByteType
 
name() - Method in class smile.data.type.CharType
 
name() - Method in interface smile.data.type.DataType
Returns the type name used in external catalogs.
name() - Method in class smile.data.type.DateTimeType
 
name() - Method in class smile.data.type.DateType
 
name() - Method in class smile.data.type.DecimalType
 
name() - Method in class smile.data.type.DoubleType
 
name() - Method in class smile.data.type.FloatType
 
name() - Method in class smile.data.type.IntegerType
 
name() - Method in class smile.data.type.LongType
 
name() - Method in class smile.data.type.ObjectType
 
name() - Method in class smile.data.type.ShortType
 
name() - Method in class smile.data.type.StringType
 
name - Variable in class smile.data.type.StructField
Field name.
name() - Method in class smile.data.type.StructType
 
name() - Method in class smile.data.type.TimeType
 
name() - Method in interface smile.data.vector.BaseVector
Return the (optional) name associated with vector.
names() - Method in interface smile.data.DataFrame
Returns the column names.
ncols() - Method in interface smile.data.BinarySparseDataset
Returns the number of columns.
ncols() - Method in interface smile.data.DataFrame
Returns the number of columns.
ncols() - Method in class smile.data.IndexDataFrame
 
ncols() - Method in interface smile.data.SparseDataset
Returns the number of columns.
nominal() - Method in interface smile.data.vector.StringVector
Returns a nominal scale of measure based on distinct values in the vector.
NominalScale - Class in smile.data.measure
Nominal variables take on a limited number of unordered values.
NominalScale(String...) - Constructor for class smile.data.measure.NominalScale
Constructor.
NominalScale(int[], String[]) - Constructor for class smile.data.measure.NominalScale
Constructor.
NominalScale(List<String>) - Constructor for class smile.data.measure.NominalScale
Constructor.
NominalScale(Class<? extends Enum>) - Constructor for class smile.data.measure.NominalScale
Constructor.
nrows() - Method in interface smile.data.DataFrame
Returns the number of rows.
nrows() - Method in interface smile.data.SparseDataset
Returns the number of rows.
NumericalMeasure - Class in smile.data.measure
Numerical data, also called quantitative data.
NumericalMeasure(NumberFormat) - Constructor for class smile.data.measure.NumericalMeasure
Constructor.
nz() - Method in interface smile.data.SparseDataset
Returns the number of nonzero entries.
nz(int) - Method in interface smile.data.SparseDataset
Returns the number of nonzero entries in column j.

O

object(Class) - Static method in class smile.data.type.DataTypes
Creates an object data type of a given class.
ObjectType - Static variable in class smile.data.type.DataTypes
Plain Object data type.
ObjectType - Class in smile.data.type
Object data type.
of(Collection<int[]>) - Static method in interface smile.data.BinarySparseDataset
Returns a default implementation of BinarySparseDataset from a collection.
of(int...) - Method in interface smile.data.DataFrame
Returns a new data frame with row indexing.
of(boolean...) - Method in interface smile.data.DataFrame
Returns a new data frame with boolean indexing.
of(BaseVector...) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a set of vectors.
of(double[][], String...) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a 2-dimensional array.
of(float[][], String...) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a 2-dimensional array.
of(int[][], String...) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a 2-dimensional array.
of(List<T>, Class<T>) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a collection.
of(Stream<? extends Tuple>) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a stream of tuples.
of(Stream<? extends Tuple>, StructType) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a stream of tuples.
of(List<? extends Tuple>) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a set of tuples.
of(List<? extends Tuple>, StructType) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a set of tuples.
of(Collection<Map<String, T>>, StructType) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a set of Maps.
of(ResultSet) - Static method in interface smile.data.DataFrame
Creates a DataFrame from a JDBC ResultSet.
of(Collection<T>) - Static method in interface smile.data.Dataset
Returns a default implementation of Dataset from a collection.
of(String, String...) - Static method in class smile.data.formula.Formula
Factory method.
of(String, Term...) - Static method in class smile.data.formula.Formula
Factory method.
of(Term, Term...) - Static method in class smile.data.formula.Formula
Factory method.
of(String, String, ToIntFunction<T>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variable.
of(String, Term, ToIntFunction<T>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given term.
of(String, String, ToLongFunction<T>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variable.
of(String, Term, ToLongFunction<T>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given term.
of(String, String, ToDoubleFunction<T>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variable.
of(String, Term, ToDoubleFunction<T>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given term.
of(String, String, Class<R>, Function) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variable.
of(String, Term, Class<R>, Function) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given term.
of(String, String, String, ToIntBiFunction<T, U>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variables.
of(String, Term, Term, ToIntBiFunction<T, U>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given terms.
of(String, String, String, ToLongBiFunction<T, U>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variables.
of(String, Term, Term, ToLongBiFunction<T, U>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given terms.
of(String, String, String, ToDoubleBiFunction<T, U>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variables.
of(String, Term, Term, ToDoubleBiFunction<T, U>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given terms.
of(String, String, String, Class<R>, BiFunction<T, U, R>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given variables.
of(String, Term, Term, Class<R>, BiFunction<T, U, R>) - Static method in interface smile.data.formula.Terms
Returns a term that applies a lambda on given terms.
of(Stream<SparseArray>) - Static method in interface smile.data.SparseDataset
Returns a default implementation of SparseDataset from a collection.
of(Collection<SparseArray>) - Static method in interface smile.data.SparseDataset
Returns a default implementation of SparseDataset from a collection.
of(Collection<SparseArray>, int) - Static method in interface smile.data.SparseDataset
Returns a default implementation of SparseDataset from a collection.
of(Dataset<Instance<SparseArray>>) - Static method in interface smile.data.SparseDataset
Strips the response variable and returns a SparseDataset.
of(Object[], StructType) - Static method in interface smile.data.Tuple
Returns an object array based tuple.
of(double[], StructType) - Static method in interface smile.data.Tuple
Returns a double array based tuple.
of(ResultSet, StructType) - Static method in interface smile.data.Tuple
Returns the current row of a JDBC ResultSet as a tuple.
of(String) - Static method in interface smile.data.type.DataType
Returns a DataType from its string representation.
of(Class) - Static method in interface smile.data.type.DataType
Returns the DataType of a class.
of(JDBCType, boolean, String) - Static method in interface smile.data.type.DataType
Returns the DataType of a JDBC type.
of(String, boolean[]) - Static method in interface smile.data.vector.BooleanVector
Creates a named boolean vector.
of(StructField, boolean[]) - Static method in interface smile.data.vector.BooleanVector
Creates a named boolean vector.
of(String, byte[]) - Static method in interface smile.data.vector.ByteVector
Creates a named byte vector.
of(StructField, byte[]) - Static method in interface smile.data.vector.ByteVector
Creates a named byte vector.
of(String, char[]) - Static method in interface smile.data.vector.CharVector
Creates a named char vector.
of(StructField, char[]) - Static method in interface smile.data.vector.CharVector
Creates a named char vector.
of(String, double[]) - Static method in interface smile.data.vector.DoubleVector
Creates a named double vector.
of(String, DoubleStream) - Static method in interface smile.data.vector.DoubleVector
Creates a named double vector.
of(StructField, double[]) - Static method in interface smile.data.vector.DoubleVector
Creates a named double vector.
of(StructField, DoubleStream) - Static method in interface smile.data.vector.DoubleVector
Creates a named double vector.
of(String, float[]) - Static method in interface smile.data.vector.FloatVector
Creates a named float vector.
of(StructField, float[]) - Static method in interface smile.data.vector.FloatVector
Creates a named float vector.
of(String, int[]) - Static method in interface smile.data.vector.IntVector
Creates a named integer vector.
of(String, IntStream) - Static method in interface smile.data.vector.IntVector
Creates a named integer vector.
of(StructField, int[]) - Static method in interface smile.data.vector.IntVector
Creates a named integer vector.
of(StructField, IntStream) - Static method in interface smile.data.vector.IntVector
Creates a named integer vector.
of(String, long[]) - Static method in interface smile.data.vector.LongVector
Creates a named long vector.
of(String, LongStream) - Static method in interface smile.data.vector.LongVector
Creates a named long integer vector.
of(StructField, long[]) - Static method in interface smile.data.vector.LongVector
Creates a named long integer vector.
of(StructField, LongStream) - Static method in interface smile.data.vector.LongVector
Creates a named long integer vector.
of(String, short[]) - Static method in interface smile.data.vector.ShortVector
Creates a named short integer vector.
of(StructField, short[]) - Static method in interface smile.data.vector.ShortVector
Creates a named short integer vector.
of(String, String...) - Static method in interface smile.data.vector.StringVector
Creates a named string vector.
of(StructField, String...) - Static method in interface smile.data.vector.StringVector
Creates a named string vector.
of(String, Class, T[]) - Static method in interface smile.data.vector.Vector
Creates a named vector.
of(String, DataType, T[]) - Static method in interface smile.data.vector.Vector
Creates a named vector.
of(StructField, T[]) - Static method in interface smile.data.vector.Vector
Creates a named vector.
omitNullRows() - Method in interface smile.data.DataFrame
Returns a new data frame without rows that have null/missing values.
Operator - Class in smile.data.formula
The infix bifunction term.
Operator(String, Term, Term) - Constructor for class smile.data.formula.Operator
Constructor.
OrdinalScale - Class in smile.data.measure
The ordinal type allows for rank order (1st, 2nd, 3rd, etc.) by which data can be sorted, but still does not allow for relative degree of difference between them.
OrdinalScale(String...) - Constructor for class smile.data.measure.OrdinalScale
Constructor.
OrdinalScale(int[], String[]) - Constructor for class smile.data.measure.OrdinalScale
Constructor.
OrdinalScale(List<String>) - Constructor for class smile.data.measure.OrdinalScale
Constructor.
OrdinalScale(Class<? extends Enum>) - Constructor for class smile.data.measure.OrdinalScale
Constructor.

P

parser() - Method in class smile.data.type.StructType
Returns the lambda functions that parse field values.
Percent - Static variable in interface smile.data.measure.Measure
Percent.
predictors() - Method in class smile.data.formula.Formula
Returns the predictors.
prompt(DataType, DataType) - Static method in interface smile.data.type.DataType
Type promotion when apply to expressions.

R

RatioScale - Class in smile.data.measure
The ratio scale allows for both difference and ratio of two values.
RatioScale(NumberFormat) - Constructor for class smile.data.measure.RatioScale
Constructor.
response() - Method in class smile.data.formula.Formula
Returns the response term.
rhs(String...) - Static method in class smile.data.formula.Formula
Factory method.
rhs(Term...) - Static method in class smile.data.formula.Formula
Factory method.
rint(String) - Static method in interface smile.data.formula.Terms
Applies Math.rint.
rint(Term) - Static method in interface smile.data.formula.Terms
Applies Math.rint.
round(String) - Static method in interface smile.data.formula.Terms
Applies Math.round.
round(Term) - Static method in interface smile.data.formula.Terms
Applies Math.round.

S

schema() - Method in interface smile.data.DataFrame
Returns the schema of DataFrame.
schema() - Method in class smile.data.IndexDataFrame
 
schema() - Method in interface smile.data.Tuple
Returns the schema of tuple.
select(int...) - Method in interface smile.data.DataFrame
Selects a new DataFrame with given column indices.
select(String...) - Method in interface smile.data.DataFrame
Selects a new DataFrame with given column names.
select(int...) - Method in class smile.data.IndexDataFrame
 
ShortArrayType - Static variable in class smile.data.type.DataTypes
Short Array data type.
ShortObjectType - Static variable in class smile.data.type.DataTypes
Short Object data type.
ShortType - Static variable in class smile.data.type.DataTypes
Short data type.
ShortType - Class in smile.data.type
Short data type.
shortVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
shortVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
shortVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
shortVector(int) - Method in class smile.data.IndexDataFrame
 
ShortVector - Interface in smile.data.vector
An immutable short vector.
sign(String) - Static method in interface smile.data.formula.Terms
Applies Integer.signum.
sign(Term) - Static method in interface smile.data.formula.Terms
Applies Integer.signum.
signum(String) - Static method in interface smile.data.formula.Terms
Applies Math.signum.
signum(Term) - Static method in interface smile.data.formula.Terms
Applies Math.signum.
sin(String) - Static method in interface smile.data.formula.Terms
Applies Math.sin.
sin(Term) - Static method in interface smile.data.formula.Terms
Applies Math.sin.
sinh(String) - Static method in interface smile.data.formula.Terms
Applies Math.sinh.
sinh(Term) - Static method in interface smile.data.formula.Terms
Applies Math.sinh.
size() - Method in interface smile.data.Dataset
Returns the number of elements in this collection.
size() - Method in class smile.data.formula.FactorInteraction
Returns the number of factors in the interaction.
size() - Method in class smile.data.IndexDataFrame
 
size() - Method in class smile.data.measure.CategoricalMeasure
Returns the number of levels.
size() - Method in interface smile.data.vector.BaseVector
Number of elements in the vector.
slice(int, int) - Method in interface smile.data.DataFrame
Copies the specified range into a new data frame.
smile.data - package smile.data
Data and attribute encapsulation classes.
smile.data.formula - package smile.data.formula
The formula interface symbolically specifies the predictors and the response.
smile.data.measure - package smile.data.measure
Level of measurement or scale of measure.
smile.data.type - package smile.data.type
Data types.
smile.data.vector - package smile.data.vector
Immutable named vectors.
SparseDataset - Interface in smile.data
List of Lists sparse matrix format.
sqrt(String) - Static method in interface smile.data.formula.Terms
Applies Math.sqrt.
sqrt(Term) - Static method in interface smile.data.formula.Terms
Applies Math.sqrt.
stream() - Method in interface smile.data.Dataset
Returns a (possibly parallel) Stream with this collection as its source.
stream() - Method in class smile.data.IndexDataFrame
 
stream() - Method in interface smile.data.vector.BaseVector
Returns a (possibly parallel) Stream with this vector as its source.
StringType - Static variable in class smile.data.type.DataTypes
String data type.
StringType - Class in smile.data.type
String data type.
stringVector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
stringVector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
stringVector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
stringVector(int) - Method in class smile.data.IndexDataFrame
 
StringVector - Interface in smile.data.vector
An immutable string vector.
struct(StructField...) - Static method in class smile.data.type.DataTypes
Creates a struct data type.
struct(List<StructField>) - Static method in class smile.data.type.DataTypes
Creates a struct data type.
struct(ResultSet) - Static method in class smile.data.type.DataTypes
Creates a struct data type from JDBC result set meta data.
struct(ResultSetMetaData, String) - Static method in class smile.data.type.DataTypes
Creates a struct data type from JDBC result set meta data.
StructField - Class in smile.data.type
A field in a Struct data type.
StructField(String, DataType) - Constructor for class smile.data.type.StructField
Constructor.
StructField(String, DataType, Measure) - Constructor for class smile.data.type.StructField
Constructor.
StructType - Class in smile.data.type
Struct data type is determined by the fixed order of the fields of primitive data types in the struct.
StructType(List<StructField>) - Constructor for class smile.data.type.StructType
Constructor.
StructType(StructField...) - Constructor for class smile.data.type.StructType
Constructor.
structure() - Method in interface smile.data.DataFrame
Returns the structure of data frame.
Sub - Class in smile.data.formula
The term of a - b expression.
Sub(Term, Term) - Constructor for class smile.data.formula.Sub
Constructor.
sub(Term, Term) - Static method in interface smile.data.formula.Terms
Subtracts two terms.
sub(String, String) - Static method in interface smile.data.formula.Terms
Subtracts two terms.
sub(Term, String) - Static method in interface smile.data.formula.Terms
Subtracts two terms.
sub(String, Term) - Static method in interface smile.data.formula.Terms
Subtracts two terms.
summary() - Method in interface smile.data.DataFrame
Returns the statistic summary of numeric columns.

T

tan(String) - Static method in interface smile.data.formula.Terms
Applies Math.tan.
tan(Term) - Static method in interface smile.data.formula.Terms
Applies Math.tan.
tanh(String) - Static method in interface smile.data.formula.Terms
Applies Math.tanh.
tanh(Term) - Static method in interface smile.data.formula.Terms
Applies Math.tanh.
Term - Interface in smile.data.formula
An abstract term in the formula.
Terms - Interface in smile.data.formula
Predefined terms.
time(String) - Static method in class smile.data.type.DataTypes
ime data type with customized format.
TimePattern - Static variable in interface smile.data.type.DataType
Regex for time.
TimeType - Static variable in class smile.data.type.DataTypes
Time data type with ISO format.
TimeType - Class in smile.data.type
Time data type.
TimeType(String) - Constructor for class smile.data.type.TimeType
Constructor.
toArray() - Method in interface smile.data.DataFrame
Return an array obtained by converting all the variables in a data frame to numeric mode and then binding them together as the columns of a matrix.
toArray(boolean, CategoricalEncoder) - Method in interface smile.data.DataFrame
Return an array obtained by converting all the variables in a data frame to numeric mode and then binding them together as the columns of a matrix.
toArray() - Method in interface smile.data.Tuple
Returns the tuple as an array of doubles.
toArray(boolean, CategoricalEncoder) - Method in interface smile.data.Tuple
Return an array obtained by converting all the variables in a data frame to numeric mode.
toArray() - Method in interface smile.data.vector.Vector
Returns the array of elements.
toDataset() - Static method in interface smile.data.Dataset
Returns a stream collector that accumulates elements into a Dataset.
toDate(String) - Method in interface smile.data.vector.StringVector
Returns a vector of LocalDate.
toDate(DateTimeFormatter) - Method in interface smile.data.vector.StringVector
Returns a vector of LocalDate.
toDate() - Method in interface smile.data.vector.Vector
Returns a vector of LocalDate.
toDateTime(String) - Method in interface smile.data.vector.StringVector
Returns a vector of LocalDateTime.
toDateTime(DateTimeFormatter) - Method in interface smile.data.vector.StringVector
Returns a vector of LocalDateTime.
toDateTime() - Method in interface smile.data.vector.Vector
Returns a vector of LocalDateTime.
toDoubleArray() - Method in interface smile.data.vector.BaseVector
Returns a double array of this vector.
toDoubleArray(double[]) - Method in interface smile.data.vector.BaseVector
Copies the vector value as double to the given array.
toIntArray() - Method in interface smile.data.vector.BaseVector
Returns an integer array of this vector.
toIntArray(int[]) - Method in interface smile.data.vector.BaseVector
Copies the vector value as int to the given array.
toMatrix() - Method in interface smile.data.BinarySparseDataset
Returns the Harwell-Boeing column-compressed sparse matrix.
toMatrix() - Method in interface smile.data.DataFrame
Return a matrix obtained by converting all the variables in a data frame to numeric mode and then binding them together as the columns of a matrix.
toMatrix(boolean, CategoricalEncoder, String) - Method in interface smile.data.DataFrame
Return a matrix obtained by converting all the variables in a data frame to numeric mode and then binding them together as the columns of a matrix.
toMatrix() - Static method in interface smile.data.Dataset
Returns a stream collector that accumulates elements into a Matrix.
toMatrix() - Method in interface smile.data.SparseDataset
Convert into Harwell-Boeing column-compressed sparse matrix format.
toString() - Method in class smile.data.AbstractTuple
 
toString(int, int) - Method in interface smile.data.DataFrame
Returns the string representation of the value at position (i, j).
toString(int, String) - Method in interface smile.data.DataFrame
Returns the string representation of the field value.
toString(int) - Method in interface smile.data.DataFrame
Returns the string representation of top rows.
toString(int, boolean) - Method in interface smile.data.DataFrame
Returns the string representation of top rows.
toString(int) - Method in interface smile.data.Dataset
Returns the string representation of the row.
toString() - Method in class smile.data.formula.AbstractBiFunction
 
toString() - Method in class smile.data.formula.AbstractFunction
 
toString() - Method in class smile.data.formula.Date
 
toString() - Method in class smile.data.formula.FactorInteraction
 
toString() - Method in class smile.data.formula.Formula
 
toString() - Method in class smile.data.formula.Operator
 
toString() - Method in class smile.data.IndexDataFrame
 
toString(int) - Method in class smile.data.measure.CategoricalMeasure
Returns the string value of a level.
toString(Object) - Method in class smile.data.measure.CategoricalMeasure
 
toString() - Method in class smile.data.measure.IntervalScale
 
toString(Object) - Method in interface smile.data.measure.Measure
Returns the string representation of a value of the measure.
toString() - Method in class smile.data.measure.NominalScale
 
toString(Object) - Method in class smile.data.measure.NumericalMeasure
 
toString() - Method in class smile.data.measure.OrdinalScale
 
toString() - Method in class smile.data.measure.RatioScale
 
toString(int) - Method in interface smile.data.Tuple
Returns the string representation of the value at position i.
toString(String) - Method in interface smile.data.Tuple
Returns the string representation of the field value.
toString() - Method in class smile.data.type.ArrayType
 
toString(Object) - Method in class smile.data.type.ArrayType
 
toString() - Method in class smile.data.type.BooleanType
 
toString() - Method in class smile.data.type.ByteType
 
toString() - Method in class smile.data.type.CharType
 
toString(Object) - Method in interface smile.data.type.DataType
Returns the string representation of a value of the type.
toString() - Method in class smile.data.type.DateTimeType
 
toString(Object) - Method in class smile.data.type.DateTimeType
 
toString() - Method in class smile.data.type.DateType
 
toString(Object) - Method in class smile.data.type.DateType
 
toString() - Method in class smile.data.type.DecimalType
 
toString() - Method in class smile.data.type.DoubleType
 
toString(Object) - Method in class smile.data.type.DoubleType
 
toString() - Method in class smile.data.type.FloatType
 
toString(Object) - Method in class smile.data.type.FloatType
 
toString() - Method in class smile.data.type.IntegerType
 
toString() - Method in class smile.data.type.LongType
 
toString() - Method in class smile.data.type.ObjectType
 
toString(Object) - Method in class smile.data.type.ObjectType
 
toString() - Method in class smile.data.type.ShortType
 
toString() - Method in class smile.data.type.StringType
 
toString() - Method in class smile.data.type.StructField
 
toString(Object) - Method in class smile.data.type.StructField
Returns the string representation of the field with given value.
toString() - Method in class smile.data.type.StructType
 
toString(Object) - Method in class smile.data.type.StructType
 
toString() - Method in class smile.data.type.TimeType
 
toString(Object) - Method in class smile.data.type.TimeType
 
toString(int) - Method in interface smile.data.vector.BooleanVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.ByteVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.CharVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.DoubleVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.FloatVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.IntVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.LongVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.ShortVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.StringVector
Returns the string representation of vector.
toString(int) - Method in interface smile.data.vector.Vector
Returns the string representation of vector.
toStringArray() - Method in interface smile.data.vector.BaseVector
Returns a string array of this vector.
toStringArray(String[]) - Method in interface smile.data.vector.BaseVector
Copies the vector value as string to the given array.
toStrings(int) - Method in interface smile.data.DataFrame
Returns the string representation of top rows.
toStrings(int, boolean) - Method in interface smile.data.DataFrame
Returns the string representation of top rows.
toTime(String) - Method in interface smile.data.vector.StringVector
Returns a vector of LocalTime.
toTime(DateTimeFormatter) - Method in interface smile.data.vector.StringVector
Returns a vector of LocalDate.
toTime() - Method in interface smile.data.vector.Vector
Returns a vector of LocalTime.
Tuple - Interface in smile.data
A tuple is an immutable finite ordered list (sequence) of elements.
type() - Method in class smile.data.measure.CategoricalMeasure
Returns the data type that is suitable for this measure scale.
type - Variable in class smile.data.type.StructField
Field data type.
type() - Method in interface smile.data.vector.BaseVector
Returns the element type.
type() - Method in interface smile.data.vector.BooleanVector
 
type() - Method in interface smile.data.vector.ByteVector
 
type() - Method in interface smile.data.vector.CharVector
 
type() - Method in interface smile.data.vector.DoubleVector
 
type() - Method in interface smile.data.vector.FloatVector
 
type() - Method in interface smile.data.vector.IntVector
 
type() - Method in interface smile.data.vector.LongVector
 
type() - Method in interface smile.data.vector.ShortVector
 
types() - Method in interface smile.data.DataFrame
Returns the column types.

U

ulp(String) - Static method in interface smile.data.formula.Terms
Applies Math.ulp.
ulp(Term) - Static method in interface smile.data.formula.Terms
Applies Math.ulp.
unboxed() - Method in interface smile.data.type.DataType
Returns the unboxed data type if this is a boxed primitive type.
unboxed() - Method in class smile.data.type.StructType
Updates the field type to the primitive one.
union(DataFrame...) - Method in interface smile.data.DataFrame
Merges data frames vertically by rows.
union(DataFrame...) - Method in class smile.data.IndexDataFrame
 
unitize() - Method in interface smile.data.SparseDataset
Unitize each row so that L2 norm of x = 1.
unitize1() - Method in interface smile.data.SparseDataset
Unitize each row so that L1 norm of x is 1.

V

val(boolean) - Static method in interface smile.data.formula.Terms
Returns a constant boolean term.
val(char) - Static method in interface smile.data.formula.Terms
Returns a constant char term.
val(byte) - Static method in interface smile.data.formula.Terms
Returns a constant byte term.
val(short) - Static method in interface smile.data.formula.Terms
Returns a constant short term.
val(int) - Static method in interface smile.data.formula.Terms
Returns a constant integer term.
val(long) - Static method in interface smile.data.formula.Terms
Returns a constant long term.
val(float) - Static method in interface smile.data.formula.Terms
Returns a constant float term.
val(double) - Static method in interface smile.data.formula.Terms
Returns a constant double term.
val(Object) - Static method in interface smile.data.formula.Terms
Returns a constant object term.
valueOf(String) - Static method in enum smile.data.CategoricalEncoder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum smile.data.formula.DateFeature
Returns the enum constant of this type with the specified name.
valueOf(String) - Method in class smile.data.measure.CategoricalMeasure
 
valueOf(String) - Method in interface smile.data.measure.Measure
Returns a measurement value object represented by the argument string s.
valueOf(String) - Method in class smile.data.measure.NumericalMeasure
 
valueOf(String) - Method in class smile.data.type.ArrayType
 
valueOf(String) - Method in class smile.data.type.BooleanType
 
valueOf(String) - Method in class smile.data.type.ByteType
 
valueOf(String) - Method in class smile.data.type.CharType
 
valueOf(String) - Static method in enum smile.data.type.DataType.ID
Returns the enum constant of this type with the specified name.
valueOf(String) - Method in interface smile.data.type.DataType
Returns the value from its string representation.
valueOf(String) - Method in class smile.data.type.DateTimeType
 
valueOf(String) - Method in class smile.data.type.DateType
 
valueOf(String) - Method in class smile.data.type.DecimalType
 
valueOf(String) - Method in class smile.data.type.DoubleType
 
valueOf(String) - Method in class smile.data.type.FloatType
 
valueOf(String) - Method in class smile.data.type.IntegerType
 
valueOf(String) - Method in class smile.data.type.LongType
 
valueOf(String) - Method in class smile.data.type.ObjectType
 
valueOf(String) - Method in class smile.data.type.ShortType
 
valueOf(String) - Method in class smile.data.type.StringType
 
valueOf(String) - Method in class smile.data.type.StructField
Returns the string representation of the field with given value.
valueOf(String) - Method in class smile.data.type.StructType
 
valueOf(String) - Method in class smile.data.type.TimeType
 
values() - Static method in enum smile.data.CategoricalEncoder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum smile.data.formula.DateFeature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class smile.data.measure.CategoricalMeasure
Returns the valid value set.
values() - Static method in enum smile.data.type.DataType.ID
Returns an array containing the constants of this enum type, in the order they are declared.
variables() - Method in class smile.data.formula.AbstractBiFunction
 
variables() - Method in class smile.data.formula.AbstractFunction
 
variables() - Method in class smile.data.formula.Constant
 
variables() - Method in class smile.data.formula.Date
 
variables() - Method in class smile.data.formula.FactorInteraction
 
variables() - Method in interface smile.data.formula.Term
Returns the list of variables used in this term.
vector(int) - Method in interface smile.data.DataFrame
Selects column based on the column index.
vector(String) - Method in interface smile.data.DataFrame
Selects column based on the column name.
vector(Enum<?>) - Method in interface smile.data.DataFrame
Selects column using an enum value.
vector(int) - Method in class smile.data.IndexDataFrame
 
Vector<T> - Interface in smile.data.vector
An immutable generic vector.

W

weight() - Method in interface smile.data.Instance
Return the (optional) weight associated with instance.

X

x(Tuple) - Method in class smile.data.formula.Formula
Apply the formula on a tuple to generate the predictors data.
x(DataFrame) - Method in class smile.data.formula.Formula
Returns a data frame of predictors.
x() - Method in interface smile.data.Instance
Returns the instance.

Y

y(DataFrame) - Method in class smile.data.formula.Formula
Returns the response vector.
y(Tuple) - Method in class smile.data.formula.Formula
Returns the real-valued response value.
y() - Method in interface smile.data.Instance
Returns the response variable of instance.
yint(Tuple) - Method in class smile.data.formula.Formula
Returns the integer-valued response value.
$ A B C D E F G H I L M N O P R S T U V W X Y 
Skip navigation links