From 3de1967b3e4bb74525e73f1957b9a2973d8fe27f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Thu, 6 Jul 2023 09:18:32 +0200 Subject: [PATCH] Add mfeat-factors kdb2 & kdb3 networks Tested with bayesclass & pgmpy kbd2 --- data/mfeat-factors-kdb2.net | 645 +++++++++++++++++++++++++++ data/mfeat-factors-kdb3.net | 859 ++++++++++++++++++++++++++++++++++++ data/mfeat-factors.net | 859 ++++++++++++++++++++++++++++++++++++ sample/main.cc | 2 +- 4 files changed, 2364 insertions(+), 1 deletion(-) create mode 100644 data/mfeat-factors-kdb2.net create mode 100644 data/mfeat-factors-kdb3.net create mode 100644 data/mfeat-factors.net diff --git a/data/mfeat-factors-kdb2.net b/data/mfeat-factors-kdb2.net new file mode 100644 index 0000000..c96508e --- /dev/null +++ b/data/mfeat-factors-kdb2.net @@ -0,0 +1,645 @@ +class att215 +class att25 +class att131 +class att95 +class att122 +class att17 +class att28 +class att5 +class att121 +class att214 +class att197 +class att116 +class att182 +class att60 +class att168 +class att178 +class att206 +class att89 +class att77 +class att209 +class att73 +class att126 +class att16 +class att74 +class att27 +class att61 +class att20 +class att101 +class att85 +class att76 +class att137 +class att211 +class att143 +class att14 +class att40 +class att210 +class att155 +class att170 +class att160 +class att23 +class att162 +class att203 +class att164 +class att107 +class att62 +class att42 +class att71 +class att128 +class att138 +class att83 +class att171 +class att92 +class att163 +class att49 +class att161 +class att158 +class att176 +class att11 +class att145 +class att4 +class att172 +class att196 +class att58 +class att68 +class att169 +class att80 +class att32 +class att175 +class att87 +class att88 +class att159 +class att18 +class att52 +class att98 +class att136 +class att150 +class att156 +class att110 +class att100 +class att63 +class att148 +class att90 +class att167 +class att35 +class att205 +class att51 +class att21 +class att142 +class att46 +class att134 +class att39 +class att102 +class att208 +class att130 +class att149 +class att96 +class att75 +class att118 +class att78 +class att213 +class att112 +class att38 +class att174 +class att189 +class att70 +class att179 +class att59 +class att79 +class att15 +class att47 +class att124 +class att34 +class att54 +class att191 +class att86 +class att56 +class att151 +class att66 +class att173 +class att44 +class att198 +class att139 +class att216 +class att129 +class att152 +class att69 +class att81 +class att50 +class att153 +class att41 +class att204 +class att188 +class att26 +class att13 +class att117 +class att114 +class att10 +class att64 +class att200 +class att9 +class att3 +class att119 +class att45 +class att104 +class att140 +class att30 +class att183 +class att146 +class att141 +class att202 +class att194 +class att24 +class att147 +class att8 +class att212 +class att123 +class att166 +class att187 +class att127 +class att190 +class att105 +class att106 +class att184 +class att82 +class att2 +class att135 +class att154 +class att111 +class att115 +class att99 +class att22 +class att84 +class att207 +class att94 +class att177 +class att103 +class att93 +class att201 +class att43 +class att36 +class att12 +class att125 +class att165 +class att180 +class att195 +class att157 +class att48 +class att6 +class att113 +class att193 +class att91 +class att72 +class att31 +class att132 +class att33 +class att57 +class att144 +class att192 +class att185 +class att37 +class att53 +class att120 +class att186 +class att199 +class att65 +class att108 +class att133 +class att29 +class att19 +class att7 +class att97 +class att67 +class att55 +class att1 +class att109 +class att181 +att215 att25 +att215 att131 +att215 att95 +att25 att131 +att25 att121 +att25 att73 +att25 att61 +att25 att85 +att25 att169 +att25 att13 +att131 att95 +att131 att122 +att131 att17 +att131 att28 +att131 att121 +att131 att214 +att131 att116 +att131 att126 +att131 att143 +att95 att122 +att95 att17 +att95 att28 +att95 att5 +att95 att214 +att95 att116 +att95 att60 +att95 att143 +att95 att155 +att95 att71 +att122 att182 +att122 att170 +att17 att5 +att17 att197 +att17 att89 +att17 att77 +att17 att161 +att28 att206 +att28 att16 +att28 att76 +att28 att172 +att28 att124 +att28 att64 +att5 att197 +att5 att89 +att5 att209 +att121 att73 +att214 att178 +att214 att58 +att214 att142 +att197 att209 +att197 att101 +att116 att182 +att116 att60 +att116 att168 +att116 att178 +att116 att206 +att116 att126 +att116 att16 +att116 att27 +att116 att20 +att116 att211 +att116 att164 +att116 att128 +att182 att27 +att182 att14 +att60 att168 +att60 att156 +att168 att156 +att168 att96 +att178 att20 +att178 att58 +att178 att142 +att178 att130 +att206 att74 +att206 att170 +att206 att158 +att89 att77 +att89 att137 +att89 att149 +att89 att173 +att77 att137 +att77 att161 +att209 att101 +att209 att41 +att73 att61 +att73 att157 +att126 att162 +att126 att138 +att126 att150 +att16 att74 +att16 att76 +att16 att40 +att16 att4 +att74 att14 +att74 att62 +att27 att171 +att61 att85 +att61 att169 +att20 att211 +att20 att210 +att20 att164 +att20 att176 +att101 att41 +att85 att13 +att76 att40 +att76 att160 +att137 att149 +att211 att210 +att211 att162 +att211 att171 +att211 att163 +att211 att175 +att211 att79 +att143 att155 +att143 att23 +att143 att71 +att143 att83 +att143 att11 +att14 att98 +att40 att160 +att40 att4 +att40 att196 +att40 att52 +att210 att42 +att210 att114 +att155 att23 +att155 att203 +att155 att107 +att155 att11 +att170 att158 +att160 att52 +att23 att203 +att162 att138 +att162 att18 +att162 att150 +att162 att90 +att162 att174 +att203 att107 +att203 att49 +att203 att59 +att203 att191 +att203 att119 +att164 att62 +att164 att42 +att164 att128 +att164 att92 +att164 att163 +att164 att176 +att164 att145 +att164 att68 +att164 att80 +att164 att98 +att164 att110 +att164 att205 +att164 att21 +att164 att213 +att164 att112 +att164 att38 +att164 att56 +att164 att44 +att107 att59 +att107 att47 +att107 att191 +att71 att83 +att71 att167 +att71 att35 +att128 att92 +att138 att18 +att83 att167 +att171 att87 +att171 att159 +att171 att63 +att171 att51 +att171 att39 +att171 att75 +att163 att49 +att163 att175 +att163 att87 +att163 att79 +att163 att151 +att163 att139 +att163 att187 +att163 att91 +att161 att173 +att176 att145 +att176 att172 +att176 att68 +att176 att80 +att176 att32 +att176 att110 +att176 att205 +att176 att21 +att176 att134 +att176 att56 +att4 att196 +att4 att88 +att4 att136 +att4 att100 +att4 att148 +att4 att208 +att172 att112 +att172 att184 +att196 att88 +att196 att136 +att196 att100 +att196 att208 +att58 att46 +att68 att32 +att32 att200 +att87 att159 +att87 att63 +att87 att75 +att87 att15 +att87 att99 +att159 att195 +att18 att90 +att18 att102 +att18 att78 +att18 att198 +att52 att124 +att98 att86 +att150 att174 +att150 att66 +att156 att96 +att156 att216 +att156 att204 +att156 att24 +att156 att84 +att100 att148 +att63 att51 +att63 att3 +att63 att183 +att90 att102 +att90 att78 +att167 att35 +att167 att179 +att35 att179 +att51 att39 +att51 att3 +att21 att134 +att21 att213 +att21 att38 +att21 att189 +att21 att129 +att21 att81 +att21 att117 +att21 att9 +att142 att46 +att142 att130 +att142 att118 +att142 att10 +att142 att202 +att142 att190 +att142 att106 +att46 att70 +att46 att34 +att46 att166 +att134 att2 +att102 att54 +att130 att118 +att130 att10 +att130 att202 +att149 att125 +att96 att216 +att96 att24 +att75 att15 +att75 att99 +att118 att70 +att78 att198 +att213 att189 +att38 att50 +att38 att26 +att174 att54 +att174 att66 +att174 att30 +att189 att86 +att189 att129 +att189 att69 +att189 att81 +att189 att153 +att189 att117 +att189 att9 +att189 att45 +att189 att105 +att70 att34 +att59 att47 +att79 att151 +att79 att139 +att79 att187 +att79 att127 +att79 att103 +att79 att43 +att79 att91 +att79 att19 +att124 att64 +att54 att114 +att54 att30 +att191 att119 +att86 att194 +att56 att44 +att56 att152 +att56 att50 +att56 att188 +att56 att26 +att56 att104 +att56 att140 +att56 att146 +att56 att194 +att56 att8 +att56 att2 +att56 att133 +att56 att1 +att173 att125 +att173 att113 +att44 att152 +att44 att188 +att44 att200 +att44 att212 +att44 att1 +att139 att103 +att139 att43 +att139 att31 +att139 att199 +att139 att7 +att216 att204 +att216 att36 +att216 att12 +att216 att180 +att216 att108 +att129 att69 +att152 att140 +att69 att153 +att81 att45 +att153 att141 +att41 att53 +att204 att12 +att13 att157 +att114 att6 +att114 att186 +att10 att190 +att64 att184 +att200 att104 +att9 att146 +att9 att141 +att9 att177 +att9 att37 +att9 att133 +att9 att109 +att9 att181 +att3 att183 +att3 att147 +att3 att123 +att3 att135 +att3 att111 +att45 att105 +att45 att177 +att45 att93 +att45 att201 +att45 att193 +att45 att37 +att45 att97 +att140 att8 +att30 att6 +att183 att147 +att183 att123 +att202 att166 +att202 att106 +att202 att82 +att24 att84 +att24 att36 +att147 att135 +att8 att212 +att166 att82 +att187 att127 +att187 att115 +att127 att115 +att105 att93 +att106 att154 +att82 att154 +att82 att22 +att135 att111 +att135 att207 +att154 att22 +att154 att94 +att111 att207 +att22 att94 +att84 att48 +att177 att165 +att103 att195 +att103 att109 +att93 att201 +att93 att165 +att93 att193 +att93 att33 +att201 att33 +att201 att57 +att36 att180 +att36 att72 +att36 att132 +att36 att144 +att125 att113 +att125 att185 +att125 att65 +att125 att29 +att180 att48 +att180 att72 +att180 att192 +att180 att108 +att6 att186 +att113 att185 +att113 att53 +att193 att97 +att91 att31 +att91 att19 +att72 att132 +att72 att192 +att31 att199 +att31 att67 +att132 att144 +att132 att120 +att33 att57 +att144 att120 +att185 att65 +att199 att7 +att199 att67 +att199 att55 +att65 att29 +att67 att55 +att109 att181 diff --git a/data/mfeat-factors-kdb3.net b/data/mfeat-factors-kdb3.net new file mode 100644 index 0000000..d5b6d19 --- /dev/null +++ b/data/mfeat-factors-kdb3.net @@ -0,0 +1,859 @@ +class att215 +class att25 +class att131 +class att95 +class att122 +class att17 +class att28 +class att5 +class att121 +class att214 +class att197 +class att116 +class att182 +class att60 +class att168 +class att178 +class att206 +class att89 +class att77 +class att209 +class att73 +class att126 +class att16 +class att74 +class att27 +class att61 +class att20 +class att101 +class att85 +class att76 +class att137 +class att211 +class att143 +class att14 +class att40 +class att210 +class att155 +class att170 +class att160 +class att23 +class att162 +class att203 +class att164 +class att107 +class att62 +class att42 +class att71 +class att128 +class att138 +class att83 +class att171 +class att92 +class att163 +class att49 +class att161 +class att158 +class att176 +class att11 +class att145 +class att4 +class att172 +class att196 +class att58 +class att68 +class att169 +class att80 +class att32 +class att175 +class att87 +class att88 +class att159 +class att18 +class att52 +class att98 +class att136 +class att150 +class att156 +class att110 +class att100 +class att63 +class att148 +class att90 +class att167 +class att35 +class att205 +class att51 +class att21 +class att142 +class att46 +class att134 +class att39 +class att102 +class att208 +class att130 +class att149 +class att96 +class att75 +class att118 +class att78 +class att213 +class att112 +class att38 +class att174 +class att189 +class att70 +class att179 +class att59 +class att79 +class att15 +class att47 +class att124 +class att34 +class att54 +class att191 +class att86 +class att56 +class att151 +class att66 +class att173 +class att44 +class att198 +class att139 +class att216 +class att129 +class att152 +class att69 +class att81 +class att50 +class att153 +class att41 +class att204 +class att188 +class att26 +class att13 +class att117 +class att114 +class att10 +class att64 +class att200 +class att9 +class att3 +class att119 +class att45 +class att104 +class att140 +class att30 +class att183 +class att146 +class att141 +class att202 +class att194 +class att24 +class att147 +class att8 +class att212 +class att123 +class att166 +class att187 +class att127 +class att190 +class att105 +class att106 +class att184 +class att82 +class att2 +class att135 +class att154 +class att111 +class att115 +class att99 +class att22 +class att84 +class att207 +class att94 +class att177 +class att103 +class att93 +class att201 +class att43 +class att36 +class att12 +class att125 +class att165 +class att180 +class att195 +class att157 +class att48 +class att6 +class att113 +class att193 +class att91 +class att72 +class att31 +class att132 +class att33 +class att57 +class att144 +class att192 +class att185 +class att37 +class att53 +class att120 +class att186 +class att199 +class att65 +class att108 +class att133 +class att29 +class att19 +class att7 +class att97 +class att67 +class att55 +class att1 +class att109 +class att181 +att215 att25 +att215 att131 +att215 att95 +att215 att17 +att215 att214 +att215 att143 +att25 att131 +att25 att95 +att25 att122 +att25 att121 +att25 att73 +att25 att61 +att25 att85 +att25 att169 +att25 att13 +att25 att157 +att131 att95 +att131 att122 +att131 att17 +att131 att28 +att131 att5 +att131 att121 +att131 att214 +att131 att116 +att131 att182 +att131 att60 +att131 att126 +att131 att16 +att131 att27 +att131 att20 +att131 att143 +att131 att155 +att95 att122 +att95 att17 +att95 att28 +att95 att5 +att95 att121 +att95 att214 +att95 att197 +att95 att116 +att95 att60 +att95 att168 +att95 att178 +att95 att143 +att95 att155 +att95 att23 +att95 att71 +att95 att167 +att122 att28 +att122 att182 +att122 att170 +att17 att5 +att17 att197 +att17 att89 +att17 att77 +att17 att209 +att17 att137 +att17 att161 +att17 att41 +att28 att206 +att28 att16 +att28 att76 +att28 att40 +att28 att210 +att28 att160 +att28 att172 +att28 att124 +att28 att64 +att5 att197 +att5 att89 +att5 att77 +att5 att209 +att5 att101 +att121 att73 +att121 att61 +att214 att116 +att214 att178 +att214 att206 +att214 att58 +att214 att142 +att214 att46 +att197 att89 +att197 att209 +att197 att101 +att116 att182 +att116 att60 +att116 att168 +att116 att178 +att116 att206 +att116 att73 +att116 att126 +att116 att16 +att116 att74 +att116 att27 +att116 att20 +att116 att211 +att116 att164 +att116 att128 +att116 att92 +att116 att176 +att116 att68 +att182 att27 +att182 att14 +att60 att168 +att60 att156 +att60 att96 +att168 att126 +att168 att156 +att168 att96 +att168 att216 +att178 att20 +att178 att211 +att178 att58 +att178 att142 +att178 att130 +att178 att166 +att206 att74 +att206 att170 +att206 att158 +att89 att77 +att89 att137 +att89 att149 +att89 att173 +att77 att137 +att77 att161 +att77 att149 +att209 att101 +att209 att41 +att73 att61 +att73 att85 +att73 att13 +att73 att157 +att126 att162 +att126 att138 +att126 att18 +att126 att150 +att16 att74 +att16 att76 +att16 att40 +att16 att4 +att16 att196 +att16 att136 +att74 att14 +att74 att62 +att27 att171 +att27 att63 +att61 att85 +att61 att169 +att20 att76 +att20 att211 +att20 att210 +att20 att170 +att20 att164 +att20 att128 +att20 att176 +att20 att80 +att101 att41 +att85 att169 +att85 att13 +att76 att14 +att76 att40 +att76 att160 +att76 att4 +att76 att52 +att137 att161 +att137 att149 +att137 att173 +att137 att125 +att211 att210 +att211 att162 +att211 att164 +att211 att62 +att211 att42 +att211 att171 +att211 att163 +att211 att175 +att211 att79 +att211 att151 +att211 att43 +att143 att155 +att143 att23 +att143 att203 +att143 att71 +att143 att83 +att143 att11 +att14 att98 +att40 att160 +att40 att4 +att40 att196 +att40 att88 +att40 att52 +att210 att162 +att210 att42 +att210 att114 +att155 att23 +att155 att203 +att155 att107 +att155 att11 +att170 att158 +att160 att52 +att160 att124 +att23 att203 +att23 att107 +att23 att71 +att23 att11 +att162 att138 +att162 att18 +att162 att150 +att162 att90 +att162 att102 +att162 att174 +att162 att66 +att203 att107 +att203 att49 +att203 att59 +att203 att47 +att203 att191 +att203 att119 +att164 att62 +att164 att42 +att164 att128 +att164 att171 +att164 att92 +att164 att163 +att164 att158 +att164 att176 +att164 att145 +att164 att172 +att164 att58 +att164 att68 +att164 att80 +att164 att32 +att164 att98 +att164 att156 +att164 att110 +att164 att205 +att164 att21 +att164 att134 +att164 att213 +att164 att112 +att164 att38 +att164 att189 +att164 att56 +att164 att44 +att164 att152 +att164 att8 +att107 att83 +att107 att49 +att107 att59 +att107 att47 +att107 att191 +att42 att138 +att42 att54 +att42 att114 +att71 att83 +att71 att167 +att71 att35 +att71 att179 +att128 att92 +att128 att112 +att138 att18 +att138 att150 +att83 att167 +att83 att35 +att171 att87 +att171 att159 +att171 att63 +att171 att51 +att171 att39 +att171 att75 +att92 att163 +att92 att145 +att92 att56 +att163 att49 +att163 att175 +att163 att87 +att163 att79 +att163 att151 +att163 att139 +att163 att187 +att163 att127 +att163 att103 +att163 att91 +att49 att37 +att161 att173 +att161 att113 +att176 att145 +att176 att172 +att176 att68 +att176 att80 +att176 att32 +att176 att175 +att176 att98 +att176 att110 +att176 att205 +att176 att21 +att176 att134 +att176 att213 +att176 att56 +att4 att196 +att4 att88 +att4 att136 +att4 att100 +att4 att148 +att4 att208 +att172 att112 +att172 att184 +att196 att88 +att196 att136 +att196 att100 +att196 att148 +att196 att208 +att58 att142 +att58 att46 +att58 att34 +att68 att32 +att80 att38 +att32 att110 +att32 att21 +att32 att44 +att32 att200 +att175 att87 +att175 att159 +att175 att79 +att175 att187 +att175 att115 +att87 att159 +att87 att63 +att87 att51 +att87 att75 +att87 att15 +att87 att99 +att159 att75 +att159 att15 +att159 att195 +att18 att90 +att18 att102 +att18 att78 +att18 att198 +att52 att124 +att52 att64 +att98 att86 +att136 att100 +att136 att208 +att150 att90 +att150 att174 +att150 att66 +att156 att205 +att156 att96 +att156 att216 +att156 att204 +att156 att24 +att156 att84 +att156 att36 +att156 att12 +att156 att108 +att100 att148 +att63 att51 +att63 att39 +att63 att3 +att63 att183 +att63 att147 +att90 att102 +att90 att78 +att167 att35 +att167 att179 +att35 att179 +att51 att39 +att51 att3 +att51 att183 +att21 att134 +att21 att213 +att21 att38 +att21 att189 +att21 att129 +att21 att81 +att21 att153 +att21 att117 +att21 att9 +att142 att46 +att142 att130 +att142 att118 +att142 att70 +att142 att10 +att142 att202 +att142 att190 +att142 att106 +att46 att130 +att46 att118 +att46 att70 +att46 att34 +att46 att166 +att46 att82 +att134 att2 +att39 att3 +att102 att78 +att102 att174 +att102 att54 +att102 att198 +att130 att118 +att130 att10 +att130 att202 +att130 att190 +att130 att106 +att149 att125 +att96 att216 +att96 att204 +att96 att24 +att75 att15 +att75 att99 +att118 att70 +att118 att10 +att118 att202 +att78 att198 +att213 att189 +att213 att129 +att213 att69 +att213 att81 +att38 att50 +att38 att26 +att174 att54 +att174 att66 +att174 att30 +att189 att86 +att189 att129 +att189 att69 +att189 att81 +att189 att153 +att189 att117 +att189 att9 +att189 att45 +att189 att141 +att189 att105 +att70 att34 +att70 att154 +att179 att59 +att59 att47 +att59 att191 +att59 att119 +att79 att86 +att79 att151 +att79 att139 +att79 att187 +att79 att127 +att79 att103 +att79 att43 +att79 att193 +att79 att91 +att79 att19 +att124 att64 +att54 att114 +att54 att30 +att54 att6 +att191 att119 +att86 att194 +att56 att44 +att56 att152 +att56 att50 +att56 att188 +att56 att26 +att56 att200 +att56 att104 +att56 att140 +att56 att146 +att56 att194 +att56 att8 +att56 att2 +att56 att133 +att56 att1 +att151 att139 +att66 att30 +att173 att125 +att173 att113 +att173 att185 +att44 att152 +att44 att50 +att44 att188 +att44 att200 +att44 att104 +att44 att140 +att44 att194 +att44 att212 +att44 att1 +att139 att26 +att139 att99 +att139 att103 +att139 att43 +att139 att91 +att139 att31 +att139 att199 +att139 att7 +att216 att204 +att216 att24 +att216 att84 +att216 att36 +att216 att12 +att216 att180 +att216 att108 +att129 att69 +att152 att188 +att152 att140 +att69 att153 +att69 att9 +att69 att177 +att81 att45 +att81 att105 +att153 att117 +att153 att141 +att41 att53 +att204 att12 +att204 att180 +att188 att146 +att188 att212 +att13 att157 +att114 att6 +att114 att186 +att10 att190 +att64 att184 +att200 att104 +att9 att45 +att9 att146 +att9 att141 +att9 att177 +att9 att37 +att9 att133 +att9 att109 +att9 att181 +att3 att183 +att3 att147 +att3 att123 +att3 att135 +att3 att111 +att45 att105 +att45 att177 +att45 att93 +att45 att201 +att45 att165 +att45 att193 +att45 att33 +att45 att37 +att45 att133 +att45 att97 +att140 att8 +att30 att6 +att30 att186 +att183 att147 +att183 att123 +att183 att135 +att146 att2 +att202 att166 +att202 att106 +att202 att82 +att24 att84 +att24 att36 +att24 att132 +att147 att123 +att147 att135 +att147 att111 +att147 att207 +att8 att212 +att166 att82 +att166 att22 +att166 att94 +att187 att127 +att187 att115 +att127 att115 +att105 att184 +att105 att93 +att105 att201 +att106 att154 +att82 att154 +att82 att22 +att135 att111 +att135 att207 +att154 att22 +att154 att94 +att111 att207 +att99 att195 +att22 att94 +att84 att48 +att177 att93 +att177 att165 +att177 att181 +att103 att195 +att103 att97 +att103 att109 +att93 att201 +att93 att165 +att93 att193 +att93 att33 +att93 att57 +att201 att33 +att201 att57 +att43 att31 +att36 att180 +att36 att48 +att36 att72 +att36 att132 +att36 att144 +att125 att113 +att125 att185 +att125 att65 +att125 att29 +att180 att48 +att180 att72 +att180 att192 +att180 att108 +att48 att72 +att6 att186 +att113 att185 +att113 att53 +att113 att65 +att193 att97 +att91 att31 +att91 att199 +att91 att19 +att72 att132 +att72 att144 +att72 att192 +att72 att120 +att31 att199 +att31 att7 +att31 att67 +att31 att55 +att31 att1 +att132 att144 +att132 att120 +att33 att57 +att144 att192 +att144 att120 +att185 att53 +att185 att65 +att185 att29 +att199 att19 +att199 att7 +att199 att67 +att199 att55 +att199 att109 +att65 att29 +att7 att67 +att67 att55 +att109 att181 + diff --git a/data/mfeat-factors.net b/data/mfeat-factors.net new file mode 100644 index 0000000..d5b6d19 --- /dev/null +++ b/data/mfeat-factors.net @@ -0,0 +1,859 @@ +class att215 +class att25 +class att131 +class att95 +class att122 +class att17 +class att28 +class att5 +class att121 +class att214 +class att197 +class att116 +class att182 +class att60 +class att168 +class att178 +class att206 +class att89 +class att77 +class att209 +class att73 +class att126 +class att16 +class att74 +class att27 +class att61 +class att20 +class att101 +class att85 +class att76 +class att137 +class att211 +class att143 +class att14 +class att40 +class att210 +class att155 +class att170 +class att160 +class att23 +class att162 +class att203 +class att164 +class att107 +class att62 +class att42 +class att71 +class att128 +class att138 +class att83 +class att171 +class att92 +class att163 +class att49 +class att161 +class att158 +class att176 +class att11 +class att145 +class att4 +class att172 +class att196 +class att58 +class att68 +class att169 +class att80 +class att32 +class att175 +class att87 +class att88 +class att159 +class att18 +class att52 +class att98 +class att136 +class att150 +class att156 +class att110 +class att100 +class att63 +class att148 +class att90 +class att167 +class att35 +class att205 +class att51 +class att21 +class att142 +class att46 +class att134 +class att39 +class att102 +class att208 +class att130 +class att149 +class att96 +class att75 +class att118 +class att78 +class att213 +class att112 +class att38 +class att174 +class att189 +class att70 +class att179 +class att59 +class att79 +class att15 +class att47 +class att124 +class att34 +class att54 +class att191 +class att86 +class att56 +class att151 +class att66 +class att173 +class att44 +class att198 +class att139 +class att216 +class att129 +class att152 +class att69 +class att81 +class att50 +class att153 +class att41 +class att204 +class att188 +class att26 +class att13 +class att117 +class att114 +class att10 +class att64 +class att200 +class att9 +class att3 +class att119 +class att45 +class att104 +class att140 +class att30 +class att183 +class att146 +class att141 +class att202 +class att194 +class att24 +class att147 +class att8 +class att212 +class att123 +class att166 +class att187 +class att127 +class att190 +class att105 +class att106 +class att184 +class att82 +class att2 +class att135 +class att154 +class att111 +class att115 +class att99 +class att22 +class att84 +class att207 +class att94 +class att177 +class att103 +class att93 +class att201 +class att43 +class att36 +class att12 +class att125 +class att165 +class att180 +class att195 +class att157 +class att48 +class att6 +class att113 +class att193 +class att91 +class att72 +class att31 +class att132 +class att33 +class att57 +class att144 +class att192 +class att185 +class att37 +class att53 +class att120 +class att186 +class att199 +class att65 +class att108 +class att133 +class att29 +class att19 +class att7 +class att97 +class att67 +class att55 +class att1 +class att109 +class att181 +att215 att25 +att215 att131 +att215 att95 +att215 att17 +att215 att214 +att215 att143 +att25 att131 +att25 att95 +att25 att122 +att25 att121 +att25 att73 +att25 att61 +att25 att85 +att25 att169 +att25 att13 +att25 att157 +att131 att95 +att131 att122 +att131 att17 +att131 att28 +att131 att5 +att131 att121 +att131 att214 +att131 att116 +att131 att182 +att131 att60 +att131 att126 +att131 att16 +att131 att27 +att131 att20 +att131 att143 +att131 att155 +att95 att122 +att95 att17 +att95 att28 +att95 att5 +att95 att121 +att95 att214 +att95 att197 +att95 att116 +att95 att60 +att95 att168 +att95 att178 +att95 att143 +att95 att155 +att95 att23 +att95 att71 +att95 att167 +att122 att28 +att122 att182 +att122 att170 +att17 att5 +att17 att197 +att17 att89 +att17 att77 +att17 att209 +att17 att137 +att17 att161 +att17 att41 +att28 att206 +att28 att16 +att28 att76 +att28 att40 +att28 att210 +att28 att160 +att28 att172 +att28 att124 +att28 att64 +att5 att197 +att5 att89 +att5 att77 +att5 att209 +att5 att101 +att121 att73 +att121 att61 +att214 att116 +att214 att178 +att214 att206 +att214 att58 +att214 att142 +att214 att46 +att197 att89 +att197 att209 +att197 att101 +att116 att182 +att116 att60 +att116 att168 +att116 att178 +att116 att206 +att116 att73 +att116 att126 +att116 att16 +att116 att74 +att116 att27 +att116 att20 +att116 att211 +att116 att164 +att116 att128 +att116 att92 +att116 att176 +att116 att68 +att182 att27 +att182 att14 +att60 att168 +att60 att156 +att60 att96 +att168 att126 +att168 att156 +att168 att96 +att168 att216 +att178 att20 +att178 att211 +att178 att58 +att178 att142 +att178 att130 +att178 att166 +att206 att74 +att206 att170 +att206 att158 +att89 att77 +att89 att137 +att89 att149 +att89 att173 +att77 att137 +att77 att161 +att77 att149 +att209 att101 +att209 att41 +att73 att61 +att73 att85 +att73 att13 +att73 att157 +att126 att162 +att126 att138 +att126 att18 +att126 att150 +att16 att74 +att16 att76 +att16 att40 +att16 att4 +att16 att196 +att16 att136 +att74 att14 +att74 att62 +att27 att171 +att27 att63 +att61 att85 +att61 att169 +att20 att76 +att20 att211 +att20 att210 +att20 att170 +att20 att164 +att20 att128 +att20 att176 +att20 att80 +att101 att41 +att85 att169 +att85 att13 +att76 att14 +att76 att40 +att76 att160 +att76 att4 +att76 att52 +att137 att161 +att137 att149 +att137 att173 +att137 att125 +att211 att210 +att211 att162 +att211 att164 +att211 att62 +att211 att42 +att211 att171 +att211 att163 +att211 att175 +att211 att79 +att211 att151 +att211 att43 +att143 att155 +att143 att23 +att143 att203 +att143 att71 +att143 att83 +att143 att11 +att14 att98 +att40 att160 +att40 att4 +att40 att196 +att40 att88 +att40 att52 +att210 att162 +att210 att42 +att210 att114 +att155 att23 +att155 att203 +att155 att107 +att155 att11 +att170 att158 +att160 att52 +att160 att124 +att23 att203 +att23 att107 +att23 att71 +att23 att11 +att162 att138 +att162 att18 +att162 att150 +att162 att90 +att162 att102 +att162 att174 +att162 att66 +att203 att107 +att203 att49 +att203 att59 +att203 att47 +att203 att191 +att203 att119 +att164 att62 +att164 att42 +att164 att128 +att164 att171 +att164 att92 +att164 att163 +att164 att158 +att164 att176 +att164 att145 +att164 att172 +att164 att58 +att164 att68 +att164 att80 +att164 att32 +att164 att98 +att164 att156 +att164 att110 +att164 att205 +att164 att21 +att164 att134 +att164 att213 +att164 att112 +att164 att38 +att164 att189 +att164 att56 +att164 att44 +att164 att152 +att164 att8 +att107 att83 +att107 att49 +att107 att59 +att107 att47 +att107 att191 +att42 att138 +att42 att54 +att42 att114 +att71 att83 +att71 att167 +att71 att35 +att71 att179 +att128 att92 +att128 att112 +att138 att18 +att138 att150 +att83 att167 +att83 att35 +att171 att87 +att171 att159 +att171 att63 +att171 att51 +att171 att39 +att171 att75 +att92 att163 +att92 att145 +att92 att56 +att163 att49 +att163 att175 +att163 att87 +att163 att79 +att163 att151 +att163 att139 +att163 att187 +att163 att127 +att163 att103 +att163 att91 +att49 att37 +att161 att173 +att161 att113 +att176 att145 +att176 att172 +att176 att68 +att176 att80 +att176 att32 +att176 att175 +att176 att98 +att176 att110 +att176 att205 +att176 att21 +att176 att134 +att176 att213 +att176 att56 +att4 att196 +att4 att88 +att4 att136 +att4 att100 +att4 att148 +att4 att208 +att172 att112 +att172 att184 +att196 att88 +att196 att136 +att196 att100 +att196 att148 +att196 att208 +att58 att142 +att58 att46 +att58 att34 +att68 att32 +att80 att38 +att32 att110 +att32 att21 +att32 att44 +att32 att200 +att175 att87 +att175 att159 +att175 att79 +att175 att187 +att175 att115 +att87 att159 +att87 att63 +att87 att51 +att87 att75 +att87 att15 +att87 att99 +att159 att75 +att159 att15 +att159 att195 +att18 att90 +att18 att102 +att18 att78 +att18 att198 +att52 att124 +att52 att64 +att98 att86 +att136 att100 +att136 att208 +att150 att90 +att150 att174 +att150 att66 +att156 att205 +att156 att96 +att156 att216 +att156 att204 +att156 att24 +att156 att84 +att156 att36 +att156 att12 +att156 att108 +att100 att148 +att63 att51 +att63 att39 +att63 att3 +att63 att183 +att63 att147 +att90 att102 +att90 att78 +att167 att35 +att167 att179 +att35 att179 +att51 att39 +att51 att3 +att51 att183 +att21 att134 +att21 att213 +att21 att38 +att21 att189 +att21 att129 +att21 att81 +att21 att153 +att21 att117 +att21 att9 +att142 att46 +att142 att130 +att142 att118 +att142 att70 +att142 att10 +att142 att202 +att142 att190 +att142 att106 +att46 att130 +att46 att118 +att46 att70 +att46 att34 +att46 att166 +att46 att82 +att134 att2 +att39 att3 +att102 att78 +att102 att174 +att102 att54 +att102 att198 +att130 att118 +att130 att10 +att130 att202 +att130 att190 +att130 att106 +att149 att125 +att96 att216 +att96 att204 +att96 att24 +att75 att15 +att75 att99 +att118 att70 +att118 att10 +att118 att202 +att78 att198 +att213 att189 +att213 att129 +att213 att69 +att213 att81 +att38 att50 +att38 att26 +att174 att54 +att174 att66 +att174 att30 +att189 att86 +att189 att129 +att189 att69 +att189 att81 +att189 att153 +att189 att117 +att189 att9 +att189 att45 +att189 att141 +att189 att105 +att70 att34 +att70 att154 +att179 att59 +att59 att47 +att59 att191 +att59 att119 +att79 att86 +att79 att151 +att79 att139 +att79 att187 +att79 att127 +att79 att103 +att79 att43 +att79 att193 +att79 att91 +att79 att19 +att124 att64 +att54 att114 +att54 att30 +att54 att6 +att191 att119 +att86 att194 +att56 att44 +att56 att152 +att56 att50 +att56 att188 +att56 att26 +att56 att200 +att56 att104 +att56 att140 +att56 att146 +att56 att194 +att56 att8 +att56 att2 +att56 att133 +att56 att1 +att151 att139 +att66 att30 +att173 att125 +att173 att113 +att173 att185 +att44 att152 +att44 att50 +att44 att188 +att44 att200 +att44 att104 +att44 att140 +att44 att194 +att44 att212 +att44 att1 +att139 att26 +att139 att99 +att139 att103 +att139 att43 +att139 att91 +att139 att31 +att139 att199 +att139 att7 +att216 att204 +att216 att24 +att216 att84 +att216 att36 +att216 att12 +att216 att180 +att216 att108 +att129 att69 +att152 att188 +att152 att140 +att69 att153 +att69 att9 +att69 att177 +att81 att45 +att81 att105 +att153 att117 +att153 att141 +att41 att53 +att204 att12 +att204 att180 +att188 att146 +att188 att212 +att13 att157 +att114 att6 +att114 att186 +att10 att190 +att64 att184 +att200 att104 +att9 att45 +att9 att146 +att9 att141 +att9 att177 +att9 att37 +att9 att133 +att9 att109 +att9 att181 +att3 att183 +att3 att147 +att3 att123 +att3 att135 +att3 att111 +att45 att105 +att45 att177 +att45 att93 +att45 att201 +att45 att165 +att45 att193 +att45 att33 +att45 att37 +att45 att133 +att45 att97 +att140 att8 +att30 att6 +att30 att186 +att183 att147 +att183 att123 +att183 att135 +att146 att2 +att202 att166 +att202 att106 +att202 att82 +att24 att84 +att24 att36 +att24 att132 +att147 att123 +att147 att135 +att147 att111 +att147 att207 +att8 att212 +att166 att82 +att166 att22 +att166 att94 +att187 att127 +att187 att115 +att127 att115 +att105 att184 +att105 att93 +att105 att201 +att106 att154 +att82 att154 +att82 att22 +att135 att111 +att135 att207 +att154 att22 +att154 att94 +att111 att207 +att99 att195 +att22 att94 +att84 att48 +att177 att93 +att177 att165 +att177 att181 +att103 att195 +att103 att97 +att103 att109 +att93 att201 +att93 att165 +att93 att193 +att93 att33 +att93 att57 +att201 att33 +att201 att57 +att43 att31 +att36 att180 +att36 att48 +att36 att72 +att36 att132 +att36 att144 +att125 att113 +att125 att185 +att125 att65 +att125 att29 +att180 att48 +att180 att72 +att180 att192 +att180 att108 +att48 att72 +att6 att186 +att113 att185 +att113 att53 +att113 att65 +att193 att97 +att91 att31 +att91 att199 +att91 att19 +att72 att132 +att72 att144 +att72 att192 +att72 att120 +att31 att199 +att31 att7 +att31 att67 +att31 att55 +att31 att1 +att132 att144 +att132 att120 +att33 att57 +att144 att192 +att144 att120 +att185 att53 +att185 att65 +att185 att29 +att199 att19 +att199 att7 +att199 att67 +att199 att55 +att199 att109 +att65 att29 +att7 att67 +att67 att55 +att109 att181 + diff --git a/sample/main.cc b/sample/main.cc index 56ee711..0e60277 100644 --- a/sample/main.cc +++ b/sample/main.cc @@ -225,7 +225,7 @@ int main(int argc, char** argv) network.fit(Xd, y, features, className); cout << "Hello, Bayesian Networks!" << endl; showNodesInfo(network, className); - showCPDS(network); + //showCPDS(network); cout << "Score: " << network.score(Xd, y) << endl; cout << "PyTorch version: " << TORCH_VERSION << endl; return 0;