dataset-types 3.3.1 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { IExpression, IValueMetadata, IValueData, IValueMatrix, INeuron, INetwork, INNValue, INNLayer, IValueNetworkDisplayOption, INNMatrix, INNSpecification, IMatrixSpecification, INNTrainable, ITrainingExample, IOptimizer, ILearningConfig, ILearnable, IEventCollector, ITransformerSpecification, IValueTransformer, IValueTransformerInstance } from './valuedata';
2
- export { IExpression, IValueMetadata, IValueData, IValueMatrix, INeuron, INetwork, INNValue, INNLayer, IValueNetworkDisplayOption, INNMatrix, INNSpecification, IMatrixSpecification, INNTrainable, ITrainingExample, IOptimizer, ILearningConfig, ILearnable, IEventCollector, ITransformerSpecification, IValueTransformer, IValueTransformerInstance };
1
+ import { IExpression, IValueMetadata, IValueData, IValueMatrix, INeuron, INetwork, INNValue, INNLayer, IValueNetworkDisplayOption, INNMatrix, INNSpecification, IMatrixSpecification, INNTrainable, ITrainingExample, IOptimizer, ILearningConfig, ILearnable, IEventCollector, ITrainingDataSet, ITransformerSpecification, IValueTransformer, IValueTransformerInstance } from './valuedata';
2
+ export { IExpression, IValueMetadata, IValueData, IValueMatrix, INeuron, INetwork, INNValue, INNLayer, IValueNetworkDisplayOption, INNMatrix, INNSpecification, IMatrixSpecification, INNTrainable, ITrainingExample, IOptimizer, ILearningConfig, ILearnable, IEventCollector, ITrainingDataSet, ITransformerSpecification, IValueTransformer, IValueTransformerInstance };
3
3
  type BufferEncoding = "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex";
4
4
  export interface ICommandResult {
5
5
  status: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",
package/valuedata.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export type IVector = number[];
2
+ export type IMatrix = number[][];
1
3
  export interface IExpression {
2
4
  valuedata?: boolean;
3
5
  data?: number;
@@ -50,13 +52,6 @@ export interface IValueMatrix {
50
52
  matrix: IValueData[][];
51
53
  predecessors: IValueMatrix[];
52
54
  }
53
- export interface IValueMatrix {
54
- name: string;
55
- rows: number;
56
- cols: number;
57
- matrix: IValueData[][];
58
- predecessors: IValueMatrix[];
59
- }
60
55
  export interface INetwork {
61
56
  initialize: () => void;
62
57
  initializeWorking: () => void;
@@ -68,11 +63,6 @@ export interface INetwork {
68
63
  toFullString: () => string;
69
64
  toShape: () => string;
70
65
  }
71
- export interface INNTrainable {
72
- inputs: () => IValueData[];
73
- parameters: () => IValueData[];
74
- outputs: () => IValueData[];
75
- }
76
66
  export interface INNValue extends INetwork, INNTrainable {
77
67
  }
78
68
  export interface IValueNetworkDisplayOption {
package/valuedata.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- /// Value Data
2
+ /// Vector / Matrix
3
3
  Object.defineProperty(exports, "__esModule", { value: true });