poprawki
This commit is contained in:
parent
ff6de2c7e4
commit
adf186529c
@ -187,6 +187,8 @@ class main():
|
|||||||
self.path = path
|
self.path = path
|
||||||
self.best_action = 0
|
self.best_action = 0
|
||||||
|
|
||||||
|
|
||||||
|
def main(self):
|
||||||
# tworzymy zbior uczacy, w ktorym podajemy wszystkie mozliwe pola i czynnosci
|
# tworzymy zbior uczacy, w ktorym podajemy wszystkie mozliwe pola i czynnosci
|
||||||
training_data = [[0, 0, 1, 0, "Zasadzic"],
|
training_data = [[0, 0, 1, 0, "Zasadzic"],
|
||||||
[0, 1, 1, 0, "Odchwascic"],
|
[0, 1, 1, 0, "Odchwascic"],
|
||||||
@ -218,9 +220,6 @@ class main():
|
|||||||
% print_leaf(classify(translate(5), self.tree)))
|
% print_leaf(classify(translate(5), self.tree)))
|
||||||
print("Przewidziania czynnosc: %s Czynnosc: Odchwascic"
|
print("Przewidziania czynnosc: %s Czynnosc: Odchwascic"
|
||||||
% print_leaf(classify(translate(7), self.tree)))
|
% print_leaf(classify(translate(7), self.tree)))
|
||||||
|
|
||||||
|
|
||||||
def main(self):
|
|
||||||
for action in order:
|
for action in order:
|
||||||
self.traktor.set_mode(action)
|
self.traktor.set_mode(action)
|
||||||
self.search_field()
|
self.search_field()
|
||||||
|
Loading…
Reference in New Issue
Block a user