Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

base_trainer.py 267 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  1. import numpy as np
  2. import pandas as pd
  3. from abc import ABCMeta, abstractmethod
  4. class BaseTrainer:
  5. """
  6. Base class for all trainers
  7. """
  8. def __init__(self):
  9. pass
  10. @abstractmethod
  11. def fit(self):
  12. raise NotImplementedError
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...