Nathan-Nesbitt / Minecraft_AI

An in game AI implementation for Minecraft Education
MIT License
4 stars 2 forks source link

Implement Predict Mine Lesson Code #17

Closed kzlecha closed 3 years ago

kzlecha commented 3 years ago

Lesson: Predict Where to Mine for a Specific Material

General Flow:

lesson = PredictMineLesson()
lesson.pick_model(model_name)
self.process_data()
self.train_model()
response = self.game_response(loc_current,  self.predict())

Response Format:

        response = {
            "prediction": {
                "X": 10,
                "Y": 10,
                "Z": 10
            },
            "error": 10,
            "bot-action": "Say"
        }