This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ComplexTable(Table): | |
DTYPE = np.complex64 | |
@classmethod | |
def from_table(cls, domain, source, row_indices=...): | |
""" | |
Create a new table from selected columns and/or rows of an existing | |
one. The columns are chosen using a domain. The domain may also include | |
variables that do not appear in the source table; they are computed | |
from source variables if possible. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import Orange | |
from Orange.preprocess.preprocess import Preprocess | |
### Functions ### | |
def _split_by_value(data, avar): | |
# from owcurves.CurvePlot._split_by_color_value() | |
rd = {} | |
if isinstance(avar, str): |