diff --git a/BrightData/BrightData.xml b/BrightData/BrightData.xml
index 403ac508..eb98933f 100644
--- a/BrightData/BrightData.xml
+++ b/BrightData/BrightData.xml
@@ -2655,7 +2655,6 @@
Converts the typed buffer to a buffer of objects
-
@@ -8447,12 +8446,12 @@
- Tensor shape - for a vector the array will have a single element, for a matrix it will be [columns, rows], a 3D tensor will be [columns, rows, depth] etc
+ Tensor shape - for a vector the array will have a single element, for a matrix it will be [columns, rows], a 3D tensor will be [columns, rows, depth] etc.
- Typed tensor interface - vector, matrix, 3D tensor etc
+ Typed tensor interface - vector, matrix, 3D tensor etc.
@@ -8580,7 +8579,7 @@
- Typed tensor interface - vector, matrix, 3D tensor etc
+ Typed tensor interface - vector, matrix, 3D tensor etc.
diff --git a/BrightData/Buffer/ReadOnly/Helper/BufferConcatenator.cs b/BrightData/Buffer/ReadOnly/Helper/BufferConcatenator.cs
deleted file mode 100644
index 970cb0a1..00000000
--- a/BrightData/Buffer/ReadOnly/Helper/BufferConcatenator.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading;
-using System.Threading.Tasks;
-using BrightData.Types;
-
-namespace BrightData.Buffer.ReadOnly.Helper
-{
- ///
- /// Concatenates multiple buffers into one single buffer
- ///
- ///
- //internal class BufferConcatenator : TypedBufferBase, IReadOnlyBufferWithMetaData where T : notnull
- //{
- // readonly IReadOnlyBufferWithMetaData[] _buffers;
-
- // public BufferConcatenator(params IReadOnlyBufferWithMetaData[] buffers)
- // {
- // _buffers = buffers;
- // var first = buffers.First();
- // var size = first.Size;
- // var blockCount = first.BlockCount;
- // MetaData = first.MetaData;
- // foreach (var buffer in buffers.Skip(1))
- // {
- // if (first.BlockSize != buffer.BlockSize)
- // throw new ArgumentException("All buffer block sizes must be the same");
- // size += buffer.Size;
- // blockCount += buffer.BlockCount;
- // }
- // Size = size;
- // BlockSize = first.BlockSize;
- // BlockCount = blockCount;
- // DataType = typeof(T);
- // }
-
- // public uint Size { get; }
- // public uint BlockSize { get; }
- // public uint BlockCount { get; }
- // public Type DataType { get; }
- // public MetaData MetaData { get; }
-
- // public override async IAsyncEnumerable
+
+
+ Callback method when the node has executed
+
+
+
+
+ Called when the node is executed
+
+
Constructor
diff --git a/BrightWire/ExecutionGraph/Node/NodeBase.cs b/BrightWire/ExecutionGraph/Node/NodeBase.cs
index 88186481..d0429d29 100644
--- a/BrightWire/ExecutionGraph/Node/NodeBase.cs
+++ b/BrightWire/ExecutionGraph/Node/NodeBase.cs
@@ -20,7 +20,14 @@ public abstract class NodeBase : ICanInitialiseNode, IDisposable, ICanSerialise
string? _name;
List _output = [];
+ ///
+ /// Callback method when the node has executed
+ ///
public delegate void ForwardDelegate(NodeBase previous, NodeBase current, IGraphData input, IGraphData? output);
+
+ ///
+ /// Called when the node is executed
+ ///
public event ForwardDelegate? OnForward;
///
diff --git a/BrightWire/Models/StringTable.cs b/BrightWire/Models/StringTable.cs
index d3798fd8..9164568d 100644
--- a/BrightWire/Models/StringTable.cs
+++ b/BrightWire/Models/StringTable.cs
@@ -1,6 +1,4 @@
-using System;
-
-namespace BrightWire.Models
+namespace BrightWire.Models
{
///
/// An array of indexed strings
diff --git a/ExampleCode/Program.cs b/ExampleCode/Program.cs
index baec6c08..4a6c3f3d 100644
--- a/ExampleCode/Program.cs
+++ b/ExampleCode/Program.cs
@@ -8,7 +8,6 @@
using BrightData.Cuda;
using BrightData.LinearAlgebra;
using BrightData.MKL;
-using BrightData.Parquet;
using BrightWire;
using ExampleCode.DataSet;
using ExampleCode.DataTableTrainers;
@@ -100,7 +99,7 @@ static async Task IrisClassification(BrightDataContext context, bool useMkl)
Start(context, useMkl);
using var iris = await context.Iris();
await iris.TrainNaiveBayes();
- iris.TrainDecisionTree();
+ await iris.TrainDecisionTree();
await iris.TrainRandomForest(500, 7);
await iris.TrainKNearestNeighbours(10);
//iris.TrainMultinomialLogisticRegression(500, 0.3f, 0.1f);