Skip to content

Instantly share code, notes, and snippets.

View douglasb78's full-sized avatar
:shipit:

Douglas Biazus douglasb78

:shipit:
  • Caxias do Sul, Brasil, RS
View GitHub Profile
@douglasb78
douglasb78 / heart.csv
Created May 22, 2025 23:00
Exploratory Data Analysis: Heart Problem Prediction
age sex cp trtbps chol fbs restecg thalachh exng oldpeak slp caa thall output
60 1 3 145 233 1 0 150 0 2.3 0 0 1 1
35 1 2 130 250 0 1 187 0 3.5 0 0 2 1
41 0 1 130 204 0 0 172 0 1.4 2 0 2 1
55 1 1 120 236 0 1 178 0 0.8 2 0 2 1
56 0 0 120 354 0 1 163 1 0.6 2 0 2 1
55 1 0 140 192 0 1 148 0 0.4 1 0 1 1
56 0 1 140 294 0 0 153 0 1.3 1 0 2 1
44 1 1 120 263 0 1 173 0 0 2 0 3 1
52 1 2 172 199 1 1 162 0 0.5 2 0 3 1
% Dataset público
% Base de Fatos
:- discontiguous actress/3.
:- discontiguous actor/3.
:- discontiguous director/2.
:- discontiguous movie/2.
movie(american_beauty, 1999).
// ler: https://ava.ucs.br/courses/44997/assignments/289234
// ver: https://www.youtube.com/watch?v=K1a2Bk8NrYQ
// copy-paste: https://www.cs.yale.edu/homes/aspnes/pinewiki/BTrees.html
// testar: https://www.cs.usfca.edu/~galles/visualization/BTree.html
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "btree_products.h"
#include "index.h"
1. qual o sistema escolhido:
Neo4j
de qual (ou quais) categoria(s)?
Grafos.
em qual linguagem foi implementado?
Construído em Java.
principais características
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct node_frequencia {
char caractere;
int frequencia;
struct node_frequencia *next;
} NodeFrequencia;
https://iask.ai/?mode=question&options[detail_level]=detailed&q=
#include <stdio.h>
#include <stdlib.h> // malloc()
#include <string.h> // memset() memcpy()
#include <conio.h> // getch()
#include <locale.h> // acentuação
#define pause() getch()
typedef struct funcionario {
int matricula;
char nome[128];
@douglasb78
douglasb78 / bstree_movie.c
Created September 13, 2024 22:49
Implementação da pesquisa binária em arquivo (TDE - exercício avaliativo) -- Faça a implementação de pesquisa binária em arquivos para comparar com a pesquisa binária em memória -- arqmovies
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <string.h>
#include "bstree_movie.h"
#define ESQUERDA 0
#define DIREITA 1
NodeMovie* criarNode(int movieid, char title[], int year, char url[], int directorid){
NodeMovie *nodeAux = (NodeMovie*)malloc(sizeof(NodeMovie));
@douglasb78
douglasb78 / main.c
Last active September 12, 2024 23:11
Implementação da pesquisa binária em arquivo (TDE - exercício avaliativo)
#include <stdio.h>
#include <stdlib.h> // malloc()
#include <string.h> // strcat()
#include <ctype.h> // isdigit()
#include <conio.h> // getch()
#include <locale.h> // acentuação
#include "bstree_movie.h"
#define pause() getch()
/*
/*
Não consegui fazer, estudar em casa, ver vídeos.
*/
#include <stdio.h>
#include <stdlib.h>
#include <locale.h> // acentuação