| 1 | /* NMF_def.h |
| 2 | * |
| 3 | * Copyright (C) 2019 David Weenink |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This code is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #define ooSTRUCT NMF |
| 20 | oo_DEFINE_CLASS (NMF, Daata) |
| 21 | |
| 22 | oo_INTEGER (numberOfRows) |
| 23 | oo_INTEGER (numberOfColumns) |
| 24 | oo_INTEGER (numberOfFeatures) |
| 25 | |
| 26 | oo_MAT (features, numberOfRows, numberOfFeatures) |
| 27 | oo_MAT (weights, numberOfFeatures, numberOfColumns) |
| 28 | |
| 29 | #if oo_DECLARING |
| 30 | void v1_info () |
| 31 | override; |
| 32 | #endif |
| 33 | |
| 34 | oo_END_CLASS (NMF) |
| 35 | #undef ooSTRUCT |
| 36 | |
| 37 | |
| 38 | /* End of file NMF_def.h */ |