opfython
latest

Package Reference

  • opfython.core
    • Heap
      • Heap.__init__()
      • Heap.color()
      • Heap.cost()
      • Heap.dad()
      • Heap.go_down()
      • Heap.go_up()
      • Heap.insert()
      • Heap.is_empty()
      • Heap.is_full()
      • Heap.last()
      • Heap.left_son()
      • Heap.p()
      • Heap.policy()
      • Heap.pos()
      • Heap.remove()
      • Heap.right_son()
      • Heap.size()
      • Heap.update()
    • Node
      • Node.__init__()
      • Node.adjacency()
      • Node.cluster_label()
      • Node.cost()
      • Node.density()
      • Node.features()
      • Node.idx()
      • Node.label()
      • Node.n_plateaus()
      • Node.pred()
      • Node.predicted_label()
      • Node.radius()
      • Node.relevant()
      • Node.root()
      • Node.status()
    • OPF
      • OPF.__init__()
      • OPF._read_distances()
      • OPF.distance()
      • OPF.distance_fn()
      • OPF.fit()
      • OPF.load()
      • OPF.pre_computed_distance()
      • OPF.pre_distances()
      • OPF.predict()
      • OPF.save()
      • OPF.subgraph()
    • Subgraph
      • Subgraph.__init__()
      • Subgraph._build()
      • Subgraph._load()
      • Subgraph.destroy_arcs()
      • Subgraph.idx_nodes()
      • Subgraph.mark_nodes()
      • Subgraph.n_features()
      • Subgraph.n_nodes()
      • Subgraph.nodes()
      • Subgraph.reset()
      • Subgraph.trained()
    • Heap
      • __init__
      • color
      • cost
      • dad
      • go_down
      • go_up
      • insert
      • is_empty
      • is_full
      • last
      • left_son
      • p
      • policy
      • pos
      • remove
      • right_son
      • size
      • update
    • Node
      • __init__
      • adjacency
      • cluster_label
      • cost
      • density
      • features
      • idx
      • label
      • n_plateaus
      • pred
      • predicted_label
      • radius
      • relevant
      • root
      • status
    • OPF
      • __init__
      • _read_distances
      • distance
      • distance_fn
      • fit
      • load
      • pre_computed_distance
      • pre_distances
      • predict
      • save
      • subgraph
    • Subgraph
      • __init__
      • _build
      • _load
      • destroy_arcs
      • idx_nodes
      • mark_nodes
      • n_features
      • n_nodes
      • nodes
      • reset
      • trained
  • opfython.math
    • opfython.math.distance
      • DISTANCES
      • additive_symmetric_distance()
      • average_euclidean_distance()
      • bhattacharyya_distance()
      • bray_curtis_distance()
      • canberra_distance()
      • chebyshev_distance()
      • chi_squared_distance()
      • chord_distance()
      • clark_distance()
      • cosine_distance()
      • dice_distance()
      • divergence_distance()
      • euclidean_distance()
      • gaussian_distance()
      • gower_distance()
      • hamming_distance()
      • hassanat_distance()
      • hellinger_distance()
      • jaccard_distance()
      • jeffreys_distance()
      • jensen_distance()
      • jensen_shannon_distance()
      • k_divergence_distance()
      • kulczynski_distance()
      • kullback_leibler_distance()
      • log_euclidean_distance()
      • log_squared_euclidean_distance()
      • lorentzian_distance()
      • manhattan_distance()
      • matusita_distance()
      • max_symmetric_distance()
      • mean_censored_euclidean_distance()
      • min_symmetric_distance()
      • neyman_distance()
      • non_intersection_distance()
      • pearson_distance()
      • sangvi_distance()
      • soergel_distance()
      • squared_chord_distance()
      • squared_distance()
      • squared_euclidean_distance()
      • statistic_distance()
      • topsoe_distance()
      • vicis_symmetric1_distance()
      • vicis_symmetric2_distance()
      • vicis_symmetric3_distance()
      • vicis_wave_hedges_distance()
      • DISTANCES
      • additive_symmetric_distance
      • average_euclidean_distance
      • bhattacharyya_distance
      • bray_curtis_distance
      • canberra_distance
      • chebyshev_distance
      • chi_squared_distance
      • chord_distance
      • clark_distance
      • cosine_distance
      • dice_distance
      • divergence_distance
      • euclidean_distance
      • gaussian_distance
      • gower_distance
      • hamming_distance
      • hassanat_distance
      • hellinger_distance
      • jaccard_distance
      • jeffreys_distance
      • jensen_distance
      • jensen_shannon_distance
      • k_divergence_distance
      • kulczynski_distance
      • kullback_leibler_distance
      • log_euclidean_distance
      • log_squared_euclidean_distance
      • lorentzian_distance
      • manhattan_distance
      • matusita_distance
      • max_symmetric_distance
      • mean_censored_euclidean_distance
      • min_symmetric_distance
      • neyman_distance
      • non_intersection_distance
      • pearson_distance
      • sangvi_distance
      • soergel_distance
      • squared_chord_distance
      • squared_distance
      • squared_euclidean_distance
      • statistic_distance
      • topsoe_distance
      • vicis_symmetric1_distance
      • vicis_symmetric2_distance
      • vicis_symmetric3_distance
      • vicis_wave_hedges_distance
    • opfython.math.general
      • confusion_matrix()
      • logger
      • normalize()
      • opf_accuracy()
      • opf_accuracy_per_label()
      • pre_compute_distance()
      • purity()
      • confusion_matrix
      • logger
      • normalize
      • opf_accuracy
      • opf_accuracy_per_label
      • pre_compute_distance
      • purity
    • opfython.math.random
      • generate_gaussian_random_number()
      • generate_uniform_random_number()
      • generate_gaussian_random_number
      • generate_uniform_random_number
  • opfython.models
    • KNNSupervisedOPF
      • KNNSupervisedOPF.__init__()
      • KNNSupervisedOPF._clustering()
      • KNNSupervisedOPF._learn()
      • KNNSupervisedOPF.fit()
      • KNNSupervisedOPF.max_k()
      • KNNSupervisedOPF.predict()
    • SupervisedOPF
      • SupervisedOPF.__init__()
      • SupervisedOPF._find_prototypes()
      • SupervisedOPF.fit()
      • SupervisedOPF.learn()
      • SupervisedOPF.predict()
      • SupervisedOPF.prune()
    • UnsupervisedOPF
      • UnsupervisedOPF.__init__()
      • UnsupervisedOPF._best_minimum_cut()
      • UnsupervisedOPF._clustering()
      • UnsupervisedOPF._normalized_cut()
      • UnsupervisedOPF.fit()
      • UnsupervisedOPF.max_k()
      • UnsupervisedOPF.min_k()
      • UnsupervisedOPF.predict()
      • UnsupervisedOPF.propagate_labels()
    • KNNSupervisedOPF
      • __init__
      • _clustering
      • _learn
      • fit
      • max_k
      • predict
    • SupervisedOPF
      • __init__
      • _find_prototypes
      • fit
      • learn
      • predict
      • prune
    • UnsupervisedOPF
      • __init__
      • _best_minimum_cut
      • _clustering
      • _normalized_cut
      • fit
      • max_k
      • min_k
      • predict
      • propagate_labels
  • opfython.stream
    • opfython.stream.loader
      • load_csv()
      • load_json()
      • load_txt()
      • logger
      • load_csv
      • load_json
      • load_txt
      • logger
    • opfython.stream.parser
      • logger
      • parse_loader()
      • logger
      • parse_loader
    • opfython.stream.splitter
      • logger
      • merge()
      • split()
      • split_with_index()
      • logger
      • merge
      • split
      • split_with_index
  • opfython.subgraphs
    • KNNSubgraph
      • KNNSubgraph.__init__()
      • KNNSubgraph.best_k()
      • KNNSubgraph.calculate_pdf()
      • KNNSubgraph.constant()
      • KNNSubgraph.create_arcs()
      • KNNSubgraph.density()
      • KNNSubgraph.eliminate_maxima_height()
      • KNNSubgraph.max_density()
      • KNNSubgraph.min_density()
      • KNNSubgraph.n_clusters()
    • KNNSubgraph
      • __init__
      • best_k
      • calculate_pdf
      • constant
      • create_arcs
      • density
      • eliminate_maxima_height
      • max_density
      • min_density
      • n_clusters
  • opfython.utils
    • opfython.utils.constants
      • BLACK
      • EPSILON
      • FLOAT_MAX
      • GRAY
      • IRRELEVANT
      • MAX_ARC_WEIGHT
      • MAX_DENSITY
      • NIL
      • PROTOTYPE
      • RELEVANT
      • STANDARD
      • WHITE
      • BLACK
      • EPSILON
      • FLOAT_MAX
      • GRAY
      • IRRELEVANT
      • MAX_ARC_WEIGHT
      • MAX_DENSITY
      • NIL
      • PROTOTYPE
      • RELEVANT
      • STANDARD
      • WHITE
    • opfython.utils.converter
      • logger
      • opf2csv()
      • opf2json()
      • opf2txt()
      • logger
      • opf2csv
      • opf2json
      • opf2txt
    • opfython.utils.decorators
    • opfython.utils.exception
      • ArgumentError
        • ArgumentError.__init__()
      • BuildError
        • BuildError.__init__()
      • Error
        • Error.__init__()
      • SizeError
        • SizeError.__init__()
      • TypeError
        • TypeError.__init__()
      • ValueError
        • ValueError.__init__()
      • logger
      • ArgumentError
        • __init__
      • BuildError
        • __init__
      • Error
        • __init__
      • SizeError
        • __init__
      • TypeError
        • __init__
      • ValueError
        • __init__
      • logger
    • opfython.utils.logging
      • FORMATTER
      • LOG_FILE
      • get_console_handler()
      • get_logger()
      • get_timed_file_handler()
      • FORMATTER
      • LOG_FILE
      • get_console_handler
      • get_logger
      • get_timed_file_handler
opfython
  • Docs »
  • Search
  • Edit on GitHub


© Copyright 2020, Gustavo de Rosa Revision 038fe04f.

Built with Sphinx using a theme provided by Read the Docs.