Browse Source

Remove

pull/3/head
troyyyyy 3 years ago
parent
commit
b49fb76f0e
2 changed files with 2 additions and 5 deletions
  1. +1
    -4
      abl/abducer/abducer_base.py
  2. +1
    -1
      abl/abducer/kb.py

+ 1
- 4
abl/abducer/abducer_base.py View File

@@ -10,13 +10,10 @@
#
# ================================================================#

import sys
sys.path.append('/home/huwc/ABL-Package/abl/')

import abc
import numpy as np
from zoopt import Dimension, Objective, Parameter, Opt
from utils.utils import confidence_dist, flatten, reform_idx, hamming_dist
from ..utils.utils import confidence_dist, flatten, reform_idx, hamming_dist

class AbducerBase(abc.ABC):
def __init__(self, kb, dist_func='hamming', zoopt=False):


+ 1
- 1
abl/abducer/kb.py View File

@@ -17,7 +17,7 @@ import numpy as np

from collections import defaultdict
from itertools import product, combinations
from utils.utils import flatten, reform_idx, hamming_dist, check_equal, to_hashable, hashable_to_list
from ..utils.utils import flatten, reform_idx, hamming_dist, check_equal, to_hashable, hashable_to_list

from multiprocessing import Pool



Loading…
Cancel
Save