Update samples and Readme

This commit is contained in:
2023-04-12 17:40:25 +02:00
parent fa8c4a221d
commit 25d341aee5
5 changed files with 16 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.20)
project(main)
project(sample)
set(CMAKE_CXX_STANDARD 11)

View File

@@ -44,10 +44,10 @@ test = FImdlp(
now = time.time()
test.fit(X, y)
fit_time = time.time()
print("Fitting: ", fit_time - now)
print(f"Fitting ....: {fit_time - now:7.5f} seconds")
now = time.time()
Xt = test.transform(X)
print("Transforming: ", time.time() - now)
print(f"Transforming: {time.time() - now:7.5f} seconds")
print(test.get_cut_points())
clf = RandomForestClassifier(random_state=0)
print(