This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
List<ValueVector> columns — the actual data, one vector per column
DataFrame has columns
Holds
Read Oct 3
RowIndex index — optional row labels (may be null)
DataFrame has index
Holds
Read Oct 3
describe() returns a new DataFrame with one row per column and columns: column, type, measure, count (non-null), mode, mean, std, min, 25%, 50%, 75%, max.
DataFrame has a describe method
Holds
Read Oct 3
sort() returns a new DataFrame with all rows reordered.
DataFrame has a sort method
Holds
Read Oct 3
If either frame has no RowIndex, falls back to merge().
DataFrame has a merge method
Holds
Read Oct 3
factorize() converts String columns into IntVector columns annotated with a NominalScale.
DataFrame has a factorize method
Holds
Read Oct 3
Both toArray() and toMatrix() convert the DataFrame to a dense numeric representation with optional bias (intercept) column and categorical encoding.
DataFrame has a toArray method
Holds
Read Oct 3
Both toArray() and toMatrix() convert the DataFrame to a dense numeric representation with optional bias (intercept) column and categorical encoding.
DataFrame has a toMatrix method
Holds
Read Oct 3
toString(from, to, truncate):
DataFrame has a toString method
Holds
Read Oct 3
JDBC types are mapped to SMILE types via StructType.of(ResultSetMetaData).
StructType has an of method
Holds
Read Oct 3
Enum value LEVEL, Meaning Integer level code (default), Output columns per category 1 — raw code value
CategoricalEncoder has LEVEL
Holds
Read Oct 3
Enum value DUMMY, Meaning Dummy / treatment encoding, Output columns per category k−1 binary columns (reference = first level)
CategoricalEncoder has DUMMY
Holds
Read Oct 3
Enum value ONE_HOT, Meaning Full one-hot encoding, Output columns per category k binary columns
CategoricalEncoder has ONE_HOT
Holds
Read Oct 3
Method new DataFrame(ValueVector...), Description Construct from column vectors Method new DataFrame(RowIndex, ValueVector...), Description With row index
DataFrame has a DataFrame method
Holds
Read Oct 3
Method DataFrame.of(double[][], String...), Description From 2-D double array
DataFrame has an of method
Holds
Read Oct 3
Method new StructType(StructField...), Description Construct from fields
StructType has a StructType method
Holds
Read Oct 3
Method field(int) / field(String), Description Get field by ordinal or name
StructType has a field method
Holds
Read Oct 3
Method indexOf(String), Description Ordinal of named field
StructType has an indexOf method
Holds
Read Oct 3
Method length(), Description Number of fields
StructType has a length method
Holds
Read Oct 3
Method names() / dtypes() / measures(), Description Field property arrays
StructType has a names method
Holds
Read Oct 3
Method names() / dtypes() / measures(), Description Field property arrays
StructType has a dtypes method
Holds
Read Oct 3
Method names() / dtypes() / measures(), Description Field property arrays
StructType has a measures method
Holds
Read Oct 3
Method add(StructField), Description Append a field (mutable)
StructType has an add method
Holds
Read Oct 3
Method rename(String, String), Description Rename a field (mutable)
StructType has a rename method
Holds
Read Oct 3
Constructor / method new StructField(name, dtype), Description Without measure Constructor / method new StructField(name, dtype, measure), Description With measure
Read.libsvm returns a SparseDataset<Integer> (not a DataFrame):
Read has libsvm
Holds
Read Oct 3
Write is a static-method interface;
Write is a contract
Holds
Read Oct 3
Method Write.csv(DataFrame, Path), Description CSV with default format Method Write.csv(DataFrame, Path, CSVFormat), Description CSV with explicit format
Method Write.arff(DataFrame, Path, String), Description ARFF with relation name
Write has an arff method
Holds
Read Oct 3
Method Write.object(Serializable), Description Serialize to a temp file (auto-deleted) Method Write.object(Serializable, Path), Description Serialize to a specific file
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
ShepardInterpolation has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
ShepardInterpolation1D has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
ShepardInterpolation2D has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
RBFInterpolation has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
RBFInterpolation1D has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
RBFInterpolation2D has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
KrigingInterpolation has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
KrigingInterpolation1D has an interpolate method
Holds
Read Oct 3
They all implement the interpolate(double... x) pattern (variadic double[] input) rather than a fixed-arity 2-D call.
KrigingInterpolation2D has an interpolate method
Holds
Read Oct 3
**Available radial basis functions** (all in smile.math.rbf): Class GaussianRadialBasis, Formula φ(r) exp(−r²/2r₀²), Properties SPD Gram → Cholesky sensitive to scale r₀
GaussianRadialBasis is in smile.math.rbf
Holds
Read Oct 3
Variograms are used by KrigingInterpolation to model spatial dependence. All variograms implement Variogram (which extends smile.util.function.Function) via double f(double r).
KrigingInterpolation depends on Variogram
Holds
Read Oct 3
All variograms implement Variogram (which extends smile.util.function.Function) via double f(double r).
Variogram has a f method
Holds
Read Oct 3
All variograms implement Variogram (which extends smile.util.function.Function) via double f(double r).
ExponentialVariogram implements Variogram
Holds
Read Oct 3
All variograms implement Variogram (which extends smile.util.function.Function) via double f(double r).
GaussianVariogram implements Variogram
Holds
Read Oct 3
All variograms implement Variogram (which extends smile.util.function.Function) via double f(double r).
PowerVariogram implements Variogram
Holds
Read Oct 3
All variograms implement Variogram (which extends smile.util.function.Function) via double f(double r).
SphericalVariogram implements Variogram
Holds
Read Oct 3
Strongly-typed column vectors (IntVector, DoubleVector, StringVector, …) live in smile.data.vector.
IntVector is in smile.data.vector
Holds
Read Oct 3
Strongly-typed column vectors (IntVector, DoubleVector, StringVector, …) live in smile.data.vector.
DoubleVector is in smile.data.vector
Holds
Read Oct 3
Strongly-typed column vectors (IntVector, DoubleVector, StringVector, …) live in smile.data.vector.
StringVector is in smile.data.vector
Holds
Read Oct 3
A rich collection of distance and similarity metrics implementing the Distance<T> interface: Metric Euclidean, Class EuclideanDistance
EuclideanDistance implements Distance
Holds
Read Oct 3
Vector is a specialized DenseMatrix with either one row or one column.
Vector extends DenseMatrix
Holds
Read Oct 3
Its subclasses DenseMatrix64 (Float64) and DenseMatrix32 (Float32) store data in column-major off-heap MemorySegment with a cache-optimised leading dimension.
DenseMatrix64 extends DenseMatrix
Holds
Read Oct 3
Its subclasses DenseMatrix64 (Float64) and DenseMatrix32 (Float32) store data in column-major off-heap MemorySegment with a cache-optimised leading dimension.
DenseMatrix32 extends DenseMatrix
Holds
Read Oct 3
DenseMatrix implements java.io.Serializable.
DenseMatrix uses java.io.Serializable
Holds
Read Oct 3
Method int numClasses(), Description Number of distinct classes
Classifier has a numClasses method
Holds
Read Oct 3
Method int numClasses(), Description Number of distinct classes
Classifier has a classes method
Holds
Read Oct 3
Method int predict(T x), Description Hard prediction — returns the predicted class label
Method boolean isSoft(), Description true if predict(T, double[]) is available
Classifier has an isSoft method
Holds
Read Oct 3
Method boolean isOnline(), Description true if update(T, int) is available
Classifier has an isOnline method
Holds
Read Oct 3
Method void update(T x, int y), Description Online learning — update the model with a single new labelled sample
Classifier has an update method
Holds
Read Oct 3
Method int applyAsInt(T x), Description Alias for predict satisfies ToIntFunction<T>
Classifier has an applyAsInt method
Holds
Read Oct 3
Method double applyAsDouble(T x), Description Alias for score satisfies ToDoubleFunction<T>
Classifier has an applyAsDouble method
Holds
Read Oct 3
It stores the IntSet classes label encoder and provides default implementations of numClasses() and classes().
AbstractClassifier has classes
Holds
Read Oct 3
It stores the IntSet classes label encoder and provides default implementations of numClasses() and classes().
AbstractClassifier has a numClasses method
Holds
Read Oct 3
It stores the IntSet classes label encoder and provides default implementations of numClasses() and classes().
AbstractClassifier has a classes method
Holds
Read Oct 3
An extension of Classifier<Tuple> for models that are trained on DataFrame objects via a Formula.
DataFrameClassifier extends Classifier
Holds
Read Oct 3
Method Formula formula(), Description The formula used at training time
DataFrameClassifier has a formula method
Holds
Read Oct 3
Method StructType schema(), Description The schema of the feature columns
DataFrameClassifier has a schema method
Holds
Read Oct 3
Method int predict(Tuple x), Description Predicts using a named-column Tuple
DataFrameClassifier has a predict method
Holds
Read Oct 3
All tree-based models (DecisionTree, RandomForest, AdaBoost, GradientTreeBoost) implement DataFrameClassifier.
DecisionTree implements DataFrameClassifier
Holds
Read Oct 3
All tree-based models (DecisionTree, RandomForest, AdaBoost, GradientTreeBoost) implement DataFrameClassifier.
AdaBoost implements DataFrameClassifier
Holds
Read Oct 3
The static DataFrameClassifier.of(formula, classifier) helper adapts any Classifier<double[]> into a DataFrameClassifier, applying the formula's feature extraction automatically.
DataFrameClassifier has an of method
Holds
Read Oct 3
A utility record that maps arbitrary integer class labels to the contiguous range [0, k) required by internal array indexing.
ClassLabels is a concrete implementation
Holds
Read Oct 3
Field k, Type int, Description Number of classes
ClassLabels has a k field
Holds
Read Oct 3
Field classes, Type IntSet, Description Encoder classes.indexOf(label) → index, classes.valueOf(index) → label
ClassLabels has a classes field
Holds
Read Oct 3
Field y, Type int[], Description The original label array remapped to [0, k)
ClassLabels has a y field
Holds
Read Oct 3
Field ni, Type int[], Description Per-class sample counts
ClassLabels has a ni field
Holds
Read Oct 3
Field priori, Type double[], Description Estimated prior probabilities ni[i] / n
ClassLabels has a priori field
Holds
Read Oct 3
PlattScaling is used internally by OneVersusRest.fit and OneVersusOne.fit when the base classifier supports score().
OneVersusRest depends on PlattScaling
Holds
Read Oct 3
PlattScaling is used internally by OneVersusRest.fit and OneVersusOne.fit when the base classifier supports score().
OneVersusOne depends on PlattScaling
Holds
Read Oct 3
LogisticRegression, RandomForest, GradientTreeBoost, AdaBoost, DecisionTree, MLP, and Maxent all expose a fit(…, Properties) overload and a nested Options record with toProperties() / of(Properties) for round-tripping:
LogisticRegression has a fit method
Holds
Read Oct 3
LogisticRegression, RandomForest, GradientTreeBoost, AdaBoost, DecisionTree, MLP, and Maxent all expose a fit(…, Properties) overload and a nested Options record with toProperties() / of(Properties) for round-tripping:
AdaBoost has a fit method
Holds
Read Oct 3
LogisticRegression, RandomForest, GradientTreeBoost, AdaBoost, DecisionTree, MLP, and Maxent all expose a fit(…, Properties) overload and a nested Options record with toProperties() / of(Properties) for round-tripping:
DecisionTree has a fit method
Holds
Read Oct 3
LogisticRegression, RandomForest, GradientTreeBoost, AdaBoost, DecisionTree, MLP, and Maxent all expose a fit(…, Properties) overload and a nested Options record with toProperties() / of(Properties) for round-tripping:
Maxent has a fit method
Holds
Read Oct 3
Clustering is a utility interface that defines the global OUTLIER constant and the shared Options record used by most partitioning algorithms.
Clustering is a contract
Holds
Read Oct 3
Clustering is a utility interface that defines the global OUTLIER constant and the shared Options record used by most partitioning algorithms.
Clustering has OUTLIER
Holds
Read Oct 3
Partitioning is the base class for density-based algorithms (DBSCAN, HDBSCAN, MEC, DENCLUE) that do not produce centroids.
HDBSCAN extends Partitioning
Holds
Read Oct 3
Partitioning is the base class for density-based algorithms (DBSCAN, HDBSCAN, MEC, DENCLUE) that do not produce centroids.
MEC extends Partitioning
Holds
Read Oct 3
Partitioning is the base class for density-based algorithms (DBSCAN, HDBSCAN, MEC, DENCLUE) that do not produce centroids.
DENCLUE extends Partitioning
Holds
Read Oct 3
k — number of clusters found (not counting the outlier pseudo-cluster).
Partitioning has k
Holds
Read Oct 3
group[] — per-point cluster label;
Partitioning has group
Holds
Read Oct 3
CentroidClustering<T, U> is a record returned by all centroid-based algorithms.
CentroidClustering is a concrete implementation
Holds
Read Oct 3
Method k(), Returns int, Description Number of clusters
Ensemble models (RandomForest, GradientTreeBoost) implement TreeSHAP for feature importance.
RandomForest implements TreeSHAP
Holds
Read Oct 3
**Uniform Regression<T> interface** — a single predict(T x) for scalar output, plus batch, list, and dataset overloads;
Regression is a contract
Holds
Read Oct 3
**Uniform Regression<T> interface** — a single predict(T x) for scalar output, plus batch, list, and dataset overloads;
Regression has a predict method
Holds
Read Oct 3
optional online update.
Regression has update
Holds
Read Oct 3
Method boolean online(), Description Returns true if the model supports incremental updates
Regression has an online method
Holds
Read Oct 3
Method double applyAsDouble(T x), Description Alias for predict satisfies ToDoubleFunction<T>
Regression has an applyAsDouble method
Holds
Read Oct 3
**Ensemble average.** The static factory method Regression.ensemble(models...) returns a model whose prediction is the arithmetic mean of all constituent models.
Regression has an ensemble method
Holds
Read Oct 3
Method Formula formula(), Description The formula used at training time
DataFrameRegression has a formula method
Holds
Read Oct 3
Method StructType schema(), Description The feature schema of the design matrix
DataFrameRegression has a schema method
Holds
Read Oct 3
Method double predict(Tuple x), Description Predicts from a named-column Tuple
DataFrameRegression has a predict method
Holds
Read Oct 3
All tree-based models (RegressionTree, RandomForest, GradientTreeBoost) and GLM, GAM, LinearModel implement DataFrameRegression.
DataFrameRegression is a contract
Holds
Read Oct 3
All tree-based models (RegressionTree, RandomForest, GradientTreeBoost) and GLM, GAM, LinearModel implement DataFrameRegression.
RegressionTree implements DataFrameRegression
Holds
Read Oct 3
All tree-based models (RegressionTree, RandomForest, GradientTreeBoost) and GLM, GAM, LinearModel implement DataFrameRegression.
GLM implements DataFrameRegression
Holds
Read Oct 3
All tree-based models (RegressionTree, RandomForest, GradientTreeBoost) and GLM, GAM, LinearModel implement DataFrameRegression.
GAM implements DataFrameRegression
Holds
Read Oct 3
All tree-based models (RegressionTree, RandomForest, GradientTreeBoost) and GLM, GAM, LinearModel implement DataFrameRegression.
LinearModel implements DataFrameRegression
Holds
Read Oct 3
The static helper DataFrameRegression.of(formula, model) adapts any Regression<double[]> into a DataFrameRegression, applying formula extraction automatically:
DataFrameRegression has an of method
Holds
Read Oct 3
Method double[] coefficients(), Description Fitted weights (last element is the intercept when included in the design)
LinearModel has a coefficients method
Holds
Read Oct 3
Method double intercept(), Description The intercept term
LinearModel has an intercept method
Holds
Read Oct 3
Method double RSquared(), Description Coefficient of determination R²
LinearModel has a RSquared method
Holds
Read Oct 3
Method double adjustedRSquared(), Description R² adjusted for the number of predictors
LinearModel has an adjustedRSquared method
Holds
Read Oct 3
Method double RSS(), Description Residual sum of squares
LinearModel has a RSS method
Holds
Read Oct 3
Method double error(), Description Root mean square error of the residuals (σ̂)
Each family is a Java interface (Bernoulli, Binomial, Poisson, Gaussian) exposing a static factory that returns a Model.
Bernoulli is a contract
Holds
Read Oct 3
Each family is a Java interface (Bernoulli, Binomial, Poisson, Gaussian) exposing a static factory that returns a Model.
Poisson is a contract
Holds
Read Oct 3
Family Bernoulli, Factory Bernoulli.logit(), Link logit, Response type Binary (0/1) outcomes
Bernoulli has a logit method
Holds
Read Oct 3
Family Poisson, Factory Poisson.log(), Link log, Response type Non-negative count data
Poisson has a log method
Holds
Read Oct 3
Both model types expose a predict(Tuple x) method that accepts a single data row:
ClassificationModel has a predict method
Holds
Read Oct 3
Both model types expose a predict(Tuple x) method that accepts a single data row:
RegressionModel has a predict method
Holds
Read Oct 3
The "svm" and "gaussian-process" algorithms both accept a smile.svm.kernel / smile.gaussian_process.kernel property whose value is a short string parsed by MercerKernel.of(String).
MercerKernel has an of method
Holds
Read Oct 3
Both ClassificationModel and RegressionModel implement java.io.Serializable.
ClassificationModel uses java.io.Serializable
Holds
Read Oct 3
Both ClassificationModel and RegressionModel implement java.io.Serializable.
VisionModel.forward(BufferedImage...) automatically applies the model's associated Transform, so you never need to preprocess images manually.
VisionModel has a forward method
Holds
Read Oct 3
VisionModel.forward(BufferedImage...) automatically applies the model's associated Transform, so you never need to preprocess images manually.
VisionModel depends on Transform
Holds
Read Oct 3
The EfficientNet constructor accepts an MBConvConfig[] array to define a custom architecture, giving fine-grained control over each inverted-residual stage:
EfficientNet depends on MBConvConfig
Holds
Read Oct 3
ImageNet is an interface with two 1000-element string arrays and a set of utility methods for mapping between class indices and human-readable labels:
ImageNet is a contract
Holds
Read Oct 3
GenAiChatModel implements smile.llm.LanguageModel for a future serve backend.
GenAiChatModel implements LanguageModel
Holds
Read Oct 3
Figure.toBufferedImage(width, height) renders to a BufferedImage with no display required.
Figure has a toBufferedImage method
Holds
Read Oct 3
Palette.jet(256, 0.8f).
Palette has a jet method
Holds
Read Oct 3
Palette.get(int index) returns a distinct color for the given group index (cycles through a built-in list of 10 visually distinct colous). It is used automatically by ScatterPlot.of(x, labels, mark) and similar factory methods.
ScatterPlot depends on Palette
Holds
Read Oct 3
Palette.get(int index) returns a distinct color for the given group index (cycles through a built-in list of 10 visually distinct colous).
Palette has a get method
Holds
Read Oct 3
It is used automatically by ScatterPlot.of(x, labels, mark) and similar factory methods.
ScatterPlot has an of method
Holds
Read Oct 3
All axis-level configuration is accessed via figure.getAxis(i), where i = 0 is the x-axis, i = 1 is the y-axis, and i = 2 is the z-axis (for 3-D figures).
Figure has a getAxis method
Holds
Read Oct 3
Legends are displayed automatically when a Plot has legends and figure.isLegendVisible() is true (the default).
Figure has an isLegendVisible method
Holds
Read Oct 3
Class Shape, Responsibility Abstract base — carries color knows how to paint(Renderer)
Shape has a paint method
Holds
Read Oct 3
Class Plot, Responsibility Shape subclass that also knows its data bounds ( getLowerBound / getUpperBound ) and optional legends/tooltips
Plot has getLowerBound
Holds
Read Oct 3
Class Plot, Responsibility Shape subclass that also knows its data bounds ( getLowerBound / getUpperBound ) and optional legends/tooltips
Plot has getUpperBound
Holds
Read Oct 3
Class Plot, Responsibility Shape subclass that also knows its data bounds ( getLowerBound / getUpperBound ) and optional legends/tooltips
Plot extends Shape
Holds
Read Oct 3
Class FigurePane, Responsibility Swing JPanel wrapping a Canvas with a toolbar
FigurePane depends on Canvas
Holds
Read Oct 3
It extends VegaLite, which provides the top-level properties shared by all specification types.
View extends VegaLite
Holds
Read Oct 3
view.data() returns a Data object that supports four source types.
View has a data method
Holds
Read Oct 3
view.mark(type) selects the geometric primitive and returns a Mark object for further configuration.
View has a mark method
Holds
Read Oct 3
view.encode(channel, field) binds a data field to a visual channel and returns a Field object for further refinement.
View has an encode method
Holds
Read Oct 3
view.transform() returns a Transform object that appends entries to the view-level transform array.
view.viewConfig() returns a ViewConfig that controls the default single-view dimensions and borders.
View has a viewConfig method
Holds
Read Oct 3
VegaLite.mapper is the shared, stateless ObjectMapper instance used throughout the package.
VegaLite has mapper
Holds
Read Oct 3
At startup, OnnxService scans the folder specified by the property smile.onnx.model. Every .onnx file found is loaded into an InferenceSession.
OnnxService depends on InferenceSession
Holds
Read Oct 3
Each Message has a role (system, user, assistant, or tool) and content.
Message has role
Holds
Read Oct 3
Each Message has a role (system, user, assistant, or tool) and content.
Message has content
Holds
Read Oct 3
metadata (≤16 string pairs) and items (≤20 message items with role + text content).
Conversation has metadata
Holds
Read Oct 3
smile.Main.main(String[] args) is the single entry point for all CLI and GUI functionality.
Main has a main method
Holds
354 rules from 19 docs
See these where the change is. The browser extension puts a pull request's doc findings, and a diagram of what it changed, on the GitHub page itself, so the code and what your docs say about it are side by side.